summaryrefslogtreecommitdiff
path: root/doc/build-packages/rpms/README
blob: 0ed174bce6e5202f97e7be0d212d161aab8b462b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
To build RPM packages we have to copy source package downloaded
from https://ftp.radix.pro/pub/cgit-ui directory to /usr/src/packages/SOURSES/
directory. And also copy the cgit-ui.spec file into /usr/src/packages/SPECS/
directory. Then edit the package version in the cgit-ui.spec file according
to source package version.

Dependencies: file-devel, pcre2-devel, libgit2-devel, md4c-devel, md4c-html-devel.

RPMs can be built by following command:

 $ rpmbuild --define "_topdir /usr/src/packages" -ba /usr/src/packages/SPECS/cgit-ui.spec

Resulting RPMs will be saved in /usr/src/packages/SRPMS/ and
/usr/src/packages/RPMS/`uname -m`/ directories.

After install you have to configure uWsgi and Nginx servers (see: README.md).