]> git.pld-linux.org Git - packages/git-core.git/blame - git-core.spec
- fix double packaging of gitweb.cgi, however current packaging doesn't work without...
[packages/git-core.git] / git-core.spec
CommitLineData
84013e7c 1#
891d0b05 2# Conditional build:
f74aede9
JB
3%bcond_without tests # don't perform make test
4%bcond_with tests_cvs # perform tests which use CVS
5%bcond_without doc # skip building/packaging docs/manuals (takes some time)
891d0b05 6#
89a476f8 7%include /usr/lib/rpm/macros.perl
51c3b977 8Summary: The stupid content tracker
3f8032f4 9Summary(pl.UTF-8): Prymitywne narzędzie do śledzenia treści
51c3b977 10Name: git-core
ef698776 11Version: 1.7.4
7be19e24 12Release: 1
51c3b977 13License: GPL v2
14Group: Development/Tools
bf83806a 15Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2
ef698776 16# Source0-md5: fa24dc1ef0b663327ea0fe1981365b39
be2ccf99
AG
17Source1: %{name}-gitweb.conf
18Source2: %{name}-gitweb-httpd.conf
51ce768a
KK
19Source3: %{name}-gitweb-lighttpd.conf
20Source4: %{name}.sysconfig
21Source5: %{name}.inet
22Source6: %{name}.init
6b1e62ae 23Patch0: %{name}-tests.patch
e699dd89 24URL: http://git-scm.com/
11856720
AM
25BuildRequires: autoconf
26BuildRequires: automake
51c3b977 27BuildRequires: curl-devel
115484e9 28BuildRequires: expat-devel
72ec88fd 29BuildRequires: gettext-devel
51c3b977 30BuildRequires: openssl-devel
0f1e5795 31BuildRequires: perl-Error > 0.15
51c3b977 32BuildRequires: perl-base
db444c11 33BuildRequires: python-devel
89a476f8 34BuildRequires: rpm-perlprov >= 4.1-13
c841a4fc 35BuildRequires: rpm-pythonprov
be2ccf99 36BuildRequires: rpmbuild(macros) >= 1.264
b64915e8 37BuildRequires: tcl
51c3b977 38BuildRequires: zlib-devel
08cc92d7
ER
39%if %{with doc}
40BuildRequires: asciidoc >= 7.1.2-3
c841a4fc 41BuildRequires: docbook-dtd45-xml
08cc92d7
ER
42BuildRequires: xmlto
43%endif
2c50f007 44%if %{with tests}
db032591 45%if %{with tests_cvs}
dfed7e92 46# tests failed sometimes when using nserver/cvsnt client so enforce pure cvs here
3554b1a3 47BuildRequires: cvs-gnu-client < 1.13
2c0376c9 48BuildRequires: cvs-gnu-client >= 1.12
db032591 49%endif
08cc92d7 50BuildRequires: pdksh >= 5.2.14-46
2c50f007 51%endif
3f245fc5 52Requires: coreutils
11856720 53Requires: diffutils
3f245fc5
AM
54Requires: findutils
55Requires: grep
11856720 56Requires: openssh-clients
f266cd28 57Requires: perl-Error
7a437e6a 58Requires: perl-Git = %{version}-%{release}
3f245fc5 59Requires: sed
26361b03
AG
60Suggests: git-core-cvs
61Suggests: git-core-svn
d82521ea
ER
62Suggests: less
63Suggests: rsync
51c3b977 64BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
65
19936745
AM
66# html docs have links to txt files
67%define _noautocompressdoc *.txt
68
be2ccf99
AG
69%define webapp gitweb
70%define webappdir %{_sysconfdir}/webapps/%{webapp}
71%define appdir %{_datadir}/%{webapp}
72%define cgibindir %{_prefix}/lib/cgi-bin
73
51c3b977 74%description
75"git" can mean anything, depending on your mood.
76
d52424f5 77- random three-letter combination that is pronounceable, and not
78 actually used by any common UNIX command. The fact that it is a
79 mispronunciation of "get" may or may not be relevant.
80- stupid. contemptible and despicable. simple. Take your pick from the
81 dictionary of slang.
82- "global information tracker": you're in a good mood, and it actually
83 works for you. Angels sing, and a light suddenly fills the room.
84- "goddamn idiotic truckload of sh*t": when it breaks
51c3b977 85
c751087d 86This is a stupid (but extremely fast) directory content manager. It
51c3b977 87doesn't do a whole lot, but what it 'does' do is track directory
88contents efficiently.
89
ea061c99
JR
90%description -l pl.UTF-8
91"git" może oznaczać cokolwiek, w zależności od nastroju.
92
d52424f5 93- losową kombinację trzech liter, która jest wymawialna i właściwie
94 nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to
95 błędna pisownia słowa "get" może mieć lub nie mieć znaczenia.
96- głupi, pogardliwy, prosty. Można wybrać ze słownika slangu.
97- "global information tracker" (narzędzie do globalnego śledzenia
98 informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa.
99 Anioły śpiewają, a światło niespodziewanie wypełnia pokój.
100- "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek
101 g*) - kiedy się zepsuje.
ea061c99
JR
102
103Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej.
104Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości
c751087d
JB
105katalogu.
106
a8655d02
ER
107%package doc
108Summary: Documentation for git-core
109Summary(pl.UTF-8): Dokumentacja do git-core
110Group: Documentation
111
112%description doc
113Documentation for git-core.
114
115%description doc -l pl.UTF-8
116Dokumentacja do git-core.
117
118%description doc -l fr.UTF-8
119Javadoc pour git-core.
120
b11ada2c
AG
121%package daemon-inetd
122Summary: Files necessary to run git-daemon as an inetd service
5db07614 123Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi inetd
b11ada2c
AG
124Group: Networking/Daemons
125Requires: %{name} = %{version}-%{release}
126Requires: setup >= 2.4.11-1
127Provides: git-core-daemon
128Obsoletes: git-core-daemon
129Obsoletes: git-core-daemon-standalone
130
131%description daemon-inetd
132Git-daemon is a really simple TCP git daemon that can serve git
133repositories. This package provides all necessarry files to run
134git-daemon as an inetd service.
135
136%description daemon-inetd -l pl.UTF-8
5db07614
JB
137Git-daemon to prosty demon git korzystający z protokołu TCP do
138udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
139do uruchomienia git-demona w trybie usługi inetd.
b11ada2c
AG
140
141%package daemon-standalone
142Summary: Files necessary to run git-daemon as a standalone service
5db07614 143Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi samodzielnej
b11ada2c
AG
144Group: Networking/Daemons
145Requires: %{name} = %{version}-%{release}
146Provides: git-core-daemon
147Obsoletes: git-core-daemon
148Obsoletes: git-core-daemon-inetd
149
150%description daemon-standalone
151Git-daemon is a really simple TCP git daemon that can serve git
152repositories. This package provides all necessarry files to run
153git-daemon as an standalone service.
154
155%description daemon-standalone -l pl.UTF-8
5db07614
JB
156Git-daemon to prosty demon git korzystający z protokołu TCP do
157udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
158do uruchomienia git-daemona w trybie usługi samodzielnej.
b11ada2c 159
e3cefa79 160%package devel
66a7f095 161Summary: Header files for git-core
3f8032f4 162Summary(pl.UTF-8): Pliki nagłówkowe dla git-core
66a7f095 163Group: Development/Libraries
d52424f5 164Requires: zlib-devel
e3cefa79 165
166%description devel
66a7f095 167Header files for git-core.
168
ea061c99
JR
169%description devel -l pl.UTF-8
170Pliki nagłówkowe dla git-core.
e3cefa79 171
91396e2e
AG
172%package gitk
173Summary: Tcl/Tk interface to the Git version control system
174Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
175Group: Development/Tools
176Requires: %{name} = %{version}-%{release}
177Requires: tk
178
179%description gitk
1fcd08a6
JB
180gitk displays changes in a repository or a selected set of commits.
181This includes visualizing the commit graph, showing information
182related to each commit, and the files in the trees of each revision.
91396e2e
AG
183
184Historically, gitk was the first repository browser. It's written in
04fdf912 185Tcl/Tk and started off in a separate repository but was later merged
91396e2e
AG
186into the main git repository.
187
188%description gitk -l pl.UTF-8
1fcd08a6
JB
189gitk wyświetla zmiany w repozytorium lub wybranym zbiorze commitów.
190Oznacza to wizualizację grafu commitów, wyświetlanie informacji
191związanych z każdym z commitów oraz listę plików dla każdej rewizji.
91396e2e 192
1fcd08a6 193Z historycznego punktu widzenia gitk był pierwszą przeglądarką
02059138
ER
194repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
195osobnym repozytorium, ale z czasem został włączony do głównego
2712fe7b 196repozytorium gita.
91396e2e 197
be2ccf99
AG
198%package gitweb
199Summary: Web frontend to git
41b5f4b1 200Summary(pl.UTF-8): Frontend WWW do gita
be2ccf99
AG
201Group: Development/Tools
202Requires: %{name} = %{version}-%{release}
203Requires: webapps
51ce768a
KK
204Requires: webserver(alias)
205Requires: webserver(cgi)
be2ccf99
AG
206
207%description gitweb
208This package provides a web interface for browsing git repositories.
209
210%description gitweb -l pl.UTF-8
2712fe7b 211Pakiet ten dostarcza interfejs WWW do przeglądania repozytoriów gita.
be2ccf99 212
e1c8d79f 213%package gitview
30794a22
JB
214Summary: A GTK+ based repository browser for git
215Summary(pl.UTF-8): Oparta na GTK+ przeglądarka repozytorium gita
e1c8d79f 216Group: Development/Tools
217Requires: %{name} = %{version}-%{release}
c95a5d99
JB
218Requires: python >= 1:2.4
219Requires: python-pycairo >= 1.0
220Requires: python-pygobject
221Requires: python-pygtk-gtk >= 2:2.8
222Suggests: python-gnome-desktop-gtksourceview
e1c8d79f 223
224%description gitview
30794a22 225A GTK+ based repository browser for git.
e1c8d79f 226
227%description gitview -l pl.UTF-8
30794a22 228Oparta na GTK+ przeglądarka repozytorium gita.
e1c8d79f 229
f9871074
AG
230%package gui
231Summary: Tcl/Tk interface to the Git version control system
232Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
233Group: Development/Tools
234Requires: %{name} = %{version}-%{release}
235Requires: tk
d4106757 236Requires: xdg-utils
531b434f 237Suggests: meld
f9871074
AG
238
239%description gui
240Displays changes in a repository or a selected set of commits. This
241includes visualizing the commit graph, showing information related to
242each commit, and the files in the trees of each revision.
243
244Historically, gitk was the first repository browser. It's written in
245Tcl/Tk and started off in a separate repository but was later merged
246into the main git repository.
247
248%description gui -l pl.UTF-8
249Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza
250to wizualizację grafu commitów, wyświetlanie informacji związanych z
251każdym z commitów oraz listę plików dla każdej rewizji.
252
253Z punktu widzenia historii, gitk był pierwszą przeglądarką
254repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
255osobnym repozytorium, ale z czasem został włączony do głównego
256repozytorium gita.
257
2c0376c9
AM
258%package svn
259Summary: Subversion support for Git
41b5f4b1 260Summary(pl.UTF-8): Obsługa Subversion dla Gita
2c0376c9
AM
261Group: Development/Tools
262Requires: %{name} = %{version}-%{release}
4ea37765 263Requires: perl-Term-ReadKey
2c0376c9
AM
264
265%description svn
266Subversion support for Git.
267
268%description svn -l pl.UTF-8
41b5f4b1 269Obsługa Subversion dla Gita.
2c0376c9
AM
270
271%package cvs
272Summary: CVS support for Git
41b5f4b1 273Summary(pl.UTF-8): Obsługa CVS dla Gita
2c0376c9
AM
274Group: Development/Tools
275Requires: %{name} = %{version}-%{release}
276Requires: cvsps >= 2.1-2
277Requires: rcs
278
279%description cvs
280CVS support for Git.
281
282%description cvs -l pl.UTF-8
41b5f4b1 283Obsługa CVS dla Gita.
2c0376c9 284
d82521ea
ER
285%package arch
286Summary: Git tools for importing Arch repositories
41b5f4b1 287Summary(pl.UTF-8): Narzędzia Gita do importowania repozytoriów Archa
d82521ea
ER
288Group: Development/Tools
289Requires: %{name} = %{version}-%{release}
290Requires: tla
291
292%description arch
293Git tools for importing Arch repositories.
294
41b5f4b1
JB
295%description arch -l pl.UTF-8
296Narzędzia Gita do importowania repozytoriów Archa.
297
d82521ea
ER
298%package email
299Summary: Git tools for sending email
41b5f4b1 300Summary(pl.UTF-8): Narzędzia Gita do wysyłania poczty
d82521ea
ER
301Group: Development/Tools
302Requires: %{name} = %{version}-%{release}
303
304%description email
305Git tools for sending email.
306
41b5f4b1
JB
307%description email -l pl.UTF-8
308Narzędzia Gita do wysyłania poczty.
309
f2c1983d
AG
310%package -n bash-completion-git
311Summary: bash-completion for git
2712fe7b 312Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita
02059138 313Group: Applications/Shells
f2c1983d
AG
314Requires: bash-completion
315
316%description -n bash-completion-git
317This package provides bash-completion for git.
318
319%description -n bash-completion-git -l pl.UTF-8
5383e3af 320Pakiet ten dostarcza bashowe uzupełnianie nazw dla gita.
f2c1983d 321
3dc01deb 322%package -n perl-Git
5d7220ad 323Summary: Perl interface to the Git version control system
3f8032f4 324Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git
5d7220ad 325Group: Development/Languages/Perl
27b79a12 326Obsoletes: perl-git-core
5d7220ad 327
3dc01deb 328%description -n perl-Git
5d7220ad
AM
329This module provides Perl scripts easy way to interface the Git
330version control system. The modules have an easy and well-tested way
331to call arbitrary Git commands; in the future, the interface will also
332provide specialized methods for doing easily operations which are not
333totally trivial to do over the generic command interface.
334
ea061c99
JR
335%description -n perl-Git -l pl.UTF-8
336Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli
08cc92d7
ER
337wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać
338dowolne polecenia Gita; w przyszłości interfejs udostępni także
339specjalne metody do łatwego wykonywania operacji nietrywialnych do
340wykonania przy użyciu ogólnego interfejsu poleceń.
7eef96e1 341
778b89a7
AM
342%package -n python-Git
343Summary: Python interface to the Git version control system
344Summary(pl.UTF-8): Pythonowy interfejs do systemu kontroli wersji Git
345Group: Development/Languages/Python
346
347%description -n python-Git
348This module provides Python scripts easy way to interface the Git
349version control system.
350
351%description -n python-Git -l pl.UTF-8
352Ten moduł umożliwia skryptom Pythonowym współpracę z systemem kontroli
353wersji Git.
354
f2c1983d
AG
355%package -n vim-syntax-gitcommit
356Summary: Vim syntax: gitcommit
2712fe7b 357Summary(pl.UTF-8): Składnia dla Vima: gitcommit
f2c1983d
AG
358Group: Applications/Editors/Vim
359# for _vimdatadir existence
34bbdd69 360Requires: vim-rt >= 4:6.3.058-3
f2c1983d
AG
361
362%description -n vim-syntax-gitcommit
363This plugin provides syntax highlighting for git's commit messages.
364
365%description -n vim-syntax-gitcommit -l pl.UTF-8
2712fe7b 366Ta wtyczka dostarcza podświetlanie składni dla treści commitów gita.
f2c1983d 367
51c3b977 368%prep
bf83806a 369%setup -q -n git-%{version}
6b1e62ae 370%patch0 -p1
a1036d06 371
372%build
11856720
AM
373%{__aclocal}
374%{__autoconf}
375%configure \
376 --with-openssl
51c3b977 377
7cfee1ba
KK
378echo "BLK_SHA1=1" >> config.mak
379
b69112f7 380%{__make} \
be2ccf99
AG
381 INSTALLDIRS=vendor \
382 GITWEB_CONFIG="%{webappdir}/gitweb.conf" \
383 GITWEB_PROJECTROOT="/var/lib/git" \
384 GITWEB_CSS="/gitweb/gitweb.css" \
385 GITWEB_LOGO="/gitweb/git-logo.png" \
f74aede9
JB
386 GITWEB_FAVICON="/gitweb/git-favicon.png" \
387 V=1
27b79a12 388
612c06d1
ER
389# use DOCBOOK_XSL_172=1 to fix 'the ".ft C" problem' in generated manpages.
390%{?with_doc:%{__make} -C Documentation V=1 DOCBOOK_XSL_172=1}
7fdeb28c 391
db032591
AM
392%if %{with tests}
393%if %{without tests_cvs}
aa2c9330 394rm t/t*cvs*.sh || :
db032591
AM
395%endif
396%{__make} test
397%endif
6c0d6e05 398
51c3b977 399%install
400rm -rf $RPM_BUILD_ROOT
5db07614 401install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/xdiff,%{_localstatedir}/lib/git}
be2ccf99 402install -d $RPM_BUILD_ROOT{%{appdir},%{cgibindir},%{webappdir}}
5db07614 403install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d}
c751087d 404
51c3b977 405%{__make} install \
d778c02c 406 INSTALLDIRS=vendor \
51c3b977 407 DESTDIR=$RPM_BUILD_ROOT
408
08cc92d7 409%if %{with doc}
7fdeb28c 410%{__make} -C Documentation install \
7fdeb28c 411 DESTDIR=$RPM_BUILD_ROOT
08cc92d7 412%endif
7fdeb28c 413
1f25da6d 414# header files and lib
44ee5525 415cp -a *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
31b26a50 416cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name}
44ee5525
ER
417cp -a xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
418cp -a libgit.a $RPM_BUILD_ROOT%{_libdir}
419cp -a xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
e3cefa79 420
f2c1983d 421# bash completion
d82521ea
ER
422install -d $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
423cp -a contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{_sysconfdir}/bash_completion.d
f2c1983d
AG
424
425# vim syntax
d82521ea
ER
426install -d $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax
427cat > $RPM_BUILD_ROOT%{_datadir}/vim/vimfiles/syntax/gitcommit.vim << 'EOF'
670fe4d6
AG
428autocmd BufNewFile,BufRead *.git/COMMIT_EDITMSG setf gitcommit
429autocmd BufNewFile,BufRead *.git/config,.gitconfig setf gitconfig
430autocmd BufNewFile,BufRead git-rebase-todo setf gitrebase
431autocmd BufNewFile,BufRead .msg.[0-9]*
432 \ if getline(1) =~ '^From.*# This line is ignored.$' |
433 \ setf gitsendemail |
434 \ endif
435autocmd BufNewFile,BufRead *.git/**
436 \ if getline(1) =~ '^\x\{40\}\>\|^ref: ' |
437 \ setf git |
438 \ endif
439EOF
f2c1983d 440
be2ccf99 441# gitweb
4f98dcd3 442mv $RPM_BUILD_ROOT{%{appdir},%{cgibindir}}/gitweb.cgi
d82521ea
ER
443cp -a %{SOURCE1} $RPM_BUILD_ROOT%{webappdir}/gitweb.conf
444cp -a %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/apache.conf
445cp -a %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/httpd.conf
51ce768a 446cp -a %{SOURCE3} $RPM_BUILD_ROOT%{webappdir}/lighttpd.conf
be2ccf99 447
e1c8d79f 448# gitview
d82521ea 449install -p contrib/gitview/gitview $RPM_BUILD_ROOT%{_bindir}
e1c8d79f 450
b11ada2c 451# git-daemon related files
51ce768a
KK
452cp -a %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/git-daemon
453cp -a %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
454install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
b11ada2c 455
bf7a9a54 456# paths cleanup
2c0376c9 457sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
bf7a9a54
AG
458sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
459
4e9fd7a9
ER
460# hardlink
461ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-receive-pack}
462ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-upload-archive}
463ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-shell
464ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-upload-pack
465
be2ccf99 466# remove unneeded files
d82521ea
ER
467rm $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
468rm $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
44ee5525 469%py_postclean
27b79a12 470
51c3b977 471%clean
472rm -rf $RPM_BUILD_ROOT
473
b11ada2c
AG
474%post daemon-inetd
475%service -q rc-inetd reload
476
477%postun daemon-inetd
478if [ "$1" = "0" ]; then
479 %service -q rc-inetd reload
480fi
481
482%post daemon-standalone
483/sbin/chkconfig --add git-daemon
484%service git-daemon restart "git-daemon"
485
486%preun daemon-standalone
487if [ "$1" = "0" ]; then
488 %service git-daemon stop
489 /sbin/chkconfig --del git-daemon
490fi
491
be2ccf99
AG
492%triggerin gitweb -- apache1 < 1.3.37-3, apache1-base
493%webapp_register apache %{webapp}
494
495%triggerun gitweb -- apache1 < 1.3.37-3, apache1-base
496%webapp_unregister apache %{webapp}
497
498%triggerin gitweb -- apache < 2.2.0, apache-base
499%webapp_register httpd %{webapp}
500
501%triggerun gitweb -- apache < 2.2.0, apache-base
502%webapp_unregister httpd %{webapp}
503
51ce768a
KK
504%triggerin gitweb -- lighttpd
505%webapp_register lighttpd %{webapp}
506
507%triggerun gitweb -- lighttpd
508%webapp_unregister lighttpd %{webapp}
509
51c3b977 510%files
511%defattr(644,root,root,755)
08cc92d7 512%doc README contrib
a8655d02 513%attr(755,root,root) %{_bindir}/git
44ee5525
ER
514%attr(755,root,root) %{_bindir}/git-receive-pack
515%attr(755,root,root) %{_bindir}/git-shell
516%attr(755,root,root) %{_bindir}/git-upload-archive
517%attr(755,root,root) %{_bindir}/git-upload-pack
a8655d02 518
08cc92d7 519%if %{with doc}
0afd37aa 520%{_mandir}/man1/git-*.1*
2c0376c9
AM
521%exclude %{_mandir}/man1/git-svn.1*
522%exclude %{_mandir}/man1/git-cvs*.1*
a48d28b8 523%{_mandir}/man1/git.1*
0afd37aa 524%{_mandir}/man5/gitattributes.5*
a48d28b8 525%{_mandir}/man5/githooks.5*
0afd37aa 526%{_mandir}/man5/gitignore.5*
785b167d 527%{_mandir}/man5/gitmodules.5*
a48d28b8
AG
528%{_mandir}/man5/gitrepository-layout.5*
529%{_mandir}/man7/gitcli.7*
530%{_mandir}/man7/gitcore-tutorial.7*
a48d28b8
AG
531%{_mandir}/man7/gitdiffcore.7*
532%{_mandir}/man7/gitglossary.7*
f16e8911 533%{_mandir}/man7/gitrevisions.7*
a48d28b8
AG
534%{_mandir}/man7/gittutorial-2.7*
535%{_mandir}/man7/gittutorial.7*
670fe4d6 536%{_mandir}/man7/gitworkflows.7*
08cc92d7 537%endif
a8655d02 538
bf6fa63c
AM
539%dir %{_libdir}/%{name}
540%attr(755,root,root) %{_libdir}/%{name}/*-*
39dc084d 541%attr(755,root,root) %{_libdir}/%{name}/git
a8655d02 542
bf6fa63c 543%exclude %{_libdir}/%{name}/git-gui
2c0376c9 544%exclude %{_libdir}/%{name}/git-svn
d82521ea 545%exclude %{_libdir}/%{name}/git-archimport
2c0376c9 546%exclude %{_libdir}/%{name}/git-cvs*
d82521ea 547%exclude %{_libdir}/%{name}/*email*
a8655d02 548
6c4f9a5b 549%{_datadir}/%{name}
a8655d02 550
5db07614 551%{_localstatedir}/lib/git
e3cefa79 552
a8655d02
ER
553%if %{with doc}
554%files doc
778b89a7 555%defattr(644,root,root,755)
a8655d02
ER
556%doc Documentation/RelNotes*
557%doc Documentation/*.html Documentation/howto Documentation/technical
558%endif
559
b11ada2c
AG
560%files daemon-inetd
561%defattr(644,root,root,755)
562%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/git-daemon
563
564%files daemon-standalone
565%defattr(644,root,root,755)
566%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/git-daemon
567%attr(754,root, root) /etc/rc.d/init.d/git-daemon
568
e3cefa79 569%files devel
3ff86e9e 570%defattr(644,root,root,755)
5db07614
JB
571%{_includedir}/git-core
572%{_libdir}/libgit.a
eaf5c40c 573%{_libdir}/libgit_xdiff.a
5d7220ad 574
91396e2e
AG
575%files gitk
576%defattr(644,root,root,755)
08cc92d7 577%if %{with doc}
91396e2e 578%{_mandir}/man1/gitk.1*
08cc92d7
ER
579%endif
580%attr(755,root,root) %{_bindir}/gitk
9fa88d97
AM
581%dir %{_datadir}/gitk
582%dir %{_datadir}/gitk/lib
583%dir %{_datadir}/gitk/lib/msgs
3b243bbe 584%lang(de) %{_datadir}/gitk/lib/msgs/de.msg
f9871074 585%lang(es) %{_datadir}/gitk/lib/msgs/es.msg
778b89a7
AM
586%lang(fr) %{_datadir}/gitk/lib/msgs/fr.msg
587%lang(hu) %{_datadir}/gitk/lib/msgs/hu.msg
3b243bbe 588%lang(it) %{_datadir}/gitk/lib/msgs/it.msg
469258c9 589%lang(ja) %{_datadir}/gitk/lib/msgs/ja.msg
3ed82b68 590%lang(pt_BR) %{_datadir}/gitk/lib/msgs/pt_br.msg
95998f97 591%lang(ru) %{_datadir}/gitk/lib/msgs/ru.msg
f9871074 592%lang(sv) %{_datadir}/gitk/lib/msgs/sv.msg
91396e2e 593
be2ccf99
AG
594%files gitweb
595%defattr(644,root,root,755)
596%doc gitweb/{README,INSTALL}
597%dir %{webappdir}
598%config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitweb.conf
599%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/apache.conf
600%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/httpd.conf
51ce768a 601%config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/lighttpd.conf
be2ccf99
AG
602%attr(755,root,root) %{cgibindir}/gitweb.cgi
603%{appdir}
604
e1c8d79f 605%files gitview
606%defattr(644,root,root,755)
607%doc contrib/gitview/gitview.txt
608%attr(755,root,root) %{_bindir}/gitview
609
f9871074
AG
610%files gui
611%defattr(644,root,root,755)
bf6fa63c 612%attr(755,root,root) %{_libdir}/%{name}/git-gui
f9871074
AG
613%dir %{_datadir}/git-gui
614%dir %{_datadir}/git-gui/lib
615%dir %{_datadir}/git-gui/lib/msgs
616%{_datadir}/git-gui/lib/git-gui.ico
617%{_datadir}/git-gui/lib/tclIndex
618%{_datadir}/git-gui/lib/*.js
619%{_datadir}/git-gui/lib/*.tcl
620%lang(de) %{_datadir}/git-gui/lib/msgs/de.msg
469258c9 621%lang(el) %{_datadir}/git-gui/lib/msgs/el.msg
f9871074
AG
622%lang(fr) %{_datadir}/git-gui/lib/msgs/fr.msg
623%lang(hu) %{_datadir}/git-gui/lib/msgs/hu.msg
624%lang(it) %{_datadir}/git-gui/lib/msgs/it.msg
625%lang(ja) %{_datadir}/git-gui/lib/msgs/ja.msg
670fe4d6 626%lang(nb) %{_datadir}/git-gui/lib/msgs/nb.msg
f9871074
AG
627%lang(ru) %{_datadir}/git-gui/lib/msgs/ru.msg
628%lang(sv) %{_datadir}/git-gui/lib/msgs/sv.msg
35cbc54f 629%lang(zh_CN) %{_datadir}/git-gui/lib/msgs/zh_cn.msg
f9871074 630
2c0376c9
AM
631%files svn
632%defattr(644,root,root,755)
633%attr(755,root,root) %{_libdir}/%{name}/git-svn
634%if %{with doc}
635%{_mandir}/man1/git-svn.1*
636%endif
637
638%files cvs
639%defattr(644,root,root,755)
44ee5525 640%attr(755,root,root) %{_bindir}/git-cvsserver
2c0376c9
AM
641%attr(755,root,root) %{_libdir}/%{name}/git-cvs*
642%if %{with doc}
643%{_mandir}/man1/git-cvs*.1*
644%{_mandir}/man7/gitcvs-migration.7*
645%endif
646
d82521ea
ER
647%files arch
648%defattr(644,root,root,755)
d82521ea
ER
649%attr(755,root,root) %{_libdir}/%{name}/git-archimport
650%if %{with doc}
d82521ea
ER
651%{_mandir}/man1/git-archimport.1*
652%endif
653
654%files email
655%defattr(644,root,root,755)
d82521ea
ER
656%attr(755,root,root) %{_libdir}/%{name}/*email*
657%if %{with doc}
d82521ea
ER
658%{_mandir}/man1/*email*.1*
659%endif
660
f2c1983d
AG
661%files -n bash-completion-git
662%defattr(644,root,root,755)
663%{_sysconfdir}/bash_completion.d/*
664
3dc01deb 665%files -n perl-Git
5d7220ad 666%defattr(644,root,root,755)
3dc01deb 667%{perl_vendorlib}/Git.pm
0afd37aa 668%{_mandir}/man3/Git.3pm*
f2c1983d 669
778b89a7
AM
670%files -n python-Git
671%defattr(644,root,root,755)
778b89a7
AM
672%dir %{py_sitescriptdir}/git_remote_helpers
673%{py_sitescriptdir}/git_remote_helpers/*.py[co]
674%dir %{py_sitescriptdir}/git_remote_helpers/git
675%{py_sitescriptdir}/git_remote_helpers/git/*.py[co]
ab6547d4
ER
676%if "%{py_ver}" > "2.4"
677%{py_sitescriptdir}/git_remote_helpers*.egg-info
678%endif
778b89a7 679
f2c1983d
AG
680%files -n vim-syntax-gitcommit
681%defattr(644,root,root,755)
682%doc contrib/vim/README
d82521ea 683%{_datadir}/vim/vimfiles/syntax/*.vim
This page took 0.166699 seconds and 4 git commands to generate.