2007-01-16 00:14:16 +01:00
|
|
|
#
|
2011-02-25 09:47:03 +01:00
|
|
|
# spec file for package git
|
2007-01-16 00:14:16 +01:00
|
|
|
#
|
2013-01-03 13:45:10 +01:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-16 00:14:16 +01:00
|
|
|
#
|
2008-08-07 01:18:59 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-16 00:14:16 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
2012-05-08 06:45:18 +02:00
|
|
|
|
2010-03-19 09:38:33 +01:00
|
|
|
%define gitexecdir %_libexecdir/git
|
2011-06-30 10:43:40 +02:00
|
|
|
%define _fwdefdir /etc/sysconfig/SuSEfirewall2.d/services
|
2008-03-19 01:51:13 +01:00
|
|
|
|
2007-01-16 00:14:16 +01:00
|
|
|
Name: git
|
2013-04-08 14:37:38 +02:00
|
|
|
Version: 1.8.2.1
|
2012-01-17 11:32:52 +01:00
|
|
|
Release: 0
|
2007-07-06 15:30:41 +02:00
|
|
|
Summary: Fast, scalable, distributed revision control system
|
2011-10-18 14:03:57 +02:00
|
|
|
License: GPL-2.0
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2009-03-05 16:44:01 +01:00
|
|
|
Url: http://git-scm.com
|
2013-04-05 13:22:52 +02:00
|
|
|
|
2011-12-21 10:00:12 +01:00
|
|
|
Source0: http://git-core.googlecode.com/files/%name-%{version}.tar.gz
|
2008-05-21 23:45:42 +02:00
|
|
|
Source1: apache2-gitweb.conf
|
2008-06-23 21:54:16 +02:00
|
|
|
Source2: sysconfig.git-daemon
|
|
|
|
Source3: git-daemon.init
|
2008-08-07 01:18:59 +02:00
|
|
|
Source4: git.xinetd
|
2009-01-08 18:10:09 +01:00
|
|
|
Source5: usr.share.git-web.gitweb.cgi
|
2011-06-30 10:43:40 +02:00
|
|
|
Source6: susefirewall-git-daemon
|
2010-06-02 02:01:27 +02:00
|
|
|
Patch2: git-python-install-fix.diff
|
|
|
|
Patch3: completion-wordbreaks.diff
|
2011-06-21 09:27:47 +02:00
|
|
|
# CVE-2011-2186, bnc#698456
|
|
|
|
Patch4: git-prevent_xss-default.diff
|
2012-09-14 12:23:06 +02:00
|
|
|
# fix broken bash copmletion with colored egrep (bnc#779536)
|
|
|
|
Patch5: git-bash-completion-egrep-color-fix.diff
|
2007-01-16 00:14:16 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2013-04-05 13:22:52 +02:00
|
|
|
BuildRequires: asciidoc
|
|
|
|
BuildRequires: curl
|
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: libcurl-devel
|
|
|
|
BuildRequires: libexpat-devel
|
|
|
|
BuildRequires: libopenssl-devel
|
|
|
|
BuildRequires: pcre-devel
|
|
|
|
BuildRequires: perl-Error
|
|
|
|
BuildRequires: python
|
|
|
|
BuildRequires: sgml-skel
|
|
|
|
BuildRequires: xmlto
|
2008-09-26 16:51:20 +02:00
|
|
|
Requires: git-core = %{version}
|
2009-10-03 03:33:25 +02:00
|
|
|
Recommends: git-svn git-cvs git-email gitk git-gui git-web
|
2008-09-26 16:51:20 +02:00
|
|
|
Suggests: git-daemon
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description
|
2007-07-06 15:30:41 +02:00
|
|
|
Git is a fast, scalable, distributed revision control system with an
|
|
|
|
unusually rich command set that provides both high-level operations and
|
|
|
|
full access to internals.
|
2007-01-16 00:14:16 +01:00
|
|
|
|
2007-07-06 15:30:41 +02:00
|
|
|
This package itself only provides the README of git but with the
|
|
|
|
packages it requires, it brings you a complete Git environment
|
|
|
|
including GTK and email interfaces and tools for importing source code
|
|
|
|
repositories from other revision control systems such as subversion,
|
|
|
|
CVS, and GNU arch.
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%package core
|
2007-07-06 15:30:41 +02:00
|
|
|
Summary: Core git tools
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: less
|
|
|
|
Requires: openssh
|
|
|
|
Requires: perl-Error
|
2010-04-16 00:19:02 +02:00
|
|
|
Requires: perl-base = %{perl_version}
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: rsync
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description core
|
2007-07-06 15:30:41 +02:00
|
|
|
Git is a fast, scalable, distributed revision control system with an
|
|
|
|
unusually rich command set that provides both high-level operations and
|
|
|
|
full access to internals.
|
|
|
|
|
|
|
|
These are the core tools with minimal dependencies.
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%package svn
|
2007-07-06 15:30:41 +02:00
|
|
|
Summary: Git tools for importing Subversion repositories
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: git-core = %{version}
|
|
|
|
Requires: subversion
|
2007-05-18 02:07:32 +02:00
|
|
|
Requires: subversion-perl
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description svn
|
|
|
|
Tools for importing Subversion repositories to the Git version control
|
|
|
|
system.
|
|
|
|
|
|
|
|
%package cvs
|
2007-07-06 15:30:41 +02:00
|
|
|
Summary: Git tools for importing CVS repositories
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: cvs
|
|
|
|
Requires: cvsps
|
|
|
|
Requires: git-core = %{version}
|
|
|
|
Requires: perl-DBD-SQLite
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description cvs
|
|
|
|
Tools for importing CVS repositories to the Git version control system.
|
|
|
|
|
|
|
|
%package arch
|
2009-09-02 18:48:38 +02:00
|
|
|
Summary: Git tools for importing Arch repositories
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2009-10-03 03:33:25 +02:00
|
|
|
Requires: git-core = %{version}
|
|
|
|
# Requires: tla
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description arch
|
|
|
|
Tools for importing GNU Arch repositories to the GIT version control
|
|
|
|
system.
|
|
|
|
|
|
|
|
%package email
|
2007-07-06 15:30:41 +02:00
|
|
|
Summary: Git tools for sending email
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2007-11-28 23:07:45 +01:00
|
|
|
Requires: git-core = %{version}
|
2010-06-02 02:01:27 +02:00
|
|
|
# For sending mails over secure SMTP:
|
|
|
|
Recommends: perl-Net-SMTP-SSL, perl-Authen-SASL
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description email
|
|
|
|
Email interface for the GIT version control system.
|
|
|
|
|
2008-06-23 21:54:16 +02:00
|
|
|
%package daemon
|
2008-09-26 16:51:20 +02:00
|
|
|
Summary: Simple Server for Git Repositories
|
2008-06-23 21:54:16 +02:00
|
|
|
Group: Development/Tools/Version Control
|
|
|
|
Requires: git-core = %{version}
|
|
|
|
PreReq: /usr/sbin/useradd %fillup_prereq %insserv_prereq
|
|
|
|
|
|
|
|
%description daemon
|
2008-09-26 16:51:20 +02:00
|
|
|
A really simple TCP git daemon. In the default configuration it allows
|
|
|
|
read only access to repositories in /srv/git/ that contain the
|
|
|
|
'git-daemon-export-ok' file.
|
2013-04-05 13:22:52 +02:00
|
|
|
|
2007-01-16 00:14:16 +01:00
|
|
|
%package -n gitk
|
2007-07-06 15:30:41 +02:00
|
|
|
Summary: Git revision tree visualiser
|
2007-01-16 00:14:16 +01:00
|
|
|
Group: Development/Tools/Version Control
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: git-core = %{version}
|
|
|
|
Requires: tk >= 8.4
|
2008-09-26 16:51:20 +02:00
|
|
|
Supplements: packageand(git-core:tk)
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%description -n gitk
|
2007-07-06 15:30:41 +02:00
|
|
|
Grapical tool for visualization of revision trees of projects
|
|
|
|
maintained in the Git version control system. It name gitk indicates
|
|
|
|
that it's written using the Tk Widget set.
|
|
|
|
|
|
|
|
A simple Tk based graphical interface for common Git operations is
|
|
|
|
found in the package git-gui.
|
2007-01-16 00:14:16 +01:00
|
|
|
|
2008-09-26 16:51:20 +02:00
|
|
|
%package gui
|
|
|
|
Summary: Grapical tool for common git operations
|
|
|
|
Group: Development/Tools/Version Control
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: git-core = %{version}
|
|
|
|
Requires: tk >= 8.4
|
2008-09-26 16:51:20 +02:00
|
|
|
Supplements: packageand(git-core:tk)
|
|
|
|
|
|
|
|
%description gui
|
|
|
|
A Tcl/Tk based graphical user interface to Git. git-gui focuses on
|
|
|
|
allowing users to make changes to their repository by making new
|
|
|
|
commits, amending existing ones, creating branches, performing local
|
|
|
|
merges, and fetching/pushing to remote repositories.
|
|
|
|
|
|
|
|
Unlike gitk, git-gui focuses on commit generation and single file
|
|
|
|
annotation, and does not show project history. It does however supply
|
|
|
|
menu actions to start a gitk session from within git-gui.
|
|
|
|
|
|
|
|
%package web
|
|
|
|
Summary: Git Web Interface
|
|
|
|
Group: Development/Tools/Version Control
|
|
|
|
Requires: git-core = %{version}
|
|
|
|
Supplements: packageand(git-core:apache2)
|
|
|
|
|
|
|
|
%description web
|
|
|
|
CGI script that allows browsing git repositories via web interface.
|
|
|
|
|
|
|
|
The apache2 configuration contained in this package installs a virtual
|
|
|
|
directory /git/ that calls the cgi script.
|
|
|
|
|
2010-03-19 09:38:33 +01:00
|
|
|
%package remote-helpers
|
|
|
|
Summary: Python package for remote helper scripts
|
|
|
|
Group: Development/Tools/Version Control
|
2012-05-08 06:45:18 +02:00
|
|
|
Requires: git-core = %{version}
|
|
|
|
Requires: python
|
2010-03-19 09:38:33 +01:00
|
|
|
|
|
|
|
%description remote-helpers
|
|
|
|
This package contains the building blocks for remote helpers written in Python.
|
|
|
|
|
2007-01-16 00:14:16 +01:00
|
|
|
%prep
|
2008-01-10 15:38:18 +01:00
|
|
|
%setup -q
|
2010-06-02 02:01:27 +02:00
|
|
|
%patch2 -p1
|
2009-01-08 18:10:09 +01:00
|
|
|
%patch3 -p1
|
2011-06-21 09:27:47 +02:00
|
|
|
%patch4 -p1
|
2012-09-14 12:23:06 +02:00
|
|
|
%patch5 -p1
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%build
|
2009-01-08 18:10:09 +01:00
|
|
|
cat > .make <<'EOF'
|
|
|
|
#!/bin/bash
|
2007-05-18 02:07:32 +02:00
|
|
|
make %{_smp_mflags} CFLAGS="$RPM_OPT_FLAGS" \
|
|
|
|
GITWEB_CONFIG="/etc/gitweb.conf" \
|
|
|
|
GITWEB_PROJECTROOT="/srv/git" \
|
2009-11-20 14:21:15 +01:00
|
|
|
WITH_OWN_SUBPROCESS_PY=YesPlease \
|
2009-01-08 18:10:09 +01:00
|
|
|
DESTDIR=$RPM_BUILD_ROOT \
|
2010-10-11 14:44:17 +02:00
|
|
|
NO_CROSS_DIRECTORY_HARDLINKS=1 \
|
2012-08-12 15:25:28 +02:00
|
|
|
NO_INSTALL_HARDLINKS=1 \
|
2013-04-05 13:22:52 +02:00
|
|
|
USE_LIBPCRE=1 \
|
2008-05-21 23:45:42 +02:00
|
|
|
V=1 \
|
2007-05-18 02:07:32 +02:00
|
|
|
prefix=%{_prefix} mandir=%{_mandir} \
|
2009-01-08 18:10:09 +01:00
|
|
|
gitexecdir=%{gitexecdir} \
|
2011-06-27 11:04:27 +02:00
|
|
|
htmldir=%{_docdir}/git-core \
|
2009-01-08 18:10:09 +01:00
|
|
|
"$@"
|
|
|
|
EOF
|
|
|
|
#
|
|
|
|
chmod 755 .make
|
2010-03-19 09:38:33 +01:00
|
|
|
./.make all %{?_smp_mflags}
|
2009-01-08 18:10:09 +01:00
|
|
|
%{!?_without_docs: ./.make doc}
|
2007-01-16 00:14:16 +01:00
|
|
|
|
|
|
|
%install
|
2009-01-08 18:10:09 +01:00
|
|
|
./.make install %{!?_without_docs: install-doc}
|
2008-05-21 23:45:42 +02:00
|
|
|
### git-web
|
|
|
|
cp gitweb/INSTALL INSTALL.gitweb
|
|
|
|
cp gitweb/README README.gitweb
|
2012-02-29 14:06:43 +01:00
|
|
|
install -d %{buildroot}/usr/share/git-web
|
|
|
|
install -d %{buildroot}/etc/apache2/conf.d
|
2008-05-21 23:45:42 +02:00
|
|
|
install -m 644 %{SOURCE1} $RPM_BUILD_ROOT/etc/apache2/conf.d/gitweb.conf
|
2008-06-23 21:54:16 +02:00
|
|
|
### git-daemon
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/init.d
|
|
|
|
install -m 755 %{SOURCE3} $RPM_BUILD_ROOT/etc/init.d/git-daemon
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
ln -s ../../etc/init.d/git-daemon $RPM_BUILD_ROOT%{_sbindir}/rcgit-daemon
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/var/adm/fillup-templates
|
|
|
|
install -m 644 %{SOURCE2} $RPM_BUILD_ROOT/var/adm/fillup-templates/sysconfig.git-daemon
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/srv/git
|
2008-08-07 01:18:59 +02:00
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/xinetd.d
|
|
|
|
install -m 644 %{S:4} $RPM_BUILD_ROOT/etc/xinetd.d/git
|
2011-06-30 10:43:40 +02:00
|
|
|
mkdir -p $RPM_BUILD_ROOT/%{_fwdefdir}
|
|
|
|
install -m 644 %{S:6} $RPM_BUILD_ROOT/%{_fwdefdir}/git-daemon
|
2008-05-21 23:45:42 +02:00
|
|
|
###
|
2012-08-12 15:25:28 +02:00
|
|
|
(find $RPM_BUILD_ROOT%{_bindir} -type f -o -type l | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^$RPM_BUILD_ROOT@@) > bin-man-doc-files
|
2012-10-16 21:32:02 +02:00
|
|
|
(find $RPM_BUILD_ROOT%{gitexecdir} ! -type d | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^$RPM_BUILD_ROOT@@) >> bin-man-doc-files
|
2008-09-26 16:51:20 +02:00
|
|
|
(find $RPM_BUILD_ROOT%{_mandir} $RPM_BUILD_ROOT/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|daemon|gui" | sed -e s@^$RPM_BUILD_ROOT@@ -e 's/$/*/' ) >> bin-man-doc-files
|
2007-05-18 02:07:32 +02:00
|
|
|
( pushd perl
|
|
|
|
perl Makefile.PL
|
2012-02-29 14:06:43 +01:00
|
|
|
make -f perl.mak DESTDIR=%{buildroot} install_vendor
|
2007-05-18 02:07:32 +02:00
|
|
|
)
|
2012-02-29 14:06:43 +01:00
|
|
|
rm -rf %{buildroot}/usr/lib/perl5/site_perl
|
2007-01-16 00:14:16 +01:00
|
|
|
%perl_process_packlist
|
|
|
|
find $RPM_BUILD_ROOT/%_mandir -type f -print0 | xargs -0 chmod 644
|
2008-08-18 18:35:03 +02:00
|
|
|
install -m 644 -D contrib/completion/git-completion.bash $RPM_BUILD_ROOT/etc/bash_completion.d/git.sh
|
2012-09-14 12:23:06 +02:00
|
|
|
install -m 644 -D contrib/completion/git-prompt.sh $RPM_BUILD_ROOT/etc/bash_completion.d/git-prompt.sh
|
2009-01-08 18:10:09 +01:00
|
|
|
#
|
|
|
|
# apparmor profile for git-web
|
|
|
|
#
|
|
|
|
install -d -m 755 $RPM_BUILD_ROOT/etc/apparmor.d
|
|
|
|
install -m 644 %{SOURCE5} $RPM_BUILD_ROOT/etc/apparmor.d
|
|
|
|
#
|
|
|
|
# create predictable symlinks to make apparmor profile work
|
2012-08-12 15:25:28 +02:00
|
|
|
for i in git git-upload-archive git-receive-pack; do
|
2009-01-08 18:10:09 +01:00
|
|
|
rm $RPM_BUILD_ROOT%{_bindir}/$i
|
|
|
|
ln -s %{gitexecdir}/git-add $RPM_BUILD_ROOT%{_bindir}/$i
|
|
|
|
done
|
|
|
|
if ! test -f $RPM_BUILD_ROOT%{gitexecdir}/git-add; then
|
|
|
|
echo "git-add is not a regular file, apparmor profile won't work!" >&2
|
|
|
|
exit 1
|
|
|
|
fi
|
2012-02-14 11:23:58 +01:00
|
|
|
%find_lang %{name}
|
2012-05-08 06:45:18 +02:00
|
|
|
cat %{name}.lang >>bin-man-doc-files
|
2008-09-26 16:51:20 +02:00
|
|
|
# use symlinks instead of hardlinks in sub-commands
|
|
|
|
%fdupes -s $RPM_BUILD_ROOT
|
2007-01-16 00:14:16 +01:00
|
|
|
|
2011-12-21 10:00:12 +01:00
|
|
|
%check
|
2012-10-16 21:32:02 +02:00
|
|
|
./.make %{?_smp_mflags} test
|
2007-01-16 00:14:16 +01:00
|
|
|
|
2008-06-23 21:54:16 +02:00
|
|
|
%pre daemon
|
|
|
|
if ! /usr/bin/getent passwd git-daemon >/dev/null; then
|
|
|
|
/usr/sbin/useradd -r -d /var/lib/empty -s /bin/false -c "git daemon" -g nogroup git-daemon || :
|
|
|
|
fi
|
|
|
|
|
|
|
|
%post daemon
|
|
|
|
%{fillup_and_insserv -n git-daemon}
|
|
|
|
|
|
|
|
%postun daemon
|
2013-03-28 13:11:58 +01:00
|
|
|
%{restart_on_update git-daemon}
|
2008-06-23 21:54:16 +02:00
|
|
|
%{insserv_cleanup}
|
|
|
|
|
|
|
|
%preun daemon
|
2013-03-28 13:11:58 +01:00
|
|
|
%{stop_on_removal git-daemon}
|
2008-06-23 21:54:16 +02:00
|
|
|
|
2007-01-16 00:14:16 +01:00
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README
|
|
|
|
|
|
|
|
%files svn
|
|
|
|
%defattr(-,root,root)
|
2009-01-08 18:10:09 +01:00
|
|
|
%{gitexecdir}/*svn*
|
2007-01-16 00:14:16 +01:00
|
|
|
%doc Documentation/*svn*.txt
|
|
|
|
%{!?_without_docs: %{_mandir}/man1/*svn*.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/*svn*.html }
|
|
|
|
|
|
|
|
%files cvs
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Documentation/*git-cvs*.txt
|
2008-11-20 15:22:38 +01:00
|
|
|
%{_bindir}/git-cvs*
|
2009-01-08 18:10:09 +01:00
|
|
|
%{gitexecdir}/*cvs*
|
2007-01-16 00:14:16 +01:00
|
|
|
%{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/*git-cvs*.html }
|
|
|
|
|
|
|
|
%files arch
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Documentation/git-archimport.txt
|
2009-01-08 18:10:09 +01:00
|
|
|
%{gitexecdir}/git-archimport
|
2007-01-16 00:14:16 +01:00
|
|
|
%{!?_without_docs: %{_mandir}/man1/git-archimport.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/git-archimport.html }
|
|
|
|
|
|
|
|
%files email
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Documentation/*email*.txt
|
2009-01-08 18:10:09 +01:00
|
|
|
%{gitexecdir}/*email*
|
2007-01-16 00:14:16 +01:00
|
|
|
%{!?_without_docs: %{_mandir}/man1/*email*.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/*email*.html }
|
|
|
|
|
2008-06-23 21:54:16 +02:00
|
|
|
%files daemon
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Documentation/*daemon*.txt
|
2009-01-08 18:10:09 +01:00
|
|
|
%{gitexecdir}/*daemon*
|
2008-06-23 21:54:16 +02:00
|
|
|
/etc/init.d/git-daemon
|
|
|
|
%{_sbindir}/rcgit-daemon
|
|
|
|
%dir /srv/git
|
|
|
|
/var/adm/fillup-templates/sysconfig.git-daemon
|
|
|
|
%{!?_without_docs: %{_mandir}/man1/*daemon*.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/*daemon*.html }
|
2008-08-07 01:18:59 +02:00
|
|
|
%config(noreplace) /etc/xinetd.d/git
|
2011-06-30 10:43:40 +02:00
|
|
|
%config %{_fwdefdir}/*
|
2008-06-23 21:54:16 +02:00
|
|
|
|
2007-01-16 00:14:16 +01:00
|
|
|
%files -n gitk
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Documentation/*gitk*.txt
|
2008-09-26 16:51:20 +02:00
|
|
|
%{_bindir}/gitk
|
2008-03-19 01:51:13 +01:00
|
|
|
/usr/share/gitk
|
2007-01-16 00:14:16 +01:00
|
|
|
%{!?_without_docs: %{_mandir}/man1/*gitk*.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/*gitk*.html }
|
|
|
|
|
2008-09-26 16:51:20 +02:00
|
|
|
%files gui
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc Documentation/*gui*.txt
|
2009-01-08 18:10:09 +01:00
|
|
|
%{gitexecdir}/git-gui*
|
2008-09-26 16:51:20 +02:00
|
|
|
/usr/share/git-gui
|
|
|
|
%{!?_without_docs: %{_mandir}/man1/*gui*.1*}
|
|
|
|
%{!?_without_docs: %doc Documentation/*gui*.html }
|
|
|
|
|
|
|
|
%files web
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%doc README.gitweb INSTALL.gitweb
|
|
|
|
%dir /etc/apache2
|
|
|
|
%dir /etc/apache2/conf.d
|
|
|
|
%config(noreplace) /etc/apache2/conf.d/gitweb.conf
|
2010-09-27 16:02:12 +02:00
|
|
|
/usr/share/gitweb
|
2009-01-08 18:10:09 +01:00
|
|
|
/etc/apparmor.d
|
2008-09-26 16:51:20 +02:00
|
|
|
|
2010-03-19 09:38:33 +01:00
|
|
|
%files remote-helpers
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%if %suse_version >= 1120
|
|
|
|
%python_sitelib/*
|
|
|
|
%else
|
|
|
|
%py_sitedir/*
|
|
|
|
%endif
|
|
|
|
|
2012-05-08 06:45:18 +02:00
|
|
|
%files core -f bin-man-doc-files
|
2007-01-16 00:14:16 +01:00
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_datadir}/git-core/
|
2009-01-08 18:10:09 +01:00
|
|
|
%dir %{gitexecdir}
|
2012-10-16 21:32:02 +02:00
|
|
|
%dir %{gitexecdir}/mergetools
|
2007-01-16 00:14:16 +01:00
|
|
|
%doc README COPYING Documentation/*.txt
|
|
|
|
%{!?_without_docs: %doc Documentation/*.html }
|
2010-12-14 10:14:06 +01:00
|
|
|
%if 0%{?suse_version} < 1140
|
2007-01-16 00:14:16 +01:00
|
|
|
/var/adm/perl-modules/%{name}
|
2010-12-14 10:14:06 +01:00
|
|
|
%endif
|
2007-01-16 00:14:16 +01:00
|
|
|
%{perl_vendorlib}/Git.pm
|
2012-02-14 11:23:58 +01:00
|
|
|
%{perl_vendorlib}/Git/
|
2007-01-16 00:14:16 +01:00
|
|
|
%{perl_vendorarch}/auto/Git/
|
2012-09-14 12:23:06 +02:00
|
|
|
/etc/bash_completion.d/*.sh
|
2007-11-28 23:07:45 +01:00
|
|
|
|
2007-05-18 02:07:32 +02:00
|
|
|
%changelog
|