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