Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:j_ohny_b:pm
gitolite
gitolite.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gitolite.spec of Package gitolite
# # spec file for package gitolite (Version 1.5.9) # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: gitolite Summary: Highly flexible server for git directory version tracker Version: 1.5.9 Release: 1 License: GPL v2 Group: Development/Libraries/Perl URL: http://github.com/sitaramc/gitolite Source: %{name}-%{version}.tar.bz2 Source10: %{name}.permissions Patch0: %{name}-1.5.9-rpm-system.patch Patch1: %{name}-1.5.9-gitweb.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: git Requires: git >= 1.6.2 Requires: perl Conflicts: gitosis %description Gitolite is an access control layer on top of git, which allows access control down to the branch level, including specifying who can and cannot rewind a given branch. %prep %setup -q %__cp -a %{S:10} . %patch0 -p1 %patch1 -p1 %build %install # Directory structure %__install -m 0755 -d %{buildroot}%{_bindir} %__install -m 0755 -d %{buildroot}%{perl_vendorlib} %__install -m 0755 -d %{buildroot}%{_datadir}/%{name} %__install -m 0750 -d %{buildroot}/srv/git/projects #__install -m 0644 -D %{S:10} %{buildroot}%{_sysconfdir}/permissions.d/%{name} %__install -m 0755 src/gl-auth-command %{buildroot}%{_bindir} %__install -m 0755 src/gl-compile-conf %{buildroot}%{_bindir} %__install -m 0755 src/gl-conf-convert %{buildroot}%{_bindir} %__install -m 0755 src/gl-dont-panic %{buildroot}%{_bindir} %__install -m 0755 src/gl-install %{buildroot}%{_bindir} %__install -m 0755 src/gl-mirror-shell %{buildroot}%{_bindir} %__install -m 0755 src/gl-mirror-sync %{buildroot}%{_bindir} %__install -m 0755 src/gl-setup %{buildroot}%{_bindir} %__install -m 0755 src/gl-setup-authkeys %{buildroot}%{_bindir} %__install -m 0755 src/gl-system-install %{buildroot}%{_bindir} %__install -m 0755 src/gl-time %{buildroot}%{_bindir} %__install -m 0755 src/gl-tool %{buildroot}%{_bindir} %__install -m 0755 src/sshkeys-lint %{buildroot}%{_bindir} %__install -m 0644 src/*.pm %{buildroot}%{perl_vendorlib} %__cp -a conf hooks %{buildroot}%{_datadir}/%{name} %pre # Create user and group on the system if necessary # default group: git [ ! $(/usr/bin/getent group git >/dev/null) ] && { /usr/sbin/groupadd -r git 2> /dev/null || : } # default user: git [ ! $(/usr/bin/getent passwd git >/dev/null 2>&1) ] && { /usr/sbin/useradd -c "git version ctrl" -d /srv/git -G git -g git \ -r -s /bin/bash git 2> /dev/null || : } # if apache user is not in git group, add it [ ! $(/usr/bin/id -Gn wwwrun 2>/dev/null | grep -q git >/dev/null 2>&1) ] && { /usr/sbin/groupmod -A wwwrun git 2>/dev/null || : } %post #{run_permissions} %clean %__rm -rf %{buildroot} %files %defattr(-,root,root) %doc %{name}.permissions #config %{_sysconfdir}/permissions.d/%{name} %{_bindir}/gl-* %{_bindir}/sshkeys-lint %{perl_vendorlib}/*.pm %{_datadir}/%{name} %attr(0750,git,git) /srv/git %attr(0750,git,git) /srv/git/projects %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor