/rocketgit.spec.in (63a258903bb7d99d7dc712d5fe9940985ce1f657) (1555 bytes) (mode 100644) (type blob)
Summary: Light and fast Git hosting solution
Name: @PRJ@
Version: @VER@
Release: @REV@
License: GPLv3
Group: Development/Tools
Source: http://kernel.embedromix.ro/us/rocketgit/%{name}-%{version}.tar.gz
URL: http://kernel.embedromix.ro/us/
BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot
BuildArch: noarch
Requires: httpd, php-process, php-cli, php-pgsql, xinetd, shadow-utils
%description
Light and fast Git hosting solution, similar with Gitorious/GitHub/etc.
%pre
getent group rocketgit || groupadd -r rocketgit
getent passwd rocketgit || useradd -r -g rocketgit -s /sbin/nologin -m -d /home/rocketgit -c "RocketGit user" rocketgit
%post
if [ $1 -ne 0 ]; then
/sbin/service xinetd reload &>/dev/null || :
fi
%postun
if [ $1 = 0 ]; then
userdel rocketgit
fi
%prep
%setup -q
%build
%configure
make
%install
rm -rf ${RPM_BUILD_ROOT}
mkdir -p ${RPM_BUILD_ROOT}
make install DESTDIR=${RPM_BUILD_ROOT}
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%attr (-,root,root)
@USR_SHARE@/@PRJ@
%doc README LICENSE Changelog TODO
%dir /etc/@PRJ@
%config(noreplace) /etc/@PRJ@/config.php
/etc/@PRJ@/config.php.sample
%config /etc/cron.d/rocketgit
%config(noreplace) /etc/xinetd.d/rocketgit
%config(noreplace) /etc/httpd/conf.d/rocketgit.conf
%attr(0700,rocketgit,rocketgit) %dir /var/run/@PRJ@
%attr(0700,rocketgit,rocketgit) %dir /var/log/@PRJ@
%attr(0700,apache,apache) %dir /var/log/@PRJ@-web
%config(noreplace) /etc/logrotate.d/rocketgit
%changelog
* Mon Jun 27 2011 Catalin(ux) M. BOIE <catab at embedromix dot ro> 0.2
Another round of bulk changes.
Mode |
Type |
Size |
Ref |
File |
100644 |
blob |
26 |
85c946cb687f42a070d70d4c9ce8b528b1cc1559 |
.exclude |
100644 |
blob |
80 |
003be7923a1a0ae2ee2c52f4604bab34b9a0850e |
.gitignore |
100644 |
blob |
35147 |
94a9ed024d3859793618152ea559a168bbcbb5e2 |
LICENSE |
100644 |
blob |
1032 |
19dfd01ad809b7b3503ab01e94be992b1caedb02 |
Makefile.in |
100644 |
blob |
587 |
897b3b73fe51b68d3c1875e320c08a0c7a4182f7 |
README |
100644 |
blob |
5201 |
a330e13b5a64a14cae92ab4c8792cfa0ca69ea93 |
TODO |
040000 |
tree |
- |
cfa2b7e06a046ca2bca1c87355624ceac6983c7e |
admin |
040000 |
tree |
- |
76a16691bc48bbe42bdc63a6d1244d2d49e4da2d |
artwork |
100755 |
blob |
23 |
d33bb6c4ecdce1390ce1db3c79ea3b93e22ea755 |
configure |
100755 |
blob |
13161 |
a15834ca1e2ca1f83b8859d5dc449458dc45ba95 |
duilder |
100644 |
blob |
267 |
76d9310335ba0556f1400291efcf580c2c9a172d |
duilder.conf |
040000 |
tree |
- |
384e92d483baca0622090ce2d0b23119b8c44ea3 |
hooks |
040000 |
tree |
- |
c41348efb6e481b4eb4c817fa9f120995a067ddd |
inc |
100644 |
blob |
1555 |
63a258903bb7d99d7dc712d5fe9940985ce1f657 |
rocketgit.spec.in |
040000 |
tree |
- |
0186f0d854d83628bb7305cb4277f4c9498d9e61 |
root |
040000 |
tree |
- |
2424f96a87d4116fd2eb3036973235723493d6a9 |
samples |
040000 |
tree |
- |
377ae9066d04e1559d691191fbb3a2ccc2928ad6 |
scripts |
040000 |
tree |
- |
87aa5a60d922928430bc530e88205fc3ba348ac1 |
tests |
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"
Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/catalinux/rocketgit
Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/catalinux/rocketgit
Clone this repository using git:
git clone git://git.rocketgit.com/user/catalinux/rocketgit
You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a
merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main