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