diff options
Diffstat (limited to 'doc/build-packages/rpms/README')
-rw-r--r-- | doc/build-packages/rpms/README | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/build-packages/rpms/README b/doc/build-packages/rpms/README new file mode 100644 index 0000000..e8c6c5d --- /dev/null +++ b/doc/build-packages/rpms/README @@ -0,0 +1,26 @@ + +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. |