1 # Pass --without docs to rpmbuild if you don't want the documentation
6 Summary: Core git tools
8 Group: Development
/Tools
9 URL: http
://kernel.org
/pub
/software
/scm
/git
/
10 Source: http
://kernel.org
/pub
/software
/scm
/git
/%{name}-%{version}.tar.gz
11 BuildRequires
: zlib
-devel
>= 1.2, openssl
-devel
, curl
-devel
, expat
-devel
, gettext
%{!?_without_docs:, xmlto, asciidoc > 6.0.3}
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
14 Requires: perl
-Git
= %{version}-%{release}
15 Requires: zlib
>= 1.2, rsync
, less
, openssh
-clients
, expat
16 Provides: git
-core
= %{version}-%{release}
17 Obsoletes
: git
-core
<= 1.5.4.2
21 Git is a fast
, scalable
, distributed revision control system with an
22 unusually rich
command set that provides both high
-level operations
23 and full access to internals.
25 The git rpm installs the core tools with minimal dependencies. To
26 install all git packages
, including tools
for integrating with other
27 SCMs
, install the git
-all meta
-package.
30 Summary: Meta
-package to pull
in all git tools
31 Group: Development
/Tools
32 Requires: git
= %{version}-%{release}
33 Requires: git
-svn
= %{version}-%{release}
34 Requires: git
-cvs
= %{version}-%{release}
35 Requires: git
-arch
= %{version}-%{release}
36 Requires: git
-email
= %{version}-%{release}
37 Requires: gitk
= %{version}-%{release}
38 Requires: git
-gui
= %{version}-%{release}
39 Obsoletes
: git
<= 1.5.4.2
42 Git is a fast
, scalable
, distributed revision control system with an
43 unusually rich
command set that provides both high
-level operations
44 and full access to internals.
46 This is a dummy package which brings
in all subpackages.
49 Summary: Git tools
for importing Subversion repositories
50 Group: Development
/Tools
51 Requires: git
= %{version}-%{release}, subversion
53 Git tools
for importing Subversion repositories.
56 Summary: Git tools
for importing CVS repositories
57 Group: Development
/Tools
58 Requires: git
= %{version}-%{release}, cvs
, cvsps
60 Git tools
for importing CVS repositories.
63 Summary: Git tools
for importing Arch repositories
64 Group: Development
/Tools
65 Requires: git
= %{version}-%{release}, tla
67 Git tools
for importing Arch repositories.
70 Summary: Git tools
for sending email
71 Group: Development
/Tools
72 Requires: git
= %{version}-%{release}
74 Git tools
for sending email.
78 Group: Development
/Tools
79 Requires: git
= %{version}-%{release}, tk
>= 8.4
84 Summary: Git revision tree visualiser
('gitk'
)
85 Group: Development
/Tools
86 Requires: git
= %{version}-%{release}, tk
>= 8.4
88 Git revision tree visualiser
('gitk'
)
91 Summary: Perl interface to Git
92 Group: Development
/Libraries
93 Requires: git
= %{version}-%{release}
94 Requires: perl
(:MODULE_COMPAT_%
(eval "`
%{__perl} -V
:version`"
; echo $version
))
95 BuildRequires
: perl
(Error
)
97 %description -n perl
-Git
100 %define path_settings ETC_GITCONFIG
=/etc
/gitconfig prefix
=%{_prefix} mandir=%{_mandir} htmldir=%{_docdir}/%{name}-%{version}
101 %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
107 make %{_smp_mflags} CFLAGS
="$RPM_OPT_FLAGS" \
109 all
%{!?_without_docs: doc}
112 rm -rf $RPM_BUILD_ROOT
113 make %{_smp_mflags} CFLAGS
="$RPM_OPT_FLAGS" DESTDIR
=$RPM_BUILD_ROOT \
115 INSTALLDIRS
=vendor
install %{!?_without_docs: install-doc}
116 test ! -d $RPM_BUILD_ROOT
%{python_sitelib} || rm -fr $RPM_BUILD_ROOT%{python_sitelib}
117 find $RPM_BUILD_ROOT
-type f
-name .packlist
-exec rm -f
{} '
;'
118 find $RPM_BUILD_ROOT
-type f
-name '
*.bs'
-empty
-exec rm -f
{} '
;'
119 find $RPM_BUILD_ROOT
-type f
-name perllocal.pod
-exec rm -f
{} '
;'
121 (find $RPM_BUILD_ROOT
%{_bindir} -type f | grep
-vE "archimport|svn|cvs|email|gitk|git
-gui|git
-citool" | sed
-e s@^$RPM_BUILD_ROOT@@
) > bin
-man
-doc
-files
122 (find $RPM_BUILD_ROOT
%{_libexecdir}/git
-core
-type f | grep
-vE "archimport|svn|cvs|email|gitk|git
-gui|git
-citool" | sed
-e s@^$RPM_BUILD_ROOT@@
) >> bin
-man
-doc
-files
123 (find $RPM_BUILD_ROOT
%{perl_vendorlib} -type f | sed
-e s@^$RPM_BUILD_ROOT@@
) >> perl
-files
124 %if %{!?_without_docs:1}0
125 (find $RPM_BUILD_ROOT
%{_mandir} $RPM_BUILD_ROOT
/Documentation
-type f | grep
-vE "archimport|svn|git
-cvs|email|gitk|git
-gui|git
-citool" | sed
-e s@^$RPM_BUILD_ROOT@@
-e 's
/$
/*/'
) >> bin
-man
-doc
-files
127 rm -rf $RPM_BUILD_ROOT
%{_mandir}
131 rm -rf $RPM_BUILD_ROOT
133 %files -f bin
-man
-doc
-files
134 %defattr(-,root
,root
)
135 %{_datadir}/git
-core
/
136 %doc README COPYING Documentation
/*.txt
137 %{!?_without_docs: %doc Documentation/*.html Documentation/howto}
138 %{!?_without_docs: %doc Documentation/technical}
141 %defattr(-,root
,root
)
142 %{_libexecdir}/git
-core
/*svn
*
143 %doc Documentation
/*svn
*.txt
144 %{!?_without_docs: %{_mandir}/man1/*svn*.1*}
145 %{!?_without_docs: %doc Documentation/*svn*.html }
148 %defattr(-,root
,root
)
149 %doc Documentation
/*git
-cvs
*.txt
150 %{_bindir}/git
-cvsserver
151 %{_libexecdir}/git
-core
/*cvs
*
152 %{!?_without_docs: %{_mandir}/man1/*cvs*.1*}
153 %{!?_without_docs: %doc Documentation/*git-cvs*.html }
156 %defattr(-,root
,root
)
157 %doc Documentation
/git
-archimport.txt
158 %{_libexecdir}/git
-core
/git
-archimport
159 %{!?_without_docs: %{_mandir}/man1/git-archimport.1*}
160 %{!?_without_docs: %doc Documentation/git-archimport.html }
163 %defattr(-,root
,root
)
164 %doc Documentation
/*email
*.txt
165 %{_libexecdir}/git
-core
/*email
*
166 %{!?_without_docs: %{_mandir}/man1/*email*.1*}
167 %{!?_without_docs: %doc Documentation/*email*.html }
170 %defattr(-,root
,root
)
171 %{_libexecdir}/git
-core
/git
-gui
172 %{_libexecdir}/git
-core
/git
-citool
173 %{_libexecdir}/git
-core
/git
-gui
--askpass
175 %{!?_without_docs: %{_mandir}/man1/git-gui.1*}
176 %{!?_without_docs: %doc Documentation/git-gui.html}
177 %{!?_without_docs: %{_mandir}/man1/git-citool.1*}
178 %{!?_without_docs: %doc Documentation/git-citool.html}
181 %defattr(-,root
,root
)
182 %doc Documentation
/*gitk
*.txt
185 %{!?_without_docs: %{_mandir}/man1/*gitk*.1*}
186 %{!?_without_docs: %doc Documentation/*gitk*.html }
188 %files -n perl
-Git
-f perl
-files
189 %defattr(-,root
,root
)
195 * Sat Jan
30 2010 Junio C Hamano
<gitster@pobox.com
>
196 - We don't ship Python bits
until a real foreign scm interface comes.
198 * Mon Feb
04 2009 David J. Mellor
<dmellor@whistlingcat.com
>
199 - fixed broken git
help -w after renaming the git
-core package to git.
201 * Fri Sep
12 2008 Quy Tonthat
<qtonthat@gmail.com
>
202 - move git
-cvsserver to bindir.
204 * Sun Jun
15 2008 Junio C Hamano
<gitster@pobox.com
>
205 - Remove curl from
Requires list.
207 * Fri Feb
15 2008 Kristian Høgsberg
<krh@redhat.com
>
208 - Rename git
-core to just git and rename meta package from git to git
-all.
210 * Sun Feb
03 2008 James Bowes
<jbowes@dangerouslyinc.com
>
211 - Add a BuildRequires
for gettext
213 * Fri Jan
11 2008 Junio C Hamano
<gitster@pobox.com
>
214 - Include gitk message files
216 * Sun Jan
06 2008 James Bowes
<jbowes@dangerouslyinc.com
>
217 - Make the metapackage require the same version of the subpackages.
219 * Wed Dec
12 2007 Junio C Hamano
<gitster@pobox.com
>
220 - Adjust htmldir to point at
/usr
/share
/doc
/git
-core
-$version
/
222 * Sun Jul
15 2007 Sean Estabrooks
<seanlkml@sympatico.ca
>
225 * Tue Jun
26 2007 Quy Tonthat
<qtonthat@gmail.com
>
226 - Fixed problems looking
for wrong manpages.
228 * Thu Jun
21 2007 Shawn O. Pearce
<spearce@spearce.org
>
229 - Added documentation files
for git
-gui
231 * Tue May
13 2007 Quy Tonthat
<qtonthat@gmail.com
>
232 - Added lib files
for git
-gui
233 - Added Documentation
/technical
(As needed by Git Users Manual
)
235 * Tue May
8 2007 Quy Tonthat
<qtonthat@gmail.com
>
238 * Tue Mar
27 2007 Eygene Ryabinkin
<rea
-git@codelabs.ru
>
239 - Added the git
-p4 package
: Perforce import stuff.
241 * Mon Feb
13 2007 Nicolas Pitre
<nico@fluxnic.net
>
242 - Update core package description
(Git isn't as stupid as it used to be
)
244 * Mon Feb
12 2007 Junio C Hamano
<junkio@cox.net
>
245 - Add git
-gui and git
-citool.
247 * Mon Nov
14 2005 H. Peter Anvin
<hpa@zytor.com
> 0.99.9j
-1
248 - Change subpackage names to git
-<name
> instead of git
-core
-<name
>
249 - Create empty root package which brings
in all subpackages
250 - Rename git
-tk
-> gitk
252 * Thu Nov
10 2005 Chris Wright
<chrisw@osdl.org
> 0.99.9g
-1
253 - zlib dependency fix
254 - Minor cleanups from split
255 - Move arch import to separate package as well
257 * Tue Sep
27 2005 Jim Radford
<radford@blackbean.org
>
258 - Move programs with non
-standard dependencies
(svn
, cvs
, email
)
259 into separate packages
261 * Tue Sep
27 2005 H. Peter Anvin
<hpa@zytor.com
>
265 * Fri Sep
16 2005 Chris Wright
<chrisw@osdl.org
> 0.99.6-1
268 * Fri Sep
16 2005 Horst H. von Brand
<vonbrand@inf.utfsm.cl
>
269 - Linus noticed that less is required
, added to the dependencies
271 * Sun Sep
11 2005 Horst H. von Brand
<vonbrand@inf.utfsm.cl
>
272 - Updated dependencies
273 - Don't assume manpages are gzipped
275 * Thu Aug
18 2005 Chris Wright
<chrisw@osdl.org
> 0.99.4-4
276 - drop sh_utils
, sh
-utils
, diffutils
, mktemp
, and openssl
Requires
277 - use RPM_OPT_FLAGS
in spec file
, drop patch0
279 * Wed Aug
17 2005 Tom "spot" Callaway
<tcallawa@redhat.com
> 0.99.4-3
280 - use dist tag to differentiate between branches
281 - use rpm optflags by default
(patch0
)
282 - own
%{_datadir}/git
-core
/
284 * Mon Aug
15 2005 Chris Wright
<chrisw@osdl.org
>
285 - update spec file to fix
Buildroot, Requires, and drop
Vendor
287 * Sun Aug
07 2005 Horst H. von Brand
<vonbrand@inf.utfsm.cl
>
288 - Redid the description
289 - Cut overlong
make line
, loosened changelog a bit
290 - I think Junio
(or perhaps OSDL?
) should be vendor...
292 * Thu Jul
14 2005 Eric Biederman
<ebiederm@xmission.com
>
293 - Add the man pages
, and the
--without docs build option
295 * Wed Jul
7 2005 Chris Wright
<chris@osdl.org
>
296 - initial git spec file