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