diff options
| author | kx <kx@radix.pro> | 2023-03-24 02:53:04 +0300 |
|---|---|---|
| committer | kx <kx@radix.pro> | 2023-03-24 02:53:04 +0300 |
| commit | 12c7b1c5658602269da2f5b75835ec0f5fab8890 (patch) | |
| tree | 93f6f6b85830af69743d5ebda902d4305bf23f4f /doc/build-packages/rpms/README | |
| parent | 4e72ffe940d9aff7c019d37a6459e765902c1fae (diff) | |
| download | cscm-trunk.tar.xz | |
Version 0.1.4HEADcscm-0.1.4trunk
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. |
