1 %define gitexecdir %{_libexecdir}/git
7 Summary: Fast, scalable, distributed revision control system
8 Url: http://git-scm.com
9 Group: Platform Development/Utilities
10 Source: %{name}-%{version}.tar.gz
11 Source1001: git.manifest
12 BuildRequires: asciidoc
14 BuildRequires: expat-devel
16 BuildRequires: gettext-tools
17 BuildRequires: libcurl-devel
18 BuildRequires: libopenssl-devel
19 BuildRequires: perl-Error
22 Requires: git-core = %{version}
25 Git is a fast, scalable, distributed revision control system with an
26 unusually rich command set that provides both high-level operations and
27 full access to internals.
29 This package itself only provides the README of git but with the
30 packages it requires, it brings you a complete Git environment
31 including GTK and email interfaces and tools for importing source code
32 repositories from other revision control systems such as subversion,
36 Summary: Core git tools
37 Group: Platform Development/Utilities
41 Requires: perl = %{perl_version}
45 Git is a fast, scalable, distributed revision control system with an
46 unusually rich command set that provides both high-level operations and
47 full access to internals.
49 These are the core tools with minimal dependencies.
52 Summary: Git tools for importing Subversion repositories
53 Group: Platform Development/Utilities
54 Requires: git-core = %{version}
56 Requires: subversion-perl
59 Tools for importing Subversion repositories to the Git version control
63 Summary: Git tools for importing CVS repositories
64 Group: Platform Development/Utilities
67 Requires: git-core = %{version}
68 Requires: perl-DBD-SQLite
71 Tools for importing CVS repositories to the Git version control system.
74 Summary: Git tools for importing Arch repositories
75 Group: Platform Development/Utilities
76 Requires: git-core = %{version}
80 Tools for importing GNU Arch repositories to the GIT version control
84 Summary: Git tools for sending email
85 Group: Platform Development/Utilities
86 Requires: git-core = %{version}
87 # For sending mails over secure SMTP:
88 Recommends: perl-Authen-SASL
89 Recommends: perl-Net-SMTP-SSL
92 Email interface for the GIT version control system.
95 Summary: Simple Server for Git Repositories
96 Group: Platform Development/Utilities
97 Requires(pre): /usr/sbin/useradd
98 Requires: git-core = %{version}
101 A really simple TCP git daemon. In the default configuration it allows
102 read only access to repositories in /srv/git/ that contain the
103 'git-daemon-export-ok' file.
105 Summary: Git revision tree visualiser
106 Group: Platform Development/Utilities
107 Requires: git-core = %{version}
109 Supplements: packageand(git-core:tk)
112 Grapical tool for visualization of revision trees of projects
113 maintained in the Git version control system. It name gitk indicates
114 that it's written using the Tk Widget set.
116 A simple Tk based graphical interface for common Git operations is
117 found in the package git-gui.
120 Summary: Grapical tool for common git operations
121 Group: Platform Development/Utilities
122 Requires: git-core = %{version}
124 Supplements: packageand(git-core:tk)
127 A Tcl/Tk based graphical user interface to Git. git-gui focuses on
128 allowing users to make changes to their repository by making new
129 commits, amending existing ones, creating branches, performing local
130 merges, and fetching/pushing to remote repositories.
132 Unlike gitk, git-gui focuses on commit generation and single file
133 annotation, and does not show project history. It does however supply
134 menu actions to start a gitk session from within git-gui.
137 Summary: Git Web Interface
138 Group: Platform Development/Utilities
139 Requires: git-core = %{version}
140 Supplements: packageand(git-core:apache2)
143 CGI script that allows browsing git repositories via web interface.
145 The apache2 configuration contained in this package installs a virtual
146 directory /git/ that calls the cgi script.
157 make %{?_smp_mflags} CFLAGS="%{optflags}" \
158 GITWEB_CONFIG="/etc/gitweb.conf" \
159 GITWEB_PROJECTROOT="/srv/git" \
160 WITH_OWN_SUBPROCESS_PY=YesPlease \
161 DESTDIR=%{buildroot} \
162 NO_CROSS_DIRECTORY_HARDLINKS=1 \
164 prefix=%{_prefix} mandir=%{_mandir} \
165 gitexecdir=%{gitexecdir} \
166 htmldir=%{_docdir}/git-core \
171 ./.make all %{?_smp_mflags}
175 make %{?_smp_mflags} test
179 ./.make install install-doc
181 (find %{buildroot}%{_bindir} -type f | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@) > bin-man-doc-files
182 (find %{buildroot}%{gitexecdir} -mindepth 1 | grep -vE "archimport|svn|cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@) >> bin-man-doc-files
183 (find %{buildroot}%{_mandir} %{buildroot}/Documentation -type f | grep -vE "archimport|svn|git-cvs|email|gitk|daemon|gui" | sed -e s@^%{buildroot}@@ -e 's/$/*/' ) >> bin-man-doc-files
186 make -f perl.mak DESTDIR=%{buildroot} install_vendor
188 rm -rf %{buildroot}%{perl_sitelib}
190 %perl_process_packlist
191 find %{buildroot}/%{_mandir} -type f -print0 | xargs -0 chmod 644
192 install -m 644 -D contrib/completion/git-completion.bash %{buildroot}%{_sysconfdir}/bash_completion.d/git.sh
194 cat %{name}.lang >>bin-man-doc-files
195 # use symlinks instead of hardlinks in sub-commands
198 rm -rf %{buildroot}/%{_datadir}/gitweb
199 rm -rf %{buildroot}/Documentation/*.html
200 rm -rf %{buildroot}/Documentation/*.txt
202 %fdupes -s %{buildroot}/%{_prefix}
206 %manifest %{name}.manifest
210 %manifest %{name}.manifest
212 %{_mandir}/man1/*svn*.1*
215 %manifest %{name}.manifest
218 %{_mandir}/man1/*cvs*.1*
221 %manifest %{name}.manifest
222 %{gitexecdir}/git-archimport
223 %{_mandir}/man1/git-archimport.1*
226 %manifest %{name}.manifest
227 %{gitexecdir}/*email*
228 %{_mandir}/man1/*email*.1*
231 %manifest %{name}.manifest
232 %{gitexecdir}/*daemon*
233 %{_mandir}/man1/*daemon*.1*
236 %manifest %{name}.manifest
239 %{_mandir}/man1/*gitk*.1*
242 %manifest %{name}.manifest
243 %{gitexecdir}/git-gui*
245 %{_mandir}/man1/*gui*.1*
247 %files core -f bin-man-doc-files
248 %manifest %{name}.manifest
251 %{_datadir}/git-core/
253 %{perl_vendorlib}/Git.pm
254 %{perl_vendorlib}/Git/
255 %{perl_vendorlib}/Git/*.pm
256 %{perl_vendorarch}/auto/Git/
257 %attr(0644, root, root) %config %{_sysconfdir}/bash_completion.d/git.sh