cGit-UI for Git Repositories

cGit-UI – is a web interface for Git Repositories. cGit CGI script is writen in C and therefore it's fast enough

12 Commits   0 Branches   1 Tag
Index: README
===================================================================
--- README	(nonexistent)
+++ README	(revision 5)
@@ -0,0 +1,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).
Index: cgit-ui.spec
===================================================================
--- cgit-ui.spec	(nonexistent)
+++ cgit-ui.spec	(revision 5)
@@ -0,0 +1,42 @@
+
+Name:       cgit-ui
+Version:    0.1.7
+Release:    2
+Summary:    cGit-ui a web interface for Git repositories
+License:    RADIX-1.0
+Group:      System/base
+Source:     https://ftp.radix.pro/pub/cgit-ui/cgit-ui-0.1.7.tar.xz
+Url:        https://csvn.radix/pro/cgit-ui/
+
+
+%define _sysconfdir /etc
+%define _scriptdir  /srv/www/htdocs/cgit
+
+
+%description
+cGit-ui CGI Script - is a web interface for Git Repositories
+
+%prep
+%setup -q
+
+%build
+./configure \
+  --prefix=/usr \
+  --sysconfdir=%{_sysconfdir} \
+  --with-scriptdir=%{_scriptdir}
+
+%install
+make install DESTDIR=%{buildroot}
+
+%clean
+%{?buildroot:%__rm -rf "%{buildroot}"}
+
+%files
+%defattr(-,root,root)
+%{_datadir}/*
+%doc LICENSE README README.md doc/
+%attr(755,root,root) %{_scriptdir}/cgit-ui.cgi
+%attr(644,root,root) %{_scriptdir}/favicon.ico
+%attr(644,root,root) %{_scriptdir}/robots.txt
+%{_scriptdir}/.cgit/
+
Index: .
===================================================================
--- .	(nonexistent)
+++ .	(revision 5)

Property changes on: .
___________________________________________________________________
Added: svn:ignore
## -0,0 +1,36 ##
+
+autom4te.cache/
+
+Makefile
+Makefile.in
+config.h
+config.h.in
+config.log
+config.status
+compile
+config.guess
+config.sub
+configure
+install-sh
+missing
+stamp-h1
+aclocal.m4
+depcomp
+
+cgitcgi/.deps/
+cgitcgi/Makefile
+cgitcgi/Makefile.in
+
+po/Makefile
+po/Makefile.in
+po/POTFILES
+po/remove-potcdate.sed
+po/stamp-po
+po/*.gmo
+po/*~
+
+m4/intlmacosx.m4
+m4/pkg.m4
+m4/*~
+
+*~