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