To build RPM packages we have to copy source package downloaded
from https://ftp.radix.pro/pub/cscm directory to /usr/src/packages/SOURSES/
directory. And also copy the cscm.spec file into /usr/src/packages/SPECS/
directory. Then edit the package version in the cscm.spec file according
to source package version.
Dependencies: pcre2-devel.
RPMs can be built by following command:
$ rpmbuild --define "_topdir /usr/src/packages" -ba /usr/src/packages/SPECS/cscm.spec
Resulting RPMs will be saved in /usr/src/packages/SRPMS/ and
/usr/src/packages/RPMS/`uname -m`/ directories.
After install binary RPM we have to create /etc/csvn-ui.rc [or|and] /etc/cgit-ui.rc
configuration files and then enable and run csvnd.service [or|and] cgitd.service:
$ systemctl enable csvnd.service
$ systemctl start csvnd.service
$ systemctl enable cgitd.service
$ systemctl start cgitd.service
Then we can to enable csvn-ui [or|and] cgit-ui web-servers.