/rocketgit.spec.in (bbef3a7a0b69e08d68de117bb2fa4efc5ce67b2c) (1794 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, php-cli, php-pgsql, php-gd, xinetd
Requires: shadow-utils, git, postgresql-server, policycoreutils-python
%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 /bin/bash -m -d /home/rocketgit -c "RocketGit user" rocketgit
semanage fcontext -a -t httpd_log_t "/var/log/rocketgit-web(/.*)?" || :
%post
if [ $1 -ne 0 ]; then
/sbin/service xinetd reload &>/dev/null || :
/sbin/service httpd reload &>/dev/null || :
fi
%postun
if [ $1 = 0 ]; then
userdel rocketgit
semanage fcontext -d "/var/log/rocketgit-web(/.*)?" || :
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(noreplace) /etc/cron.d/rocketgit
%config(noreplace) /etc/xinetd.d/rocketgit
%config(noreplace) /etc/httpd/conf.d/rocketgit.conf
%attr(0700,rocketgit,rocketgit) %dir /var/log/@PRJ@
%attr(0700,apache,apache) %dir /var/log/@PRJ@-web
%attr(0700,rocketgit,rocketgit) %dir /var/lib/@PRJ@
%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 |
87 |
bf1d9081b000eeaff7698f3e4dfae542742e473f |
.gitignore |
100644 |
blob |
304 |
4216a64f5bf4a2856bc6667ea2e6aca12b825db2 |
Compare.txt |
100644 |
blob |
35147 |
94a9ed024d3859793618152ea559a168bbcbb5e2 |
LICENSE |
100644 |
blob |
1155 |
5e9380eddd60d38d5ee2d742f11bd749a2a7f2ac |
Makefile.in |
100644 |
blob |
2518 |
90bf862a3962003c2d4d05caa5cfc1f2bcecec29 |
README |
100644 |
blob |
17003 |
fad2d2b8df213e788bcc3376f4ec30f23aaca086 |
TODO |
040000 |
tree |
- |
97daf90417adf4d98990addd16a7978df81bf55c |
admin |
040000 |
tree |
- |
76a16691bc48bbe42bdc63a6d1244d2d49e4da2d |
artwork |
100755 |
blob |
23 |
d33bb6c4ecdce1390ce1db3c79ea3b93e22ea755 |
configure |
100755 |
blob |
13311 |
a6e2825b35f915e6d64c2a981fa3b6266b2bf587 |
duilder |
100644 |
blob |
268 |
3923b9deec801f5f28dc99655e9589aec171c24d |
duilder.conf |
040000 |
tree |
- |
d1e80bad71972acd1666233aa3e0be76ddb011d2 |
hooks |
040000 |
tree |
- |
63d55be67340abaeb02f4152f09d033f0822b1cf |
inc |
100644 |
blob |
1794 |
bbef3a7a0b69e08d68de117bb2fa4efc5ce67b2c |
rocketgit.spec.in |
040000 |
tree |
- |
aeae22f70987c3043625b5c74cdcf2912fbb526f |
root |
040000 |
tree |
- |
43d8069e33772fe373d0c1a8464850bd4af0b138 |
samples |
040000 |
tree |
- |
34871de41f2719bbe0e3ad1f0ec18ab1e17443fa |
scripts |
040000 |
tree |
- |
7fa6bf7b15d68896dc31ab8dd254c6ad198f246c |
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