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