3 %bcond_without tests # don't perform make test
4 %bcond_with tests_cvs # perform tests which use CVS
5 %bcond_without tests_svn # perform tests which use subversion
6 %bcond_without doc # skip building/packaging docs/manuals (takes some time)
7 %bcond_without pcre # perl-compatible regexes support
8 %bcond_without gnome_keyring # build without gnome keyring support
10 # for AC: --without doc --without gnome_keyring --without tests
12 %include /usr/lib/rpm/macros.perl
13 Summary: Distributed version control system focused on speed, effectivity and usability
14 Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
19 Group: Development/Tools
20 Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.gz
21 # Source0-md5: 846ac45a1638e9a6ff3a9b790f6c8d99
22 Source1: %{name}-gitweb.conf
23 Source2: %{name}-gitweb-httpd.conf
24 Source3: %{name}-gitweb-lighttpd.conf
25 Source4: %{name}.sysconfig
29 Patch0: %{name}-tests.patch
30 Patch1: %{name}-key-bindings.patch
31 Patch2: %{name}-sysconfdir.patch
32 Patch3: cherry-picked-commitlog.patch
33 Patch4: %{name}-svn-exit-errors.patch
34 Patch5: %{name}-test-grep.patch
35 URL: http://git-scm.com/
36 BuildRequires: autoconf >= 2.59
37 BuildRequires: automake
38 BuildRequires: curl-devel
39 BuildRequires: expat-devel
40 BuildRequires: gettext-tools
41 %if %{with gnome_keyring}
42 BuildRequires: libgnome-keyring-devel
43 BuildRequires: pkgconfig
45 BuildRequires: openssl-devel
46 %{?with_pcre:BuildRequires: pcre-devel}
47 BuildRequires: perl-Error > 0.15
48 BuildRequires: perl-base
49 BuildRequires: python-devel
50 BuildRequires: rpm-perlprov >= 4.1-13
51 BuildRequires: rpm-pythonprov
52 BuildRequires: rpmbuild(macros) >= 1.673
54 BuildRequires: zlib-devel
56 BuildRequires: asciidoc >= 7.1.2-3
57 BuildRequires: docbook-dtd45-xml
62 # tests failed sometimes when using nserver/cvsnt client so enforce pure cvs here
63 BuildRequires: cvs-gnu-client < 1.13
64 BuildRequires: cvs-gnu-client >= 1.12
67 BuildRequires: perl-subversion
68 BuildRequires: subversion
70 Conflicts: pdksh < 5.2.14-46
72 # git-sh-setup: sane_grep
76 Requires: openssh-clients
78 Requires: perl-Git = %{version}-%{release}
80 Suggests: git-core-bzr
81 Suggests: git-core-cvs
84 Suggests: git-core-svn
88 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
90 # html docs have links to txt files
91 %define _noautocompressdoc *.txt
94 %define webappdir %{_sysconfdir}/webapps/%{webapp}
95 %define appdir %{_datadir}/%{webapp}
96 %define cgibindir %{_prefix}/lib/cgi-bin
97 %define gitcoredir %{_libdir}/%{name}
100 "git" can mean anything, depending on your mood.
102 - random three-letter combination that is pronounceable, and not
103 actually used by any common UNIX command. The fact that it is a
104 mispronunciation of "get" may or may not be relevant.
105 - stupid. contemptible and despicable. simple. Take your pick from the
107 - "global information tracker": you're in a good mood, and it actually
108 works for you. Angels sing, and a light suddenly fills the room.
109 - "goddamn idiotic truckload of sh*t": when it breaks
111 This is a stupid (but extremely fast) directory content manager. It
112 doesn't do a whole lot, but what it 'does' do is track directory
113 contents efficiently.
115 %description -l pl.UTF-8
116 "git" może oznaczać cokolwiek, w zależności od nastroju.
118 - losową kombinację trzech liter, która jest wymawialna i właściwie
119 nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to
120 błędna pisownia słowa "get" może mieć lub nie mieć znaczenia.
121 - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu.
122 - "global information tracker" (narzędzie do globalnego śledzenia
123 informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa.
124 Anioły śpiewają, a światło niespodziewanie wypełnia pokój.
125 - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek
126 g*) - kiedy się zepsuje.
128 Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej.
129 Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości
133 Summary: Documentation for git-core
134 Summary(pl.UTF-8): Dokumentacja do git-core
136 %if "%{_rpmversion}" >= "5"
141 Documentation for git-core.
143 %description doc -l pl.UTF-8
144 Dokumentacja do git-core.
146 %package daemon-inetd
147 Summary: Files necessary to run git-daemon as an inetd service
148 Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi inetd
149 Group: Networking/Daemons
150 Requires: %{name} = %{version}-%{release}
151 Requires: setup >= 2.4.11-1
152 Provides: git-core-daemon
153 Obsoletes: git-core-daemon
154 Obsoletes: git-core-daemon-standalone
156 %description daemon-inetd
157 Git-daemon is a really simple TCP git daemon that can serve git
158 repositories. This package provides all necessarry files to run
159 git-daemon as an inetd service.
161 %description daemon-inetd -l pl.UTF-8
162 Git-daemon to prosty demon git korzystający z protokołu TCP do
163 udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
164 do uruchomienia git-demona w trybie usługi inetd.
166 %package daemon-standalone
167 Summary: Files necessary to run git-daemon as a standalone service
168 Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi samodzielnej
169 Group: Networking/Daemons
170 Requires: %{name} = %{version}-%{release}
171 Provides: git-core-daemon
172 Obsoletes: git-core-daemon
173 Obsoletes: git-core-daemon-inetd
175 %description daemon-standalone
176 Git-daemon is a really simple TCP git daemon that can serve git
177 repositories. This package provides all necessarry files to run
178 git-daemon as an standalone service.
180 %description daemon-standalone -l pl.UTF-8
181 Git-daemon to prosty demon git korzystający z protokołu TCP do
182 udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
183 do uruchomienia git-daemona w trybie usługi samodzielnej.
186 Summary: Git library with header files
187 Summary(pl.UTF-8): Biblioteka Gita oraz pliki nagłówkowe
188 Group: Development/Libraries
192 Git library with header files.
194 %description devel -l pl.UTF-8
195 Biblioteka Gita oraz pliki nagłówkowe.
198 Summary: Tcl/Tk interface to the Git version control system
199 Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
200 Group: Development/Tools
201 Requires: %{name} = %{version}-%{release}
205 gitk displays changes in a repository or a selected set of commits.
206 This includes visualizing the commit graph, showing information
207 related to each commit, and the files in the trees of each revision.
209 Historically, gitk was the first repository browser. It's written in
210 Tcl/Tk and started off in a separate repository but was later merged
211 into the main git repository.
213 %description gitk -l pl.UTF-8
214 gitk wyświetla zmiany w repozytorium lub wybranym zbiorze commitów.
215 Oznacza to wizualizację grafu commitów, wyświetlanie informacji
216 związanych z każdym z commitów oraz listę plików dla każdej rewizji.
218 Z historycznego punktu widzenia gitk był pierwszą przeglądarką
219 repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
220 osobnym repozytorium, ale z czasem został włączony do głównego
224 Summary: Web frontend to git
225 Summary(pl.UTF-8): Frontend WWW do gita
226 Group: Development/Tools
227 Requires: %{name} = %{version}-%{release}
229 Requires: webserver(access)
230 Requires: webserver(alias)
231 Requires: webserver(cgi)
232 Suggests: webserver(setenv)
235 This package provides a web interface for browsing git repositories.
237 %description gitweb -l pl.UTF-8
238 Pakiet ten dostarcza interfejs WWW do przeglądania repozytoriów gita.
241 Summary: A GTK+ based repository browser for git
242 Summary(pl.UTF-8): Oparta na GTK+ przeglądarka repozytorium gita
243 Group: Development/Tools
244 Requires: %{name} = %{version}-%{release}
245 Requires: python >= 1:2.4
246 Requires: python-pycairo >= 1.0
247 Requires: python-pygobject
248 Requires: python-pygtk-gtk >= 2:2.8
249 Suggests: python-gnome-desktop-gtksourceview
252 A GTK+ based repository browser for git.
254 %description gitview -l pl.UTF-8
255 Oparta na GTK+ przeglądarka repozytorium gita.
258 Summary: Tcl/Tk interface to the Git version control system
259 Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
260 Group: Development/Tools
261 Requires: %{name} = %{version}-%{release}
267 Displays changes in a repository or a selected set of commits. This
268 includes visualizing the commit graph, showing information related to
269 each commit, and the files in the trees of each revision.
271 Historically, gitk was the first repository browser. It's written in
272 Tcl/Tk and started off in a separate repository but was later merged
273 into the main git repository.
275 %description gui -l pl.UTF-8
276 Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza
277 to wizualizację grafu commitów, wyświetlanie informacji związanych z
278 każdym z commitów oraz listę plików dla każdej rewizji.
280 Z punktu widzenia historii, gitk był pierwszą przeglądarką
281 repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
282 osobnym repozytorium, ale z czasem został włączony do głównego
286 Summary: Git tools for importing Arch repositories
287 Summary(pl.UTF-8): Narzędzia Gita do importowania repozytoriów Archa
288 Group: Development/Tools
289 Requires: %{name} = %{version}-%{release}
293 Git tools for importing Arch repositories.
295 %description arch -l pl.UTF-8
296 Narzędzia Gita do importowania repozytoriów Archa.
299 Summary: Git tools for working with bzr repositories
300 Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami bzr
301 Group: Development/Tools
302 Requires: %{name} = %{version}-%{release}
306 Git tools for working with bzr repositories.
308 %description bzr -l pl.UTF-8
309 Narzędzia Gita do pracy z repozytoriami bzr.
312 Summary: CVS support for Git
313 Summary(pl.UTF-8): Obsługa CVS dla Gita
314 Group: Development/Tools
315 Requires: %{name} = %{version}-%{release}
316 Requires: cvsps >= 2.1-2
322 %description cvs -l pl.UTF-8
323 Obsługa CVS dla Gita.
326 Summary: Git tools for working with mercurial repositories
327 Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami mercuriala
328 Group: Development/Tools
329 Requires: %{name} = %{version}-%{release}
330 Requires: mercurial >= 1.8
333 Git tools for working with mercurial repositories.
335 %description hg -l pl.UTF-8
336 Narzędzia Gita do pracy z repozytoriami mercuriala.
339 Summary: Git tools for working with Perforce depots
340 Summary(pl.UTF-8): Narzędzia Gita do pracy z magazynami Perforce'a
341 Group: Development/Tools
342 Requires: %{name} = %{version}-%{release}
345 Git tools for working with Perforce depots.
347 %description p4 -l pl.UTF-8
348 Narzędzia Gita do pracy z magazynami Perforce'a.
351 Summary: Subversion support for Git
352 Summary(pl.UTF-8): Obsługa Subversion dla Gita
353 Group: Development/Tools
354 Requires: %{name} = %{version}-%{release}
355 Requires: perl-Encode
356 Requires: perl-Term-ReadKey
359 Subversion support for Git.
361 %description svn -l pl.UTF-8
362 Obsługa Subversion dla Gita.
365 Summary: Git tools for sending email
366 Summary(pl.UTF-8): Narzędzia Gita do wysyłania poczty
367 Group: Development/Tools
368 Requires: %{name} = %{version}-%{release}
371 Git tools for sending email.
373 %description email -l pl.UTF-8
374 Narzędzia Gita do wysyłania poczty.
376 %package -n bash-completion-git
377 Summary: bash-completion for git
378 Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita
379 Group: Applications/Shells
380 Requires: %{name} = %{version}-%{release}
381 Requires: bash-completion >= 2.0
382 %if "%{_rpmversion}" >= "5"
386 %description -n bash-completion-git
387 This package provides bash-completion for git.
389 %description -n bash-completion-git -l pl.UTF-8
390 Pakiet ten dostarcza bashowe uzupełnianie nazw dla gita.
393 Summary: Perl interface to the Git version control system
394 Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git
395 Group: Development/Languages/Perl
396 Obsoletes: perl-git-core
398 %description -n perl-Git
399 This module provides Perl scripts easy way to interface the Git
400 version control system. The modules have an easy and well-tested way
401 to call arbitrary Git commands; in the future, the interface will also
402 provide specialized methods for doing easily operations which are not
403 totally trivial to do over the generic command interface.
405 %description -n perl-Git -l pl.UTF-8
406 Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli
407 wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać
408 dowolne polecenia Gita; w przyszłości interfejs udostępni także
409 specjalne metody do łatwego wykonywania operacji nietrywialnych do
410 wykonania przy użyciu ogólnego interfejsu poleceń.
412 %package -n gnome-keyring-git-core
413 Summary: GNOME Keyring authentication provider for Git
414 Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Git
415 Group: X11/Applications
416 URL: http://git-scm.com/docs/gitcredentials.html
417 Requires: %{name} = %{version}-%{release}
419 %description -n gnome-keyring-git-core
420 Authentication provider module for Git which allows git client to
421 authenticate using GNOME Keyring.
423 You need to register it with:
424 - git config --global credential.helper gnome-keyring
426 %description -n gnome-keyring-git-core -l pl.UTF-8
427 Moduł uwierzytelniający dla Subversion pozwalający klientom git
428 uwierzytelniać się przy użyciu mechanizmu GNOME Keyring.
430 Moduł trzeba zarejestrować poleceniem:
431 - git config --global credential.helper gnome-keyring
434 %setup -q -n git-%{version}
442 %{__rm} {Documentation/technical,contrib/emacs,contrib/credential/gnome-keyring}/.gitignore
444 # we build things in contrib but want to have it clean for doc purporses, too
445 cp -a contrib contrib-doc
451 --sysconfdir=%{_sysconfdir}/git-core \
452 %{?with_pcre:--with-libpcre} \
455 echo "BLK_SHA1=1" >> config.mak
459 GITWEB_CONFIG="%{webappdir}/gitweb.conf" \
460 GITWEB_PROJECTROOT="/var/lib/git" \
461 GITWEB_CSS="/gitweb/gitweb.css" \
462 GITWEB_LOGO="/gitweb/git-logo.png" \
463 GITWEB_FAVICON="/gitweb/git-favicon.png" \
466 %{__make} -C contrib/subtree
468 %if %{with gnome_keyring}
469 %{__make} -C contrib/credential/gnome-keyring
473 %{__make} -C Documentation \
474 MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \
479 %if %{without tests_cvs}
480 %{__rm} t/t*cvs*.sh || :
482 %{!?with_tests_svn:GIT_SKIP_TESTS='t91??'} %{__make} test
486 rm -rf $RPM_BUILD_ROOT
487 install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/xdiff,%{_localstatedir}/lib/git}
488 install -d $RPM_BUILD_ROOT{%{appdir},%{cgibindir},%{webappdir}}
489 install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d}
490 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
491 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/git-core/gitconfig
493 templatedir = %{_sysconfdir}/%{name}/templates
498 DESTDIR=$RPM_BUILD_ROOT
501 %{__make} -C Documentation install \
502 DESTDIR=$RPM_BUILD_ROOT
505 # copy templates except sample hooks
506 cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/templates $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
507 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/templates/hooks/*.sample
509 # header files and lib
510 cp -p *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
511 cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name}
512 cp -p xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
513 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
514 cp -p block-sha1/sha1.h $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
515 cp -p libgit.a $RPM_BUILD_ROOT%{_libdir}
516 cp -p xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
517 cp -p {Makefile,config.mak,config.mak.autogen,config.mak.uname} $RPM_BUILD_ROOT%{_includedir}/%{name}
519 %{__make} -C contrib/subtree install \
520 libexecdir=%{gitcoredir} \
521 DESTDIR=$RPM_BUILD_ROOT
524 %{__make} -C contrib/subtree install-man \
525 DESTDIR=$RPM_BUILD_ROOT
528 %if %{with gnome_keyring}
529 install -p contrib/credential/gnome-keyring/git-credential-gnome-keyring $RPM_BUILD_ROOT%{gitcoredir}
533 install -d $RPM_BUILD_ROOT%{bash_compdir}
534 cp -p contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{bash_compdir}/git
536 # Install git-prompt.sh
537 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion
538 cp -p contrib/completion/git-prompt.sh $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion
540 # Install bzr and hg remote helpers from contrib
541 install -p contrib/remote-helpers/git-remote-{bzr,hg} $RPM_BUILD_ROOT%{gitcoredir}
544 mv $RPM_BUILD_ROOT{%{appdir},%{cgibindir}}/gitweb.cgi
545 ln -s %{cgibindir}/gitweb.cgi $RPM_BUILD_ROOT%{appdir}/gitweb.cgi
546 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{webappdir}/gitweb.conf
547 cp -p %{SOURCE7} $RPM_BUILD_ROOT%{webappdir}/gitolite.pl
548 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/apache.conf
549 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/httpd.conf
550 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{webappdir}/lighttpd.conf
553 install -p contrib/gitview/gitview $RPM_BUILD_ROOT%{_bindir}
555 # git-daemon related files
556 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/git-daemon
557 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
558 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
561 sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
562 sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
565 ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-receive-pack}
566 ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-upload-archive}
567 ln -f $RPM_BUILD_ROOT{%{gitcoredir},%{_bindir}}/git-shell
568 ln -f $RPM_BUILD_ROOT{%{gitcoredir},%{_bindir}}/git-upload-pack
570 # remove unneeded files
571 %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
572 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
575 mv $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
579 rm -rf $RPM_BUILD_ROOT
582 %service -q rc-inetd reload
585 if [ "$1" = "0" ]; then
586 %service -q rc-inetd reload
589 %post daemon-standalone
590 /sbin/chkconfig --add git-daemon
591 %service git-daemon restart "git-daemon"
593 %preun daemon-standalone
594 if [ "$1" = "0" ]; then
595 %service git-daemon stop
596 /sbin/chkconfig --del git-daemon
599 %triggerin gitweb -- apache1 < 1.3.37-3, apache1-base
600 %webapp_register apache %{webapp}
602 %triggerun gitweb -- apache1 < 1.3.37-3, apache1-base
603 %webapp_unregister apache %{webapp}
605 %triggerin gitweb -- apache < 2.2.0, apache-base
606 %webapp_register httpd %{webapp}
608 %triggerun gitweb -- apache < 2.2.0, apache-base
609 %webapp_unregister httpd %{webapp}
611 %triggerin gitweb -- lighttpd
612 %webapp_register lighttpd %{webapp}
614 %triggerun gitweb -- lighttpd
615 %webapp_unregister lighttpd %{webapp}
618 %defattr(644,root,root,755)
619 %doc README contrib-doc
620 %attr(755,root,root) %{_bindir}/git
621 %attr(755,root,root) %{_bindir}/git-receive-pack
622 %attr(755,root,root) %{_bindir}/git-shell
623 %attr(755,root,root) %{_bindir}/git-upload-archive
624 %attr(755,root,root) %{_bindir}/git-upload-pack
625 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
628 %{_mandir}/man1/git-*.1*
629 %exclude %{_mandir}/man1/git-archimport.1*
630 %exclude %{_mandir}/man1/git-svn.1*
631 %exclude %{_mandir}/man1/git-cvs*.1*
632 %exclude %{_mandir}/man1/git-imap-send*.1*
633 %exclude %{_mandir}/man1/*email*.1*
634 %{_mandir}/man1/git.1*
635 %{_mandir}/man1/gitremote-helpers.1*
636 %{_mandir}/man5/gitattributes.5*
637 %{_mandir}/man5/githooks.5*
638 %{_mandir}/man5/gitignore.5*
639 %{_mandir}/man5/gitmodules.5*
640 %{_mandir}/man5/gitrepository-layout.5*
641 %{_mandir}/man7/gitcli.7*
642 %{_mandir}/man7/gitcore-tutorial.7*
643 %{_mandir}/man7/gitcredentials.7*
644 %{_mandir}/man7/gitdiffcore.7*
645 %{_mandir}/man7/giteveryday.7*
646 %{_mandir}/man7/gitglossary.7*
647 %{_mandir}/man7/gitnamespaces.7*
648 %{_mandir}/man7/gitrevisions.7*
649 %{_mandir}/man7/gittutorial-2.7*
650 %{_mandir}/man7/gittutorial.7*
651 %{_mandir}/man7/gitworkflows.7*
655 %attr(755,root,root) %{gitcoredir}/*-*
656 %attr(755,root,root) %{gitcoredir}/git
657 %dir %{gitcoredir}/mergetools
658 %{gitcoredir}/mergetools/*
661 %{_localstatedir}/lib/git
664 %exclude %{gitcoredir}/*email*
665 %exclude %{gitcoredir}/*p4*
666 %exclude %{gitcoredir}/git-archimport
667 %exclude %{gitcoredir}/git-cvs*
668 %exclude %{gitcoredir}/git-gui
669 %exclude %{gitcoredir}/git-imap-send
670 %exclude %{gitcoredir}/git-instaweb
671 %exclude %{gitcoredir}/git-remote-bzr
672 %exclude %{gitcoredir}/git-remote-hg
673 %exclude %{gitcoredir}/git-remote-testsvn
674 %exclude %{gitcoredir}/git-svn
675 %exclude %{gitcoredir}/mergetools/p4merge
676 %if %{with gnome_keyring}
677 %exclude %{gitcoredir}/git-credential-gnome-keyring
682 %defattr(644,root,root,755)
683 %doc Documentation/RelNotes*
684 %doc Documentation/*.html Documentation/howto Documentation/technical
688 %defattr(644,root,root,755)
689 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/git-daemon
691 %files daemon-standalone
692 %defattr(644,root,root,755)
693 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/git-daemon
694 %attr(754,root, root) /etc/rc.d/init.d/git-daemon
697 %defattr(644,root,root,755)
698 %{_includedir}/%{name}
700 %{_libdir}/libgit_xdiff.a
703 %defattr(644,root,root,755)
705 %{_mandir}/man1/gitk.1*
707 %attr(755,root,root) %{_bindir}/gitk
708 %dir %{_datadir}/gitk
709 %dir %{_datadir}/gitk/lib
710 %dir %{_datadir}/gitk/lib/msgs
711 %lang(bg) %{_datadir}/gitk/lib/msgs/bg.msg
712 %lang(ca) %{_datadir}/gitk/lib/msgs/ca.msg
713 %lang(de) %{_datadir}/gitk/lib/msgs/de.msg
714 %lang(es) %{_datadir}/gitk/lib/msgs/es.msg
715 %lang(fr) %{_datadir}/gitk/lib/msgs/fr.msg
716 %lang(hu) %{_datadir}/gitk/lib/msgs/hu.msg
717 %lang(it) %{_datadir}/gitk/lib/msgs/it.msg
718 %lang(ja) %{_datadir}/gitk/lib/msgs/ja.msg
719 %lang(pt_BR) %{_datadir}/gitk/lib/msgs/pt_br.msg
720 %lang(ru) %{_datadir}/gitk/lib/msgs/ru.msg
721 %lang(sv) %{_datadir}/gitk/lib/msgs/sv.msg
722 %lang(vi) %{_datadir}/gitk/lib/msgs/vi.msg
725 %defattr(644,root,root,755)
726 %doc gitweb/{README,INSTALL}
728 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/apache.conf
729 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/httpd.conf
730 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/lighttpd.conf
731 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitweb.conf
732 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitolite.pl
733 %attr(755,root,root) %{cgibindir}/gitweb.cgi
735 %attr(755,root,root) %{gitcoredir}/git-instaweb
737 %{_mandir}/man1/gitweb.1*
738 %{_mandir}/man5/gitweb.conf.5*
742 %defattr(644,root,root,755)
743 %doc contrib/gitview/gitview.txt
744 %attr(755,root,root) %{_bindir}/gitview
747 %defattr(644,root,root,755)
748 %attr(755,root,root) %{gitcoredir}/git-gui
749 %dir %{_datadir}/git-gui
750 %dir %{_datadir}/git-gui/lib
751 %dir %{_datadir}/git-gui/lib/msgs
752 %{_datadir}/git-gui/lib/git-gui.ico
753 %{_datadir}/git-gui/lib/tclIndex
754 %{_datadir}/git-gui/lib/*.js
755 %{_datadir}/git-gui/lib/*.tcl
756 %lang(bg) %{_datadir}/git-gui/lib/msgs/bg.msg
757 %lang(de) %{_datadir}/git-gui/lib/msgs/de.msg
758 %lang(el) %{_datadir}/git-gui/lib/msgs/el.msg
759 %lang(fr) %{_datadir}/git-gui/lib/msgs/fr.msg
760 %lang(hu) %{_datadir}/git-gui/lib/msgs/hu.msg
761 %lang(it) %{_datadir}/git-gui/lib/msgs/it.msg
762 %lang(ja) %{_datadir}/git-gui/lib/msgs/ja.msg
763 %lang(nb) %{_datadir}/git-gui/lib/msgs/nb.msg
764 %lang(pt_br) %{_datadir}/git-gui/lib/msgs/pt_br.msg
765 %lang(ru) %{_datadir}/git-gui/lib/msgs/ru.msg
766 %lang(sv) %{_datadir}/git-gui/lib/msgs/sv.msg
767 %lang(vi) %{_datadir}/git-gui/lib/msgs/vi.msg
768 %lang(zh_CN) %{_datadir}/git-gui/lib/msgs/zh_cn.msg
771 %defattr(644,root,root,755)
772 %attr(755,root,root) %{gitcoredir}/git-archimport
774 %{_mandir}/man1/git-archimport.1*
778 %defattr(644,root,root,755)
779 %attr(755,root,root) %{gitcoredir}/git-remote-bzr
782 %defattr(644,root,root,755)
783 %attr(755,root,root) %{_bindir}/git-cvsserver
784 %attr(755,root,root) %{gitcoredir}/git-cvs*
786 %{_mandir}/man1/git-cvs*.1*
787 %{_mandir}/man7/gitcvs-migration.7*
791 %defattr(644,root,root,755)
792 %attr(755,root,root) %{gitcoredir}/git-remote-hg
795 %defattr(644,root,root,755)
796 %attr(755,root,root) %{gitcoredir}/git-p4
797 %attr(755,root,root) %{gitcoredir}/mergetools/p4merge
800 %defattr(644,root,root,755)
801 %attr(755,root,root) %{gitcoredir}/git-svn
802 %attr(755,root,root) %{gitcoredir}/git-remote-testsvn
803 %{perl_vendorlib}/Git/SVN
804 %{perl_vendorlib}/Git/SVN.pm
806 %{_mandir}/man1/git-svn.1*
810 %defattr(644,root,root,755)
811 %attr(755,root,root) %{gitcoredir}/git-imap-send
812 %attr(755,root,root) %{gitcoredir}/*email*
814 %{_mandir}/man1/*email*.1*
815 %{_mandir}/man1/*imap-send*.1*
818 %files -n bash-completion-git
819 %defattr(644,root,root,755)
823 %defattr(644,root,root,755)
824 %{perl_vendorlib}/Git.pm
825 %dir %{perl_vendorlib}/Git
826 %{perl_vendorlib}/Git/I18N.pm
827 %{perl_vendorlib}/Git/IndexInfo.pm
828 %{_mandir}/man3/Git*.3pm*
830 %if %{with gnome_keyring}
831 %files -n gnome-keyring-git-core
832 %defattr(644,root,root,755)
833 %attr(755,root,root) %{gitcoredir}/git-credential-gnome-keyring