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
9 %bcond_without tk # build without the Tcl/Tk interface
11 # for AC: --without doc --without gnome_keyring --without tests
13 %include /usr/lib/rpm/macros.perl
14 Summary: Distributed version control system focused on speed, effectivity and usability
15 Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
20 Group: Development/Tools
21 Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.xz
22 # Source0-md5: e10ede8b80a2c987d04ee376534cb7e1
23 Source1: %{name}-gitweb.conf
24 Source2: %{name}-gitweb-httpd.conf
25 Source3: %{name}-gitweb-lighttpd.conf
26 Source4: %{name}.sysconfig
30 Patch0: %{name}-key-bindings.patch
31 Patch1: %{name}-sysconfdir.patch
32 Patch2: cherry-picked-commitlog.patch
33 URL: http://git-scm.com/
34 BuildRequires: autoconf >= 2.59
35 BuildRequires: automake
36 BuildRequires: curl-devel
37 BuildRequires: expat-devel
38 %if "%{pld_release}" == "ac"
39 BuildRequires: gettext-devel
41 BuildRequires: gettext-tools
43 %if %{with gnome_keyring}
44 BuildRequires: libgnome-keyring-devel
45 BuildRequires: pkgconfig
47 BuildRequires: openssl-devel
48 %{?with_pcre:BuildRequires: pcre-devel}
49 BuildRequires: perl-Error > 0.15
50 BuildRequires: perl-base
51 BuildRequires: python-devel
52 BuildRequires: rpm-perlprov >= 4.1-13
53 BuildRequires: rpm-pythonprov
54 BuildRequires: rpmbuild(macros) >= 1.673
59 BuildRequires: zlib-devel
61 BuildRequires: asciidoc >= 7.1.2-3
62 BuildRequires: docbook-dtd45-xml
67 # tests failed sometimes when using nserver/cvsnt client so enforce pure cvs here
68 BuildRequires: cvs-gnu-client < 1.13
69 BuildRequires: cvs-gnu-client >= 1.12
72 BuildRequires: perl-subversion
73 BuildRequires: subversion
75 Conflicts: pdksh < 5.2.14-46
77 # git-sh-setup: sane_grep
82 Requires: perl-Git = %{version}-%{release}
84 Suggests: git-core-bzr
85 Suggests: git-core-cvs
88 Suggests: git-core-svn
90 Suggests: openssh-clients
92 Obsoletes: git-core-gitview
94 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
96 # html docs have links to txt files
97 %define _noautocompressdoc *.txt
100 %define webappdir %{_sysconfdir}/webapps/%{webapp}
101 %define appdir %{_datadir}/%{webapp}
102 %define cgibindir %{_prefix}/lib/cgi-bin
103 %define gitcoredir %{_libdir}/%{name}
106 "git" can mean anything, depending on your mood.
108 - random three-letter combination that is pronounceable, and not
109 actually used by any common UNIX command. The fact that it is a
110 mispronunciation of "get" may or may not be relevant.
111 - stupid. contemptible and despicable. simple. Take your pick from the
113 - "global information tracker": you're in a good mood, and it actually
114 works for you. Angels sing, and a light suddenly fills the room.
115 - "goddamn idiotic truckload of sh*t": when it breaks
117 This is a stupid (but extremely fast) directory content manager. It
118 doesn't do a whole lot, but what it 'does' do is track directory
119 contents efficiently.
121 %description -l pl.UTF-8
122 "git" może oznaczać cokolwiek, w zależności od nastroju.
124 - losową kombinację trzech liter, która jest wymawialna i właściwie
125 nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to
126 błędna pisownia słowa "get" może mieć lub nie mieć znaczenia.
127 - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu.
128 - "global information tracker" (narzędzie do globalnego śledzenia
129 informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa.
130 Anioły śpiewają, a światło niespodziewanie wypełnia pokój.
131 - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek
132 g*) - kiedy się zepsuje.
134 Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej.
135 Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości
139 Summary: Documentation for git-core
140 Summary(pl.UTF-8): Dokumentacja do git-core
142 %if "%{_rpmversion}" >= "5"
147 Documentation for git-core.
149 %description doc -l pl.UTF-8
150 Dokumentacja do git-core.
152 %package daemon-inetd
153 Summary: Files necessary to run git-daemon as an inetd service
154 Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi inetd
155 Group: Networking/Daemons
156 Requires: %{name} = %{version}-%{release}
157 Requires: setup >= 2.4.11-1
158 Provides: git-core-daemon
159 Obsoletes: git-core-daemon
160 Obsoletes: git-core-daemon-standalone
161 %if "%{_rpmversion}" >= "5"
165 %description daemon-inetd
166 Git-daemon is a really simple TCP git daemon that can serve git
167 repositories. This package provides all necessarry files to run
168 git-daemon as an inetd service.
170 %description daemon-inetd -l pl.UTF-8
171 Git-daemon to prosty demon git korzystający z protokołu TCP do
172 udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
173 do uruchomienia git-demona w trybie usługi inetd.
175 %package daemon-standalone
176 Summary: Files necessary to run git-daemon as a standalone service
177 Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi samodzielnej
178 Group: Networking/Daemons
179 Requires: %{name} = %{version}-%{release}
180 Provides: git-core-daemon
181 Obsoletes: git-core-daemon
182 Obsoletes: git-core-daemon-inetd
183 %if "%{_rpmversion}" >= "5"
187 %description daemon-standalone
188 Git-daemon is a really simple TCP git daemon that can serve git
189 repositories. This package provides all necessarry files to run
190 git-daemon as an standalone service.
192 %description daemon-standalone -l pl.UTF-8
193 Git-daemon to prosty demon git korzystający z protokołu TCP do
194 udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
195 do uruchomienia git-daemona w trybie usługi samodzielnej.
198 Summary: Git library with header files
199 Summary(pl.UTF-8): Biblioteka Gita oraz pliki nagłówkowe
200 Group: Development/Libraries
204 Git library with header files.
206 %description devel -l pl.UTF-8
207 Biblioteka Gita oraz pliki nagłówkowe.
210 Summary: Tcl/Tk interface to the Git version control system
211 Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
212 Group: Development/Tools
213 Requires: %{name} = %{version}-%{release}
215 %if "%{_rpmversion}" >= "5"
220 gitk displays changes in a repository or a selected set of commits.
221 This includes visualizing the commit graph, showing information
222 related to each commit, and the files in the trees of each revision.
224 Historically, gitk was the first repository browser. It's written in
225 Tcl/Tk and started off in a separate repository but was later merged
226 into the main git repository.
228 %description gitk -l pl.UTF-8
229 gitk wyświetla zmiany w repozytorium lub wybranym zbiorze commitów.
230 Oznacza to wizualizację grafu commitów, wyświetlanie informacji
231 związanych z każdym z commitów oraz listę plików dla każdej rewizji.
233 Z historycznego punktu widzenia gitk był pierwszą przeglądarką
234 repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
235 osobnym repozytorium, ale z czasem został włączony do głównego
239 Summary: Web frontend to git
240 Summary(pl.UTF-8): Frontend WWW do gita
241 Group: Development/Tools
242 Requires: %{name} = %{version}-%{release}
244 Requires: webserver(access)
245 Requires: webserver(alias)
246 Requires: webserver(cgi)
247 Suggests: webserver(setenv)
250 This package provides a web interface for browsing git repositories.
252 %description gitweb -l pl.UTF-8
253 Pakiet ten dostarcza interfejs WWW do przeglądania repozytoriów gita.
256 Summary: Tcl/Tk interface to the Git version control system
257 Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
258 Group: Development/Tools
259 Requires: %{name} = %{version}-%{release}
265 Displays changes in a repository or a selected set of commits. This
266 includes visualizing the commit graph, showing information related to
267 each commit, and the files in the trees of each revision.
269 Historically, gitk was the first repository browser. It's written in
270 Tcl/Tk and started off in a separate repository but was later merged
271 into the main git repository.
273 %description gui -l pl.UTF-8
274 Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza
275 to wizualizację grafu commitów, wyświetlanie informacji związanych z
276 każdym z commitów oraz listę plików dla każdej rewizji.
278 Z punktu widzenia historii, gitk był pierwszą przeglądarką
279 repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
280 osobnym repozytorium, ale z czasem został włączony do głównego
284 Summary: Git tools for importing Arch repositories
285 Summary(pl.UTF-8): Narzędzia Gita do importowania repozytoriów Archa
286 Group: Development/Tools
287 Requires: %{name} = %{version}-%{release}
291 Git tools for importing Arch repositories.
293 %description arch -l pl.UTF-8
294 Narzędzia Gita do importowania repozytoriów Archa.
297 Summary: Git tools for working with bzr repositories
298 Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami bzr
299 Group: Development/Tools
300 Requires: %{name} = %{version}-%{release}
304 Git tools for working with bzr repositories.
306 %description bzr -l pl.UTF-8
307 Narzędzia Gita do pracy z repozytoriami bzr.
310 Summary: CVS support for Git
311 Summary(pl.UTF-8): Obsługa CVS dla Gita
312 Group: Development/Tools
313 Requires: %{name} = %{version}-%{release}
314 Requires: cvsps >= 2.1-2
320 %description cvs -l pl.UTF-8
321 Obsługa CVS dla Gita.
324 Summary: Git tools for working with mercurial repositories
325 Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami mercuriala
326 Group: Development/Tools
327 Requires: %{name} = %{version}-%{release}
328 Requires: mercurial >= 1.8
331 Git tools for working with mercurial repositories.
333 %description hg -l pl.UTF-8
334 Narzędzia Gita do pracy z repozytoriami mercuriala.
337 Summary: Git tools for working with Perforce depots
338 Summary(pl.UTF-8): Narzędzia Gita do pracy z magazynami Perforce'a
339 Group: Development/Tools
340 Requires: %{name} = %{version}-%{release}
343 Git tools for working with Perforce depots.
345 %description p4 -l pl.UTF-8
346 Narzędzia Gita do pracy z magazynami Perforce'a.
349 Summary: Subversion support for Git
350 Summary(pl.UTF-8): Obsługa Subversion dla Gita
351 Group: Development/Tools
352 Requires: %{name} = %{version}-%{release}
353 Requires: perl-Encode
354 Requires: perl-Term-ReadKey
357 Subversion support for Git.
359 %description svn -l pl.UTF-8
360 Obsługa Subversion dla Gita.
363 Summary: Git tools for sending email
364 Summary(pl.UTF-8): Narzędzia Gita do wysyłania poczty
365 Group: Development/Tools
366 Requires: %{name} = %{version}-%{release}
367 Suggests: perl-Net-SMTP-SSL
370 Git tools for sending email.
372 %description email -l pl.UTF-8
373 Narzędzia Gita do wysyłania poczty.
375 %package -n bash-completion-git
376 Summary: bash-completion for git
377 Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita
378 Group: Applications/Shells
379 Requires: %{name} = %{version}-%{release}
380 Requires: bash-completion >= 2.0
381 %if "%{_rpmversion}" >= "5"
385 %description -n bash-completion-git
386 This package provides bash-completion for git.
388 %description -n bash-completion-git -l pl.UTF-8
389 Pakiet ten dostarcza bashowe uzupełnianie nazw dla gita.
392 Summary: Perl interface to the Git version control system
393 Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git
394 Group: Development/Languages/Perl
395 Obsoletes: perl-git-core
396 %if "%{_rpmversion}" >= "5"
400 %description -n perl-Git
401 This module provides Perl scripts easy way to interface the Git
402 version control system. The modules have an easy and well-tested way
403 to call arbitrary Git commands; in the future, the interface will also
404 provide specialized methods for doing easily operations which are not
405 totally trivial to do over the generic command interface.
407 %description -n perl-Git -l pl.UTF-8
408 Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli
409 wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać
410 dowolne polecenia Gita; w przyszłości interfejs udostępni także
411 specjalne metody do łatwego wykonywania operacji nietrywialnych do
412 wykonania przy użyciu ogólnego interfejsu poleceń.
414 %package -n gnome-keyring-git-core
415 Summary: GNOME Keyring authentication provider for Git
416 Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Git
417 Group: X11/Applications
418 URL: http://git-scm.com/docs/gitcredentials.html
419 Requires: %{name} = %{version}-%{release}
421 %description -n gnome-keyring-git-core
422 Authentication provider module for Git which allows git client to
423 authenticate using GNOME Keyring.
425 You need to register it with:
426 - git config --global credential.helper gnome-keyring
428 %description -n gnome-keyring-git-core -l pl.UTF-8
429 Moduł uwierzytelniający dla Subversion pozwalający klientom git
430 uwierzytelniać się przy użyciu mechanizmu GNOME Keyring.
432 Moduł trzeba zarejestrować poleceniem:
433 - git config --global credential.helper gnome-keyring
436 %setup -q -n git-%{version}
441 %{__rm} {Documentation/technical,contrib/emacs,contrib/credential/gnome-keyring}/.gitignore
443 # we build things in contrib but want to have it clean for doc purporses, too
444 cp -a contrib contrib-doc
450 --sysconfdir=%{_sysconfdir}/git-core \
451 %{?with_pcre:--with-libpcre} \
454 echo "BLK_SHA1=1" >> config.mak
458 GITWEB_CONFIG="%{webappdir}/gitweb.conf" \
459 GITWEB_PROJECTROOT="/var/lib/git" \
460 GITWEB_CSS="/gitweb/gitweb.css" \
461 GITWEB_LOGO="/gitweb/git-logo.png" \
462 GITWEB_FAVICON="/gitweb/git-favicon.png" \
465 %{__make} -C contrib/subtree
467 %if %{with gnome_keyring}
468 %{__make} -C contrib/credential/gnome-keyring
472 %{__make} -C Documentation \
473 MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \
478 %if %{without tests_cvs}
479 %{__rm} t/t*cvs*.sh || :
481 %{!?with_tests_svn:GIT_SKIP_TESTS='t91??'} %{__make} test
485 rm -rf $RPM_BUILD_ROOT
486 install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/xdiff,%{_localstatedir}/lib/git}
487 install -d $RPM_BUILD_ROOT{%{appdir},%{cgibindir},%{webappdir}}
488 install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d}
489 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
490 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/git-core/gitconfig
492 templatedir = %{_sysconfdir}/%{name}/templates
497 DESTDIR=$RPM_BUILD_ROOT
500 %{__make} -C Documentation install \
501 DESTDIR=$RPM_BUILD_ROOT
504 # copy templates except sample hooks
505 cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/templates $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
506 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/templates/hooks/*.sample
508 # header files and lib
509 cp -p *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
510 cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name}
511 cp -p xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
512 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
513 cp -p block-sha1/sha1.h $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
514 cp -p libgit.a $RPM_BUILD_ROOT%{_libdir}
515 cp -p xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
516 cp -p {Makefile,config.mak,config.mak.autogen,config.mak.uname} $RPM_BUILD_ROOT%{_includedir}/%{name}
518 %{__make} -C contrib/subtree install \
519 libexecdir=%{gitcoredir} \
520 DESTDIR=$RPM_BUILD_ROOT
523 %{__make} -C contrib/subtree install-man \
524 DESTDIR=$RPM_BUILD_ROOT
527 %if %{with gnome_keyring}
528 install -p contrib/credential/gnome-keyring/git-credential-gnome-keyring $RPM_BUILD_ROOT%{gitcoredir}
532 install -d $RPM_BUILD_ROOT%{bash_compdir}
533 cp -p contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{bash_compdir}/git
535 # Install git-prompt.sh
536 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion
537 cp -p contrib/completion/git-prompt.sh $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion
539 # Install bzr and hg remote helpers from contrib
540 install -p contrib/remote-helpers/git-remote-{bzr,hg} $RPM_BUILD_ROOT%{gitcoredir}
543 mv $RPM_BUILD_ROOT{%{appdir},%{cgibindir}}/gitweb.cgi
544 ln -s %{cgibindir}/gitweb.cgi $RPM_BUILD_ROOT%{appdir}/gitweb.cgi
545 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{webappdir}/gitweb.conf
546 cp -p %{SOURCE7} $RPM_BUILD_ROOT%{webappdir}/gitolite.pl
547 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/apache.conf
548 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/httpd.conf
549 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{webappdir}/lighttpd.conf
551 # git-daemon related files
552 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/git-daemon
553 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
554 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
557 sed -e 's,@libdir@/git-core,%{gitcoredir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
558 sed -e 's,@libdir@/git-core,%{gitcoredir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
561 ln -sf git $RPM_BUILD_ROOT%{_bindir}/git-receive-pack
562 ln -sf git $RPM_BUILD_ROOT%{_bindir}/git-upload-archive
563 ln -sf ../..%{gitcoredir}/git-shell $RPM_BUILD_ROOT%{_bindir}/git-shell
564 ln -sf ../..%{gitcoredir}/git-upload-pack $RPM_BUILD_ROOT%{_bindir}/git-upload-pack
565 ln -sf ../..%{gitcoredir}/git $RPM_BUILD_ROOT%{_bindir}/git
567 # convert all hardlinks to symlinks, as rpm fails to calculate it properly
568 # requiring excessive free space when it may not be available
569 # https://bugs.launchpad.net/pld-linux/+bug/1176337
570 find $RPM_BUILD_ROOT%{gitcoredir} -samefile $RPM_BUILD_ROOT%{gitcoredir}/git > files
571 for f in $(cat files); do
572 f=${f#$RPM_BUILD_ROOT%{gitcoredir}/}
573 test $f = git && continue
574 ln -snf git $RPM_BUILD_ROOT%{gitcoredir}/$f
578 ln -snf git-gui $RPM_BUILD_ROOT%{gitcoredir}/git-citool
579 ln -snf git-remote-http $RPM_BUILD_ROOT%{gitcoredir}/git-remote-https
580 ln -snf git-remote-http $RPM_BUILD_ROOT%{gitcoredir}/git-remote-ftp
581 ln -snf git-remote-http $RPM_BUILD_ROOT%{gitcoredir}/git-remote-ftps
583 # remove unneeded files
584 %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
585 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
588 mv $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
592 rm -rf $RPM_BUILD_ROOT
595 %service -q rc-inetd reload
598 if [ "$1" = "0" ]; then
599 %service -q rc-inetd reload
602 %post daemon-standalone
603 /sbin/chkconfig --add git-daemon
604 %service git-daemon restart "git-daemon"
606 %preun daemon-standalone
607 if [ "$1" = "0" ]; then
608 %service git-daemon stop
609 /sbin/chkconfig --del git-daemon
612 %triggerin gitweb -- apache1 < 1.3.37-3, apache1-base
613 %webapp_register apache %{webapp}
615 %triggerun gitweb -- apache1 < 1.3.37-3, apache1-base
616 %webapp_unregister apache %{webapp}
618 %triggerin gitweb -- apache < 2.2.0, apache-base
619 %webapp_register httpd %{webapp}
621 %triggerun gitweb -- apache < 2.2.0, apache-base
622 %webapp_unregister httpd %{webapp}
624 %triggerin gitweb -- lighttpd
625 %webapp_register lighttpd %{webapp}
627 %triggerun gitweb -- lighttpd
628 %webapp_unregister lighttpd %{webapp}
631 %defattr(644,root,root,755)
632 %doc README.md contrib-doc
633 %attr(755,root,root) %{_bindir}/git
634 %attr(755,root,root) %{_bindir}/git-receive-pack
635 %attr(755,root,root) %{_bindir}/git-shell
636 %attr(755,root,root) %{_bindir}/git-upload-archive
637 %attr(755,root,root) %{_bindir}/git-upload-pack
638 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
641 %{_mandir}/man1/git-*.1*
642 %exclude %{_mandir}/man1/git-archimport.1*
643 %exclude %{_mandir}/man1/git-svn.1*
644 %exclude %{_mandir}/man1/git-cvs*.1*
645 %exclude %{_mandir}/man1/git-imap-send*.1*
646 %exclude %{_mandir}/man1/*email*.1*
647 %{_mandir}/man1/git.1*
648 %{_mandir}/man1/gitremote-helpers.1*
649 %{_mandir}/man5/gitattributes.5*
650 %{_mandir}/man5/githooks.5*
651 %{_mandir}/man5/gitignore.5*
652 %{_mandir}/man5/gitmodules.5*
653 %{_mandir}/man5/gitrepository-layout.5*
654 %{_mandir}/man7/gitcli.7*
655 %{_mandir}/man7/gitcore-tutorial.7*
656 %{_mandir}/man7/gitcredentials.7*
657 %{_mandir}/man7/gitdiffcore.7*
658 %{_mandir}/man7/giteveryday.7*
659 %{_mandir}/man7/gitglossary.7*
660 %{_mandir}/man7/gitnamespaces.7*
661 %{_mandir}/man7/gitrevisions.7*
662 %{_mandir}/man7/gittutorial-2.7*
663 %{_mandir}/man7/gittutorial.7*
664 %{_mandir}/man7/gitworkflows.7*
668 %attr(755,root,root) %{gitcoredir}/*-*
669 %attr(755,root,root) %{gitcoredir}/git
670 %dir %{gitcoredir}/mergetools
671 %{gitcoredir}/mergetools/*
674 %{_localstatedir}/lib/git
677 %exclude %{gitcoredir}/*email*
678 %exclude %{gitcoredir}/*p4*
679 %exclude %{gitcoredir}/git-archimport
680 %exclude %{gitcoredir}/git-cvs*
681 %exclude %{gitcoredir}/git-gui
682 %exclude %{gitcoredir}/git-imap-send
683 %exclude %{gitcoredir}/git-instaweb
684 %exclude %{gitcoredir}/git-remote-bzr
685 %exclude %{gitcoredir}/git-remote-hg
686 %exclude %{gitcoredir}/git-remote-testsvn
687 %exclude %{gitcoredir}/git-svn
688 %exclude %{gitcoredir}/mergetools/p4merge
689 %if %{with gnome_keyring}
690 %exclude %{gitcoredir}/git-credential-gnome-keyring
695 %defattr(644,root,root,755)
696 %doc Documentation/RelNotes*
697 %doc Documentation/*.html Documentation/howto Documentation/technical
701 %defattr(644,root,root,755)
702 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/git-daemon
704 %files daemon-standalone
705 %defattr(644,root,root,755)
706 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/git-daemon
707 %attr(754,root, root) /etc/rc.d/init.d/git-daemon
710 %defattr(644,root,root,755)
711 %{_includedir}/%{name}
713 %{_libdir}/libgit_xdiff.a
717 %defattr(644,root,root,755)
719 %{_mandir}/man1/gitk.1*
721 %attr(755,root,root) %{_bindir}/gitk
722 %dir %{_datadir}/gitk
723 %dir %{_datadir}/gitk/lib
724 %dir %{_datadir}/gitk/lib/msgs
725 %lang(bg) %{_datadir}/gitk/lib/msgs/bg.msg
726 %lang(ca) %{_datadir}/gitk/lib/msgs/ca.msg
727 %lang(de) %{_datadir}/gitk/lib/msgs/de.msg
728 %lang(es) %{_datadir}/gitk/lib/msgs/es.msg
729 %lang(fr) %{_datadir}/gitk/lib/msgs/fr.msg
730 %lang(hu) %{_datadir}/gitk/lib/msgs/hu.msg
731 %lang(it) %{_datadir}/gitk/lib/msgs/it.msg
732 %lang(ja) %{_datadir}/gitk/lib/msgs/ja.msg
733 %lang(pt_BR) %{_datadir}/gitk/lib/msgs/pt_br.msg
734 %lang(pt_PT) %{_datadir}/gitk/lib/msgs/pt_pt.msg
735 %lang(ru) %{_datadir}/gitk/lib/msgs/ru.msg
736 %lang(sv) %{_datadir}/gitk/lib/msgs/sv.msg
737 %lang(vi) %{_datadir}/gitk/lib/msgs/vi.msg
741 %defattr(644,root,root,755)
742 %doc gitweb/{README,INSTALL}
744 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/apache.conf
745 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/httpd.conf
746 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/lighttpd.conf
747 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitweb.conf
748 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitolite.pl
749 %attr(755,root,root) %{cgibindir}/gitweb.cgi
751 %attr(755,root,root) %{gitcoredir}/git-instaweb
753 %{_mandir}/man1/gitweb.1*
754 %{_mandir}/man5/gitweb.conf.5*
759 %defattr(644,root,root,755)
760 %attr(755,root,root) %{gitcoredir}/git-gui
761 %dir %{_datadir}/git-gui
762 %dir %{_datadir}/git-gui/lib
763 %dir %{_datadir}/git-gui/lib/msgs
764 %{_datadir}/git-gui/lib/git-gui.ico
765 %{_datadir}/git-gui/lib/tclIndex
766 %{_datadir}/git-gui/lib/*.js
767 %{_datadir}/git-gui/lib/*.tcl
768 %lang(bg) %{_datadir}/git-gui/lib/msgs/bg.msg
769 %lang(de) %{_datadir}/git-gui/lib/msgs/de.msg
770 %lang(el) %{_datadir}/git-gui/lib/msgs/el.msg
771 %lang(fr) %{_datadir}/git-gui/lib/msgs/fr.msg
772 %lang(hu) %{_datadir}/git-gui/lib/msgs/hu.msg
773 %lang(it) %{_datadir}/git-gui/lib/msgs/it.msg
774 %lang(ja) %{_datadir}/git-gui/lib/msgs/ja.msg
775 %lang(nb) %{_datadir}/git-gui/lib/msgs/nb.msg
776 %lang(pt) %{_datadir}/git-gui/lib/msgs/pt_pt.msg
777 %lang(pt_BR) %{_datadir}/git-gui/lib/msgs/pt_br.msg
778 %lang(ru) %{_datadir}/git-gui/lib/msgs/ru.msg
779 %lang(sv) %{_datadir}/git-gui/lib/msgs/sv.msg
780 %lang(vi) %{_datadir}/git-gui/lib/msgs/vi.msg
781 %lang(zh_CN) %{_datadir}/git-gui/lib/msgs/zh_cn.msg
785 %defattr(644,root,root,755)
786 %attr(755,root,root) %{gitcoredir}/git-archimport
788 %{_mandir}/man1/git-archimport.1*
792 %defattr(644,root,root,755)
793 %attr(755,root,root) %{gitcoredir}/git-remote-bzr
796 %defattr(644,root,root,755)
797 %attr(755,root,root) %{_bindir}/git-cvsserver
798 %attr(755,root,root) %{gitcoredir}/git-cvs*
800 %{_mandir}/man1/git-cvs*.1*
801 %{_mandir}/man7/gitcvs-migration.7*
805 %defattr(644,root,root,755)
806 %attr(755,root,root) %{gitcoredir}/git-remote-hg
809 %defattr(644,root,root,755)
810 %attr(755,root,root) %{gitcoredir}/git-p4
811 %attr(755,root,root) %{gitcoredir}/mergetools/p4merge
814 %defattr(644,root,root,755)
815 %attr(755,root,root) %{gitcoredir}/git-svn
816 %attr(755,root,root) %{gitcoredir}/git-remote-testsvn
817 %{perl_vendorlib}/Git/SVN
818 %{perl_vendorlib}/Git/SVN.pm
820 %{_mandir}/man1/git-svn.1*
822 %{_mandir}/man3/Git::SVN::Editor.3pm*
823 %{_mandir}/man3/Git::SVN::Fetcher.3pm*
824 %{_mandir}/man3/Git::SVN::Memoize::YAML.3pm*
825 %{_mandir}/man3/Git::SVN::Prompt.3pm*
826 %{_mandir}/man3/Git::SVN::Ra.3pm*
827 %{_mandir}/man3/Git::SVN::Utils.3pm*
830 %defattr(644,root,root,755)
831 %attr(755,root,root) %{gitcoredir}/git-imap-send
832 %attr(755,root,root) %{gitcoredir}/*email*
834 %{_mandir}/man1/*email*.1*
835 %{_mandir}/man1/*imap-send*.1*
838 %files -n bash-completion-git
839 %defattr(644,root,root,755)
843 %defattr(644,root,root,755)
844 %{perl_vendorlib}/Git.pm
845 %dir %{perl_vendorlib}/Git
846 %{perl_vendorlib}/Git/I18N.pm
847 %{perl_vendorlib}/Git/IndexInfo.pm
848 %{_mandir}/man3/Git.3pm*
849 %{_mandir}/man3/Git::I18N.3pm*
851 %if %{with gnome_keyring}
852 %files -n gnome-keyring-git-core
853 %defattr(644,root,root,755)
854 %attr(755,root,root) %{gitcoredir}/git-credential-gnome-keyring