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
9 %include /usr/lib/rpm/macros.perl
10 Summary: Distributed version control system focused on speed, effectivity and usability
11 Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności
16 Group: Development/Tools
17 Source0: http://git-core.googlecode.com/files/git-%{version}.tar.gz
18 # Source0-md5: e16c14b27c644b8e0dd72bdb5ff77450
19 Source1: %{name}-gitweb.conf
20 Source2: %{name}-gitweb-httpd.conf
21 Source3: %{name}-gitweb-lighttpd.conf
22 Source4: %{name}.sysconfig
26 Patch0: %{name}-tests.patch
27 Patch1: %{name}-key-bindings.patch
28 Patch2: %{name}-sysconfdir.patch
29 Patch3: cherry-picked-commitlog.patch
30 Patch4: %{name}-svn-exit-errors.patch
31 URL: http://git-scm.com/
32 BuildRequires: autoconf >= 2.59
33 BuildRequires: automake
34 BuildRequires: curl-devel
35 BuildRequires: expat-devel
36 BuildRequires: gettext-devel
37 BuildRequires: openssl-devel
38 %{?with_pcre:BuildRequires: pcre-devel}
39 BuildRequires: perl-Error > 0.15
40 BuildRequires: perl-base
41 BuildRequires: python-devel
42 BuildRequires: rpm-perlprov >= 4.1-13
43 BuildRequires: rpm-pythonprov
44 BuildRequires: rpmbuild(macros) >= 1.673
46 BuildRequires: zlib-devel
48 BuildRequires: asciidoc >= 7.1.2-3
49 BuildRequires: docbook-dtd45-xml
54 # tests failed sometimes when using nserver/cvsnt client so enforce pure cvs here
55 BuildRequires: cvs-gnu-client < 1.13
56 BuildRequires: cvs-gnu-client >= 1.12
58 %{?with_tests_svn:BuildRequires: subversion}
59 Conflicts: pdksh < 5.2.14-46
65 Requires: openssh-clients
67 Requires: perl-Git = %{version}-%{release}
69 Suggests: git-core-bzr
70 Suggests: git-core-cvs
73 Suggests: git-core-svn
77 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
79 # html docs have links to txt files
80 %define _noautocompressdoc *.txt
83 %define webappdir %{_sysconfdir}/webapps/%{webapp}
84 %define appdir %{_datadir}/%{webapp}
85 %define cgibindir %{_prefix}/lib/cgi-bin
88 "git" can mean anything, depending on your mood.
90 - random three-letter combination that is pronounceable, and not
91 actually used by any common UNIX command. The fact that it is a
92 mispronunciation of "get" may or may not be relevant.
93 - stupid. contemptible and despicable. simple. Take your pick from the
95 - "global information tracker": you're in a good mood, and it actually
96 works for you. Angels sing, and a light suddenly fills the room.
97 - "goddamn idiotic truckload of sh*t": when it breaks
99 This is a stupid (but extremely fast) directory content manager. It
100 doesn't do a whole lot, but what it 'does' do is track directory
101 contents efficiently.
103 %description -l pl.UTF-8
104 "git" może oznaczać cokolwiek, w zależności od nastroju.
106 - losową kombinację trzech liter, która jest wymawialna i właściwie
107 nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to
108 błędna pisownia słowa "get" może mieć lub nie mieć znaczenia.
109 - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu.
110 - "global information tracker" (narzędzie do globalnego śledzenia
111 informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa.
112 Anioły śpiewają, a światło niespodziewanie wypełnia pokój.
113 - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek
114 g*) - kiedy się zepsuje.
116 Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej.
117 Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości
121 Summary: Documentation for git-core
122 Summary(pl.UTF-8): Dokumentacja do git-core
126 Documentation for git-core.
128 %description doc -l pl.UTF-8
129 Dokumentacja do git-core.
131 %description doc -l fr.UTF-8
132 Javadoc pour git-core.
134 %package daemon-inetd
135 Summary: Files necessary to run git-daemon as an inetd service
136 Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi inetd
137 Group: Networking/Daemons
138 Requires: %{name} = %{version}-%{release}
139 Requires: setup >= 2.4.11-1
140 Provides: git-core-daemon
141 Obsoletes: git-core-daemon
142 Obsoletes: git-core-daemon-standalone
144 %description daemon-inetd
145 Git-daemon is a really simple TCP git daemon that can serve git
146 repositories. This package provides all necessarry files to run
147 git-daemon as an inetd service.
149 %description daemon-inetd -l pl.UTF-8
150 Git-daemon to prosty demon git korzystający z protokołu TCP do
151 udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
152 do uruchomienia git-demona w trybie usługi inetd.
154 %package daemon-standalone
155 Summary: Files necessary to run git-daemon as a standalone service
156 Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi samodzielnej
157 Group: Networking/Daemons
158 Requires: %{name} = %{version}-%{release}
159 Provides: git-core-daemon
160 Obsoletes: git-core-daemon
161 Obsoletes: git-core-daemon-inetd
163 %description daemon-standalone
164 Git-daemon is a really simple TCP git daemon that can serve git
165 repositories. This package provides all necessarry files to run
166 git-daemon as an standalone service.
168 %description daemon-standalone -l pl.UTF-8
169 Git-daemon to prosty demon git korzystający z protokołu TCP do
170 udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne
171 do uruchomienia git-daemona w trybie usługi samodzielnej.
174 Summary: Git library with header files
175 Summary(pl.UTF-8): Biblioteka Gita oraz pliki nagłówkowe
176 Group: Development/Libraries
180 Git library with header files.
182 %description devel -l pl.UTF-8
183 Biblioteka Gita oraz pliki nagłówkowe.
186 Summary: Tcl/Tk interface to the Git version control system
187 Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
188 Group: Development/Tools
189 Requires: %{name} = %{version}-%{release}
193 gitk displays changes in a repository or a selected set of commits.
194 This includes visualizing the commit graph, showing information
195 related to each commit, and the files in the trees of each revision.
197 Historically, gitk was the first repository browser. It's written in
198 Tcl/Tk and started off in a separate repository but was later merged
199 into the main git repository.
201 %description gitk -l pl.UTF-8
202 gitk wyświetla zmiany w repozytorium lub wybranym zbiorze commitów.
203 Oznacza to wizualizację grafu commitów, wyświetlanie informacji
204 związanych z każdym z commitów oraz listę plików dla każdej rewizji.
206 Z historycznego punktu widzenia gitk był pierwszą przeglądarką
207 repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
208 osobnym repozytorium, ale z czasem został włączony do głównego
212 Summary: Web frontend to git
213 Summary(pl.UTF-8): Frontend WWW do gita
214 Group: Development/Tools
215 Requires: %{name} = %{version}-%{release}
217 Requires: webserver(access)
218 Requires: webserver(alias)
219 Requires: webserver(cgi)
220 Suggests: webserver(setenv)
223 This package provides a web interface for browsing git repositories.
225 %description gitweb -l pl.UTF-8
226 Pakiet ten dostarcza interfejs WWW do przeglądania repozytoriów gita.
229 Summary: A GTK+ based repository browser for git
230 Summary(pl.UTF-8): Oparta na GTK+ przeglądarka repozytorium gita
231 Group: Development/Tools
232 Requires: %{name} = %{version}-%{release}
233 Requires: python >= 1:2.4
234 Requires: python-pycairo >= 1.0
235 Requires: python-pygobject
236 Requires: python-pygtk-gtk >= 2:2.8
237 Suggests: python-gnome-desktop-gtksourceview
240 A GTK+ based repository browser for git.
242 %description gitview -l pl.UTF-8
243 Oparta na GTK+ przeglądarka repozytorium gita.
246 Summary: Tcl/Tk interface to the Git version control system
247 Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git
248 Group: Development/Tools
249 Requires: %{name} = %{version}-%{release}
255 Displays changes in a repository or a selected set of commits. This
256 includes visualizing the commit graph, showing information related to
257 each commit, and the files in the trees of each revision.
259 Historically, gitk was the first repository browser. It's written in
260 Tcl/Tk and started off in a separate repository but was later merged
261 into the main git repository.
263 %description gui -l pl.UTF-8
264 Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza
265 to wizualizację grafu commitów, wyświetlanie informacji związanych z
266 każdym z commitów oraz listę plików dla każdej rewizji.
268 Z punktu widzenia historii, gitk był pierwszą przeglądarką
269 repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w
270 osobnym repozytorium, ale z czasem został włączony do głównego
274 Summary: Git tools for importing Arch repositories
275 Summary(pl.UTF-8): Narzędzia Gita do importowania repozytoriów Archa
276 Group: Development/Tools
277 Requires: %{name} = %{version}-%{release}
281 Git tools for importing Arch repositories.
283 %description arch -l pl.UTF-8
284 Narzędzia Gita do importowania repozytoriów Archa.
287 Summary: Git tools for working with bzr repositories
288 Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami bzr
289 Group: Development/Tools
290 Requires: %{name} = %{version}-%{release}
294 Git tools for working with bzr repositories.
296 %description bzr -l pl.UTF-8
297 Narzędzia Gita do pracy z repozytoriami bzr.
300 Summary: CVS support for Git
301 Summary(pl.UTF-8): Obsługa CVS dla Gita
302 Group: Development/Tools
303 Requires: %{name} = %{version}-%{release}
304 Requires: cvsps >= 2.1-2
310 %description cvs -l pl.UTF-8
311 Obsługa CVS dla Gita.
314 Summary: Git tools for working with mercurial repositories
315 Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami mercuriala
316 Group: Development/Tools
317 Requires: %{name} = %{version}-%{release}
318 Requires: mercurial >= 1.8
321 Git tools for working with mercurial repositories.
323 %description hg -l pl.UTF-8
324 Narzędzia Gita do pracy z repozytoriami mercuriala.
327 Summary: Git tools for working with Perforce depots
328 Summary(pl.UTF-8): Narzędzia Gita do pracy z magazynami Perforce'a
329 Group: Development/Tools
330 Requires: %{name} = %{version}-%{release}
333 Git tools for working with Perforce depots.
335 %description p4 -l pl.UTF-8
336 Narzędzia Gita do pracy z magazynami Perforce'a.
339 Summary: Subversion support for Git
340 Summary(pl.UTF-8): Obsługa Subversion dla Gita
341 Group: Development/Tools
342 Requires: %{name} = %{version}-%{release}
343 Requires: perl-Encode
344 Requires: perl-Term-ReadKey
347 Subversion support for Git.
349 %description svn -l pl.UTF-8
350 Obsługa Subversion dla Gita.
353 Summary: Git tools for sending email
354 Summary(pl.UTF-8): Narzędzia Gita do wysyłania poczty
355 Group: Development/Tools
356 Requires: %{name} = %{version}-%{release}
359 Git tools for sending email.
361 %description email -l pl.UTF-8
362 Narzędzia Gita do wysyłania poczty.
364 %package -n bash-completion-git
365 Summary: bash-completion for git
366 Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita
367 Group: Applications/Shells
368 Requires: %{name} = %{version}-%{release}
369 Requires: bash-completion >= 2.0
370 %if "%{_rpmversion}" >= "5"
374 %description -n bash-completion-git
375 This package provides bash-completion for git.
377 %description -n bash-completion-git -l pl.UTF-8
378 Pakiet ten dostarcza bashowe uzupełnianie nazw dla gita.
381 Summary: Perl interface to the Git version control system
382 Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git
383 Group: Development/Languages/Perl
384 Obsoletes: perl-git-core
386 %description -n perl-Git
387 This module provides Perl scripts easy way to interface the Git
388 version control system. The modules have an easy and well-tested way
389 to call arbitrary Git commands; in the future, the interface will also
390 provide specialized methods for doing easily operations which are not
391 totally trivial to do over the generic command interface.
393 %description -n perl-Git -l pl.UTF-8
394 Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli
395 wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać
396 dowolne polecenia Gita; w przyszłości interfejs udostępni także
397 specjalne metody do łatwego wykonywania operacji nietrywialnych do
398 wykonania przy użyciu ogólnego interfejsu poleceń.
401 %setup -q -n git-%{version}
412 --sysconfdir=%{_sysconfdir}/git-core \
413 %{?with_pcre:--with-libpcre} \
416 echo "BLK_SHA1=1" >> config.mak
420 GITWEB_CONFIG="%{webappdir}/gitweb.conf" \
421 GITWEB_PROJECTROOT="/var/lib/git" \
422 GITWEB_CSS="/gitweb/gitweb.css" \
423 GITWEB_LOGO="/gitweb/git-logo.png" \
424 GITWEB_FAVICON="/gitweb/git-favicon.png" \
427 %{__make} -C contrib/subtree
430 %{__make} -C Documentation \
431 MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \
436 %if %{without tests_cvs}
437 %{__rm} t/t*cvs*.sh || :
439 %{!?with_tests_svn:GIT_SKIP_TESTS='t91??'} %{__make} test
443 rm -rf $RPM_BUILD_ROOT
444 install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/xdiff,%{_localstatedir}/lib/git}
445 install -d $RPM_BUILD_ROOT{%{appdir},%{cgibindir},%{webappdir}}
446 install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d}
447 install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
448 cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/git-core/gitconfig
450 templatedir = %{_sysconfdir}/%{name}/templates
455 DESTDIR=$RPM_BUILD_ROOT
458 %{__make} -C Documentation install \
459 DESTDIR=$RPM_BUILD_ROOT
462 # copy templates except sample hooks
463 cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/templates $RPM_BUILD_ROOT%{_sysconfdir}/%{name}
464 %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/templates/hooks/*.sample
466 # header files and lib
467 cp -p *.h $RPM_BUILD_ROOT%{_includedir}/%{name}
468 cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name}
469 cp -p xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff
470 install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
471 cp -p block-sha1/sha1.h $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1
472 cp -p libgit.a $RPM_BUILD_ROOT%{_libdir}
473 cp -p xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a
474 cp -p {Makefile,config.mak,config.mak.autogen,config.mak.uname} $RPM_BUILD_ROOT%{_includedir}/%{name}
476 %{__make} -C contrib/subtree install \
477 libexecdir=%{_libdir}/%{name} \
478 DESTDIR=$RPM_BUILD_ROOT
481 %{__make} -C contrib/subtree install-doc \
482 DESTDIR=$RPM_BUILD_ROOT
486 install -d $RPM_BUILD_ROOT%{bash_compdir}
487 cp -p contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{bash_compdir}/git
489 # Install git-prompt.sh
490 install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion
491 cp -p contrib/completion/git-prompt.sh $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion
493 # Install bzr and hg remote helpers from contrib
494 install -p contrib/remote-helpers/git-remote-{bzr,hg} $RPM_BUILD_ROOT%{_libdir}/%{name}
497 mv $RPM_BUILD_ROOT{%{appdir},%{cgibindir}}/gitweb.cgi
498 ln -s %{cgibindir}/gitweb.cgi $RPM_BUILD_ROOT%{appdir}/gitweb.cgi
499 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{webappdir}/gitweb.conf
500 cp -p %{SOURCE7} $RPM_BUILD_ROOT%{webappdir}/gitolite.pl
501 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/apache.conf
502 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/httpd.conf
503 cp -p %{SOURCE3} $RPM_BUILD_ROOT%{webappdir}/lighttpd.conf
506 install -p contrib/gitview/gitview $RPM_BUILD_ROOT%{_bindir}
508 # git-daemon related files
509 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/git-daemon
510 cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
511 install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
514 sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon
515 sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon
518 ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-receive-pack}
519 ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-upload-archive}
520 ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-shell
521 ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-upload-pack
523 # remove unneeded files
524 %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod
525 %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist
528 mv $RPM_BUILD_ROOT%{_localedir}/pt{_PT,}
532 rm -rf $RPM_BUILD_ROOT
535 %service -q rc-inetd reload
538 if [ "$1" = "0" ]; then
539 %service -q rc-inetd reload
542 %post daemon-standalone
543 /sbin/chkconfig --add git-daemon
544 %service git-daemon restart "git-daemon"
546 %preun daemon-standalone
547 if [ "$1" = "0" ]; then
548 %service git-daemon stop
549 /sbin/chkconfig --del git-daemon
552 %triggerin gitweb -- apache1 < 1.3.37-3, apache1-base
553 %webapp_register apache %{webapp}
555 %triggerun gitweb -- apache1 < 1.3.37-3, apache1-base
556 %webapp_unregister apache %{webapp}
558 %triggerin gitweb -- apache < 2.2.0, apache-base
559 %webapp_register httpd %{webapp}
561 %triggerun gitweb -- apache < 2.2.0, apache-base
562 %webapp_unregister httpd %{webapp}
564 %triggerin gitweb -- lighttpd
565 %webapp_register lighttpd %{webapp}
567 %triggerun gitweb -- lighttpd
568 %webapp_unregister lighttpd %{webapp}
571 %defattr(644,root,root,755)
573 %attr(755,root,root) %{_bindir}/git
574 %attr(755,root,root) %{_bindir}/git-receive-pack
575 %attr(755,root,root) %{_bindir}/git-shell
576 %attr(755,root,root) %{_bindir}/git-upload-archive
577 %attr(755,root,root) %{_bindir}/git-upload-pack
578 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}
581 %{_mandir}/man1/git-*.1*
582 %exclude %{_mandir}/man1/git-archimport.1*
583 %exclude %{_mandir}/man1/git-svn.1*
584 %exclude %{_mandir}/man1/git-cvs*.1*
585 %exclude %{_mandir}/man1/git-imap-send*.1*
586 %exclude %{_mandir}/man1/*email*.1*
587 %{_mandir}/man1/git.1*
588 %{_mandir}/man1/gitremote-helpers.1*
589 %{_mandir}/man5/gitattributes.5*
590 %{_mandir}/man5/githooks.5*
591 %{_mandir}/man5/gitignore.5*
592 %{_mandir}/man5/gitmodules.5*
593 %{_mandir}/man5/gitrepository-layout.5*
594 %{_mandir}/man7/gitcli.7*
595 %{_mandir}/man7/gitcore-tutorial.7*
596 %{_mandir}/man7/gitcredentials.7*
597 %{_mandir}/man7/gitdiffcore.7*
598 %{_mandir}/man7/gitglossary.7*
599 %{_mandir}/man7/gitnamespaces.7*
600 %{_mandir}/man7/gitrevisions.7*
601 %{_mandir}/man7/gittutorial-2.7*
602 %{_mandir}/man7/gittutorial.7*
603 %{_mandir}/man7/gitworkflows.7*
606 %dir %{_libdir}/%{name}
607 %attr(755,root,root) %{_libdir}/%{name}/*-*
608 %attr(755,root,root) %{_libdir}/%{name}/git
609 %dir %{_libdir}/%{name}/mergetools
610 %{_libdir}/%{name}/mergetools/*
613 %{_localstatedir}/lib/git
616 %exclude %{_libdir}/%{name}/*email*
617 %exclude %{_libdir}/%{name}/*p4*
618 %exclude %{_libdir}/%{name}/git-archimport
619 %exclude %{_libdir}/%{name}/git-cvs*
620 %exclude %{_libdir}/%{name}/git-gui
621 %exclude %{_libdir}/%{name}/git-imap-send
622 %exclude %{_libdir}/%{name}/git-instaweb
623 %exclude %{_libdir}/%{name}/git-remote-bzr
624 %exclude %{_libdir}/%{name}/git-remote-hg
625 %exclude %{_libdir}/%{name}/git-remote-testsvn
626 %exclude %{_libdir}/%{name}/git-svn
627 %exclude %{_libdir}/%{name}/mergetools/p4merge
631 %defattr(644,root,root,755)
632 %doc Documentation/RelNotes*
633 %doc Documentation/*.html Documentation/howto Documentation/technical
637 %defattr(644,root,root,755)
638 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/git-daemon
640 %files daemon-standalone
641 %defattr(644,root,root,755)
642 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/git-daemon
643 %attr(754,root, root) /etc/rc.d/init.d/git-daemon
646 %defattr(644,root,root,755)
647 %{_includedir}/%{name}
649 %{_libdir}/libgit_xdiff.a
652 %defattr(644,root,root,755)
654 %{_mandir}/man1/gitk.1*
656 %attr(755,root,root) %{_bindir}/gitk
657 %dir %{_datadir}/gitk
658 %dir %{_datadir}/gitk/lib
659 %dir %{_datadir}/gitk/lib/msgs
660 %lang(bg) %{_datadir}/gitk/lib/msgs/bg.msg
661 %lang(de) %{_datadir}/gitk/lib/msgs/de.msg
662 %lang(es) %{_datadir}/gitk/lib/msgs/es.msg
663 %lang(fr) %{_datadir}/gitk/lib/msgs/fr.msg
664 %lang(hu) %{_datadir}/gitk/lib/msgs/hu.msg
665 %lang(it) %{_datadir}/gitk/lib/msgs/it.msg
666 %lang(ja) %{_datadir}/gitk/lib/msgs/ja.msg
667 %lang(pt_BR) %{_datadir}/gitk/lib/msgs/pt_br.msg
668 %lang(ru) %{_datadir}/gitk/lib/msgs/ru.msg
669 %lang(sv) %{_datadir}/gitk/lib/msgs/sv.msg
672 %defattr(644,root,root,755)
673 %doc gitweb/{README,INSTALL}
675 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/apache.conf
676 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/httpd.conf
677 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/lighttpd.conf
678 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitweb.conf
679 %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitolite.pl
680 %attr(755,root,root) %{cgibindir}/gitweb.cgi
682 %attr(755,root,root) %{_libdir}/%{name}/git-instaweb
684 %{_mandir}/man1/gitweb.1*
685 %{_mandir}/man5/gitweb.conf.5*
689 %defattr(644,root,root,755)
690 %doc contrib/gitview/gitview.txt
691 %attr(755,root,root) %{_bindir}/gitview
694 %defattr(644,root,root,755)
695 %attr(755,root,root) %{_libdir}/%{name}/git-gui
696 %dir %{_datadir}/git-gui
697 %dir %{_datadir}/git-gui/lib
698 %dir %{_datadir}/git-gui/lib/msgs
699 %{_datadir}/git-gui/lib/git-gui.ico
700 %{_datadir}/git-gui/lib/tclIndex
701 %{_datadir}/git-gui/lib/*.js
702 %{_datadir}/git-gui/lib/*.tcl
703 %lang(bg) %{_datadir}/git-gui/lib/msgs/bg.msg
704 %lang(de) %{_datadir}/git-gui/lib/msgs/de.msg
705 %lang(el) %{_datadir}/git-gui/lib/msgs/el.msg
706 %lang(fr) %{_datadir}/git-gui/lib/msgs/fr.msg
707 %lang(hu) %{_datadir}/git-gui/lib/msgs/hu.msg
708 %lang(it) %{_datadir}/git-gui/lib/msgs/it.msg
709 %lang(ja) %{_datadir}/git-gui/lib/msgs/ja.msg
710 %lang(nb) %{_datadir}/git-gui/lib/msgs/nb.msg
711 %lang(pt_br) %{_datadir}/git-gui/lib/msgs/pt_br.msg
712 %lang(ru) %{_datadir}/git-gui/lib/msgs/ru.msg
713 %lang(sv) %{_datadir}/git-gui/lib/msgs/sv.msg
714 %lang(zh_CN) %{_datadir}/git-gui/lib/msgs/zh_cn.msg
717 %defattr(644,root,root,755)
718 %attr(755,root,root) %{_libdir}/%{name}/git-archimport
720 %{_mandir}/man1/git-archimport.1*
724 %defattr(644,root,root,755)
725 %attr(755,root,root) %{_libdir}/%{name}/git-remote-bzr
728 %defattr(644,root,root,755)
729 %attr(755,root,root) %{_bindir}/git-cvsserver
730 %attr(755,root,root) %{_libdir}/%{name}/git-cvs*
732 %{_mandir}/man1/git-cvs*.1*
733 %{_mandir}/man7/gitcvs-migration.7*
737 %defattr(644,root,root,755)
738 %attr(755,root,root) %{_libdir}/%{name}/git-remote-hg
741 %defattr(644,root,root,755)
742 %attr(755,root,root) %{_libdir}/%{name}/git-p4
743 %attr(755,root,root) %{_libdir}/%{name}/mergetools/p4merge
746 %defattr(644,root,root,755)
747 %attr(755,root,root) %{_libdir}/%{name}/git-svn
748 %attr(755,root,root) %{_libdir}/%{name}/git-remote-testsvn
749 %{perl_vendorlib}/Git/SVN
750 %{perl_vendorlib}/Git/SVN.pm
752 %{_mandir}/man1/git-svn.1*
756 %defattr(644,root,root,755)
757 %attr(755,root,root) %{_libdir}/%{name}/git-imap-send
758 %attr(755,root,root) %{_libdir}/%{name}/*email*
760 %{_mandir}/man1/*email*.1*
761 %{_mandir}/man1/*imap-send*.1*
764 %files -n bash-completion-git
765 %defattr(644,root,root,755)
769 %defattr(644,root,root,755)
770 %{perl_vendorlib}/Git.pm
771 %dir %{perl_vendorlib}/Git
772 %{perl_vendorlib}/Git/I18N.pm
773 %{perl_vendorlib}/Git/IndexInfo.pm
774 %{_mandir}/man3/Git*.3pm*