]>
Commit | Line | Data |
---|---|---|
84013e7c | 1 | # |
891d0b05 | 2 | # Conditional build: |
f74aede9 JB |
3 | %bcond_without tests # don't perform make test |
4 | %bcond_with tests_cvs # perform tests which use CVS | |
843d1d47 | 5 | %bcond_without tests_svn # perform tests which use subversion |
f74aede9 | 6 | %bcond_without doc # skip building/packaging docs/manuals (takes some time) |
0643d0ea ER |
7 | %bcond_without pcre # perl-compatible regexes support |
8 | %bcond_without gnome_keyring # build without gnome keyring support | |
cdeb0400 | 9 | |
7ad420b5 ER |
10 | # for AC: --without doc --without gnome_keyring --without tests |
11 | ||
89a476f8 | 12 | %include /usr/lib/rpm/macros.perl |
479de23d AM |
13 | Summary: Distributed version control system focused on speed, effectivity and usability |
14 | Summary(pl.UTF-8): Rozproszony system śledzenia treści skupiony na szybkości, wydajności i użyteczności | |
51c3b977 | 15 | Name: git-core |
d6fc50d0 KK |
16 | Version: 1.9.1 |
17 | Release: 1 | |
51c3b977 | 18 | License: GPL v2 |
19 | Group: Development/Tools | |
d6fc50d0 KK |
20 | Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.gz |
21 | # Source0-md5: a71a1ee1418bd61d73182fba62b05fd3 | |
be2ccf99 | 22 | Source1: %{name}-gitweb.conf |
814a047c | 23 | Source2: %{name}-gitweb-httpd.conf |
51ce768a KK |
24 | Source3: %{name}-gitweb-lighttpd.conf |
25 | Source4: %{name}.sysconfig | |
26 | Source5: %{name}.inet | |
27 | Source6: %{name}.init | |
642ee6ff | 28 | Source7: gitolite.pl |
6b1e62ae | 29 | Patch0: %{name}-tests.patch |
b2c254f3 | 30 | Patch1: %{name}-key-bindings.patch |
d12d8532 | 31 | Patch2: %{name}-sysconfdir.patch |
8ce45cec | 32 | Patch3: cherry-picked-commitlog.patch |
b11f61e5 | 33 | Patch4: %{name}-svn-exit-errors.patch |
e699dd89 | 34 | URL: http://git-scm.com/ |
fdf2ed38 | 35 | BuildRequires: autoconf >= 2.59 |
11856720 | 36 | BuildRequires: automake |
51c3b977 | 37 | BuildRequires: curl-devel |
115484e9 | 38 | BuildRequires: expat-devel |
72ec88fd | 39 | BuildRequires: gettext-devel |
cecb5b67 KK |
40 | %if %{with gnome_keyring} |
41 | BuildRequires: libgnome-keyring-devel | |
42 | BuildRequires: pkgconfig | |
43 | %endif | |
51c3b977 | 44 | BuildRequires: openssl-devel |
202eeb4b | 45 | %{?with_pcre:BuildRequires: pcre-devel} |
0f1e5795 | 46 | BuildRequires: perl-Error > 0.15 |
51c3b977 | 47 | BuildRequires: perl-base |
db444c11 | 48 | BuildRequires: python-devel |
89a476f8 | 49 | BuildRequires: rpm-perlprov >= 4.1-13 |
c841a4fc | 50 | BuildRequires: rpm-pythonprov |
e43aceaa | 51 | BuildRequires: rpmbuild(macros) >= 1.673 |
b64915e8 | 52 | BuildRequires: tcl |
51c3b977 | 53 | BuildRequires: zlib-devel |
08cc92d7 ER |
54 | %if %{with doc} |
55 | BuildRequires: asciidoc >= 7.1.2-3 | |
c841a4fc | 56 | BuildRequires: docbook-dtd45-xml |
08cc92d7 ER |
57 | BuildRequires: xmlto |
58 | %endif | |
2c50f007 | 59 | %if %{with tests} |
db032591 | 60 | %if %{with tests_cvs} |
dfed7e92 | 61 | # tests failed sometimes when using nserver/cvsnt client so enforce pure cvs here |
3554b1a3 | 62 | BuildRequires: cvs-gnu-client < 1.13 |
2c0376c9 | 63 | BuildRequires: cvs-gnu-client >= 1.12 |
db032591 | 64 | %endif |
843d1d47 | 65 | %{?with_tests_svn:BuildRequires: subversion} |
1b3085ff | 66 | Conflicts: pdksh < 5.2.14-46 |
2c50f007 | 67 | %endif |
23c8c456 | 68 | # git-sh-setup: sane_grep |
3f245fc5 | 69 | Requires: grep |
23c8c456 ER |
70 | # git-pull: printf |
71 | Requires: coreutils | |
11856720 | 72 | Requires: openssh-clients |
f266cd28 | 73 | Requires: perl-Error |
7a437e6a | 74 | Requires: perl-Git = %{version}-%{release} |
3f245fc5 | 75 | Requires: sed |
0d2db069 | 76 | Suggests: git-core-bzr |
26361b03 | 77 | Suggests: git-core-cvs |
0d2db069 ER |
78 | Suggests: git-core-hg |
79 | Suggests: git-core-p4 | |
26361b03 | 80 | Suggests: git-core-svn |
d82521ea ER |
81 | Suggests: less |
82 | Suggests: rsync | |
a77c0aad | 83 | Obsoletes: python-Git |
51c3b977 | 84 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
85 | ||
19936745 AM |
86 | # html docs have links to txt files |
87 | %define _noautocompressdoc *.txt | |
88 | ||
be2ccf99 AG |
89 | %define webapp gitweb |
90 | %define webappdir %{_sysconfdir}/webapps/%{webapp} | |
91 | %define appdir %{_datadir}/%{webapp} | |
92 | %define cgibindir %{_prefix}/lib/cgi-bin | |
93 | ||
51c3b977 | 94 | %description |
95 | "git" can mean anything, depending on your mood. | |
96 | ||
d52424f5 | 97 | - random three-letter combination that is pronounceable, and not |
98 | actually used by any common UNIX command. The fact that it is a | |
99 | mispronunciation of "get" may or may not be relevant. | |
100 | - stupid. contemptible and despicable. simple. Take your pick from the | |
101 | dictionary of slang. | |
102 | - "global information tracker": you're in a good mood, and it actually | |
103 | works for you. Angels sing, and a light suddenly fills the room. | |
104 | - "goddamn idiotic truckload of sh*t": when it breaks | |
51c3b977 | 105 | |
c751087d | 106 | This is a stupid (but extremely fast) directory content manager. It |
51c3b977 | 107 | doesn't do a whole lot, but what it 'does' do is track directory |
108 | contents efficiently. | |
109 | ||
ea061c99 JR |
110 | %description -l pl.UTF-8 |
111 | "git" może oznaczać cokolwiek, w zależności od nastroju. | |
112 | ||
d52424f5 | 113 | - losową kombinację trzech liter, która jest wymawialna i właściwie |
114 | nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to | |
115 | błędna pisownia słowa "get" może mieć lub nie mieć znaczenia. | |
116 | - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu. | |
117 | - "global information tracker" (narzędzie do globalnego śledzenia | |
118 | informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa. | |
119 | Anioły śpiewają, a światło niespodziewanie wypełnia pokój. | |
120 | - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek | |
121 | g*) - kiedy się zepsuje. | |
ea061c99 JR |
122 | |
123 | Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej. | |
124 | Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości | |
c751087d JB |
125 | katalogu. |
126 | ||
a8655d02 ER |
127 | %package doc |
128 | Summary: Documentation for git-core | |
129 | Summary(pl.UTF-8): Dokumentacja do git-core | |
130 | Group: Documentation | |
131 | ||
132 | %description doc | |
133 | Documentation for git-core. | |
134 | ||
135 | %description doc -l pl.UTF-8 | |
136 | Dokumentacja do git-core. | |
137 | ||
138 | %description doc -l fr.UTF-8 | |
139 | Javadoc pour git-core. | |
140 | ||
b11ada2c AG |
141 | %package daemon-inetd |
142 | Summary: Files necessary to run git-daemon as an inetd service | |
5db07614 | 143 | Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi inetd |
b11ada2c AG |
144 | Group: Networking/Daemons |
145 | Requires: %{name} = %{version}-%{release} | |
146 | Requires: setup >= 2.4.11-1 | |
147 | Provides: git-core-daemon | |
148 | Obsoletes: git-core-daemon | |
149 | Obsoletes: git-core-daemon-standalone | |
150 | ||
151 | %description daemon-inetd | |
152 | Git-daemon is a really simple TCP git daemon that can serve git | |
153 | repositories. This package provides all necessarry files to run | |
154 | git-daemon as an inetd service. | |
155 | ||
156 | %description daemon-inetd -l pl.UTF-8 | |
5db07614 JB |
157 | Git-daemon to prosty demon git korzystający z protokołu TCP do |
158 | udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne | |
159 | do uruchomienia git-demona w trybie usługi inetd. | |
b11ada2c AG |
160 | |
161 | %package daemon-standalone | |
162 | Summary: Files necessary to run git-daemon as a standalone service | |
5db07614 | 163 | Summary(pl.UTF-8): Pliki niezbędne do uruchomienia git-daemona w trybie usługi samodzielnej |
b11ada2c AG |
164 | Group: Networking/Daemons |
165 | Requires: %{name} = %{version}-%{release} | |
166 | Provides: git-core-daemon | |
167 | Obsoletes: git-core-daemon | |
168 | Obsoletes: git-core-daemon-inetd | |
169 | ||
170 | %description daemon-standalone | |
171 | Git-daemon is a really simple TCP git daemon that can serve git | |
172 | repositories. This package provides all necessarry files to run | |
173 | git-daemon as an standalone service. | |
174 | ||
175 | %description daemon-standalone -l pl.UTF-8 | |
5db07614 JB |
176 | Git-daemon to prosty demon git korzystający z protokołu TCP do |
177 | udostępniania repozytoriów git. Ten pakiet dostarcza pliki potrzebne | |
178 | do uruchomienia git-daemona w trybie usługi samodzielnej. | |
b11ada2c | 179 | |
e3cefa79 | 180 | %package devel |
8bed7625 JB |
181 | Summary: Git library with header files |
182 | Summary(pl.UTF-8): Biblioteka Gita oraz pliki nagłówkowe | |
66a7f095 | 183 | Group: Development/Libraries |
d52424f5 | 184 | Requires: zlib-devel |
e3cefa79 | 185 | |
186 | %description devel | |
8bed7625 | 187 | Git library with header files. |
66a7f095 | 188 | |
ea061c99 | 189 | %description devel -l pl.UTF-8 |
8bed7625 | 190 | Biblioteka Gita oraz pliki nagłówkowe. |
e3cefa79 | 191 | |
91396e2e AG |
192 | %package gitk |
193 | Summary: Tcl/Tk interface to the Git version control system | |
194 | Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git | |
195 | Group: Development/Tools | |
196 | Requires: %{name} = %{version}-%{release} | |
197 | Requires: tk | |
198 | ||
199 | %description gitk | |
1fcd08a6 JB |
200 | gitk displays changes in a repository or a selected set of commits. |
201 | This includes visualizing the commit graph, showing information | |
202 | related to each commit, and the files in the trees of each revision. | |
91396e2e AG |
203 | |
204 | Historically, gitk was the first repository browser. It's written in | |
04fdf912 | 205 | Tcl/Tk and started off in a separate repository but was later merged |
91396e2e AG |
206 | into the main git repository. |
207 | ||
208 | %description gitk -l pl.UTF-8 | |
1fcd08a6 JB |
209 | gitk wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. |
210 | Oznacza to wizualizację grafu commitów, wyświetlanie informacji | |
211 | związanych z każdym z commitów oraz listę plików dla każdej rewizji. | |
91396e2e | 212 | |
1fcd08a6 | 213 | Z historycznego punktu widzenia gitk był pierwszą przeglądarką |
02059138 ER |
214 | repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w |
215 | osobnym repozytorium, ale z czasem został włączony do głównego | |
2712fe7b | 216 | repozytorium gita. |
91396e2e | 217 | |
be2ccf99 AG |
218 | %package gitweb |
219 | Summary: Web frontend to git | |
41b5f4b1 | 220 | Summary(pl.UTF-8): Frontend WWW do gita |
be2ccf99 AG |
221 | Group: Development/Tools |
222 | Requires: %{name} = %{version}-%{release} | |
223 | Requires: webapps | |
666cda7c | 224 | Requires: webserver(access) |
51ce768a KK |
225 | Requires: webserver(alias) |
226 | Requires: webserver(cgi) | |
93a30d5e | 227 | Suggests: webserver(setenv) |
be2ccf99 AG |
228 | |
229 | %description gitweb | |
230 | This package provides a web interface for browsing git repositories. | |
231 | ||
232 | %description gitweb -l pl.UTF-8 | |
2712fe7b | 233 | Pakiet ten dostarcza interfejs WWW do przeglądania repozytoriów gita. |
be2ccf99 | 234 | |
e1c8d79f | 235 | %package gitview |
30794a22 JB |
236 | Summary: A GTK+ based repository browser for git |
237 | Summary(pl.UTF-8): Oparta na GTK+ przeglądarka repozytorium gita | |
e1c8d79f | 238 | Group: Development/Tools |
239 | Requires: %{name} = %{version}-%{release} | |
c95a5d99 JB |
240 | Requires: python >= 1:2.4 |
241 | Requires: python-pycairo >= 1.0 | |
242 | Requires: python-pygobject | |
243 | Requires: python-pygtk-gtk >= 2:2.8 | |
244 | Suggests: python-gnome-desktop-gtksourceview | |
e1c8d79f | 245 | |
246 | %description gitview | |
30794a22 | 247 | A GTK+ based repository browser for git. |
e1c8d79f | 248 | |
249 | %description gitview -l pl.UTF-8 | |
30794a22 | 250 | Oparta na GTK+ przeglądarka repozytorium gita. |
e1c8d79f | 251 | |
f9871074 AG |
252 | %package gui |
253 | Summary: Tcl/Tk interface to the Git version control system | |
254 | Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git | |
255 | Group: Development/Tools | |
256 | Requires: %{name} = %{version}-%{release} | |
257 | Requires: tk | |
d4106757 | 258 | Requires: xdg-utils |
531b434f | 259 | Suggests: meld |
f9871074 AG |
260 | |
261 | %description gui | |
262 | Displays changes in a repository or a selected set of commits. This | |
263 | includes visualizing the commit graph, showing information related to | |
264 | each commit, and the files in the trees of each revision. | |
265 | ||
266 | Historically, gitk was the first repository browser. It's written in | |
267 | Tcl/Tk and started off in a separate repository but was later merged | |
268 | into the main git repository. | |
269 | ||
270 | %description gui -l pl.UTF-8 | |
271 | Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza | |
272 | to wizualizację grafu commitów, wyświetlanie informacji związanych z | |
273 | każdym z commitów oraz listę plików dla każdej rewizji. | |
274 | ||
275 | Z punktu widzenia historii, gitk był pierwszą przeglądarką | |
276 | repozytorium git. Napisany jest w Tcl/Tk i początkowo był rozwijany w | |
277 | osobnym repozytorium, ale z czasem został włączony do głównego | |
278 | repozytorium gita. | |
279 | ||
e5fa8af5 JB |
280 | %package arch |
281 | Summary: Git tools for importing Arch repositories | |
282 | Summary(pl.UTF-8): Narzędzia Gita do importowania repozytoriów Archa | |
283 | Group: Development/Tools | |
284 | Requires: %{name} = %{version}-%{release} | |
285 | Requires: tla | |
286 | ||
287 | %description arch | |
288 | Git tools for importing Arch repositories. | |
289 | ||
290 | %description arch -l pl.UTF-8 | |
291 | Narzędzia Gita do importowania repozytoriów Archa. | |
292 | ||
0d2db069 ER |
293 | %package bzr |
294 | Summary: Git tools for working with bzr repositories | |
e5fa8af5 | 295 | Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami bzr |
0d2db069 ER |
296 | Group: Development/Tools |
297 | Requires: %{name} = %{version}-%{release} | |
298 | Requires: bzr | |
299 | ||
300 | %description bzr | |
301 | Git tools for working with bzr repositories. | |
302 | ||
e5fa8af5 JB |
303 | %description bzr -l pl.UTF-8 |
304 | Narzędzia Gita do pracy z repozytoriami bzr. | |
305 | ||
306 | %package cvs | |
307 | Summary: CVS support for Git | |
308 | Summary(pl.UTF-8): Obsługa CVS dla Gita | |
309 | Group: Development/Tools | |
310 | Requires: %{name} = %{version}-%{release} | |
311 | Requires: cvsps >= 2.1-2 | |
312 | Requires: rcs | |
313 | ||
314 | %description cvs | |
315 | CVS support for Git. | |
316 | ||
317 | %description cvs -l pl.UTF-8 | |
318 | Obsługa CVS dla Gita. | |
319 | ||
0d2db069 ER |
320 | %package hg |
321 | Summary: Git tools for working with mercurial repositories | |
e5fa8af5 | 322 | Summary(pl.UTF-8): Narzędzia Gita do pracy z repozytoriami mercuriala |
0d2db069 ER |
323 | Group: Development/Tools |
324 | Requires: %{name} = %{version}-%{release} | |
325 | Requires: mercurial >= 1.8 | |
326 | ||
327 | %description hg | |
328 | Git tools for working with mercurial repositories. | |
329 | ||
e5fa8af5 JB |
330 | %description hg -l pl.UTF-8 |
331 | Narzędzia Gita do pracy z repozytoriami mercuriala. | |
332 | ||
0d2db069 ER |
333 | %package p4 |
334 | Summary: Git tools for working with Perforce depots | |
e5fa8af5 | 335 | Summary(pl.UTF-8): Narzędzia Gita do pracy z magazynami Perforce'a |
0d2db069 ER |
336 | Group: Development/Tools |
337 | Requires: %{name} = %{version}-%{release} | |
338 | ||
339 | %description p4 | |
340 | Git tools for working with Perforce depots. | |
341 | ||
e5fa8af5 JB |
342 | %description p4 -l pl.UTF-8 |
343 | Narzędzia Gita do pracy z magazynami Perforce'a. | |
344 | ||
2c0376c9 AM |
345 | %package svn |
346 | Summary: Subversion support for Git | |
41b5f4b1 | 347 | Summary(pl.UTF-8): Obsługa Subversion dla Gita |
2c0376c9 AM |
348 | Group: Development/Tools |
349 | Requires: %{name} = %{version}-%{release} | |
daccfb39 | 350 | Requires: perl-Encode |
4ea37765 | 351 | Requires: perl-Term-ReadKey |
2c0376c9 AM |
352 | |
353 | %description svn | |
354 | Subversion support for Git. | |
355 | ||
356 | %description svn -l pl.UTF-8 | |
41b5f4b1 | 357 | Obsługa Subversion dla Gita. |
2c0376c9 | 358 | |
d82521ea ER |
359 | %package email |
360 | Summary: Git tools for sending email | |
41b5f4b1 | 361 | Summary(pl.UTF-8): Narzędzia Gita do wysyłania poczty |
d82521ea ER |
362 | Group: Development/Tools |
363 | Requires: %{name} = %{version}-%{release} | |
364 | ||
365 | %description email | |
366 | Git tools for sending email. | |
367 | ||
41b5f4b1 JB |
368 | %description email -l pl.UTF-8 |
369 | Narzędzia Gita do wysyłania poczty. | |
370 | ||
f2c1983d AG |
371 | %package -n bash-completion-git |
372 | Summary: bash-completion for git | |
2712fe7b | 373 | Summary(pl.UTF-8): bashowe uzupełnianie nazw dla gita |
02059138 | 374 | Group: Applications/Shells |
cdeb0400 | 375 | Requires: %{name} = %{version}-%{release} |
3102984c | 376 | Requires: bash-completion >= 2.0 |
c7e1d931 ER |
377 | %if "%{_rpmversion}" >= "5" |
378 | BuildArch: noarch | |
379 | %endif | |
f2c1983d AG |
380 | |
381 | %description -n bash-completion-git | |
382 | This package provides bash-completion for git. | |
383 | ||
384 | %description -n bash-completion-git -l pl.UTF-8 | |
5383e3af | 385 | Pakiet ten dostarcza bashowe uzupełnianie nazw dla gita. |
f2c1983d | 386 | |
3dc01deb | 387 | %package -n perl-Git |
5d7220ad | 388 | Summary: Perl interface to the Git version control system |
3f8032f4 | 389 | Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git |
5d7220ad | 390 | Group: Development/Languages/Perl |
27b79a12 | 391 | Obsoletes: perl-git-core |
5d7220ad | 392 | |
3dc01deb | 393 | %description -n perl-Git |
5d7220ad AM |
394 | This module provides Perl scripts easy way to interface the Git |
395 | version control system. The modules have an easy and well-tested way | |
396 | to call arbitrary Git commands; in the future, the interface will also | |
397 | provide specialized methods for doing easily operations which are not | |
398 | totally trivial to do over the generic command interface. | |
399 | ||
ea061c99 JR |
400 | %description -n perl-Git -l pl.UTF-8 |
401 | Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli | |
08cc92d7 ER |
402 | wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać |
403 | dowolne polecenia Gita; w przyszłości interfejs udostępni także | |
404 | specjalne metody do łatwego wykonywania operacji nietrywialnych do | |
405 | wykonania przy użyciu ogólnego interfejsu poleceń. | |
7eef96e1 | 406 | |
0643d0ea ER |
407 | %package -n gnome-keyring-git-core |
408 | Summary: GNOME Keyring authentication provider for Git | |
409 | Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Git | |
410 | Group: X11/Applications | |
411 | Requires: %{name} = %{version}-%{release} | |
412 | ||
413 | %description -n gnome-keyring-git-core | |
414 | Authentication provider module for Git which allows git client to | |
415 | authenticate using GNOME Keyring. | |
416 | ||
417 | %description -n gnome-keyring-git-core -l pl.UTF-8 | |
418 | Moduł uwierzytelniający dla Subversion pozwalający klientom git | |
419 | uwierzytelniać się przy użyciu mechanizmu GNOME Keyring. | |
420 | ||
51c3b977 | 421 | %prep |
5013f7fc | 422 | %setup -q -n git-%{version} |
6b1e62ae | 423 | %patch0 -p1 |
b2c254f3 | 424 | %patch1 -p0 |
d12d8532 | 425 | %patch2 -p1 |
8ce45cec | 426 | %patch3 -p1 |
c64c444d | 427 | %patch4 -p1 |
a1036d06 | 428 | |
0643d0ea ER |
429 | %{__rm} {Documentation/technical,contrib/emacs,contrib/credential/gnome-keyring}/.gitignore |
430 | ||
a1036d06 | 431 | %build |
11856720 AM |
432 | %{__aclocal} |
433 | %{__autoconf} | |
434 | %configure \ | |
d12d8532 | 435 | --sysconfdir=%{_sysconfdir}/git-core \ |
202eeb4b | 436 | %{?with_pcre:--with-libpcre} \ |
11856720 | 437 | --with-openssl |
51c3b977 | 438 | |
7cfee1ba KK |
439 | echo "BLK_SHA1=1" >> config.mak |
440 | ||
b69112f7 | 441 | %{__make} \ |
be2ccf99 AG |
442 | INSTALLDIRS=vendor \ |
443 | GITWEB_CONFIG="%{webappdir}/gitweb.conf" \ | |
444 | GITWEB_PROJECTROOT="/var/lib/git" \ | |
445 | GITWEB_CSS="/gitweb/gitweb.css" \ | |
446 | GITWEB_LOGO="/gitweb/git-logo.png" \ | |
f74aede9 JB |
447 | GITWEB_FAVICON="/gitweb/git-favicon.png" \ |
448 | V=1 | |
27b79a12 | 449 | |
d1d05a7a ER |
450 | %{__make} -C contrib/subtree |
451 | ||
0643d0ea ER |
452 | %if %{with gnome_keyring} |
453 | %{__make} -C contrib/credential/gnome-keyring | |
454 | %endif | |
455 | ||
83b9a8cd ER |
456 | %if %{with doc} |
457 | %{__make} -C Documentation \ | |
458 | MAN_BASE_URL=file://%{_docdir}/%{name}-doc-%{version}/ \ | |
459 | V=1 | |
460 | %endif | |
7fdeb28c | 461 | |
db032591 AM |
462 | %if %{with tests} |
463 | %if %{without tests_cvs} | |
8bed7625 | 464 | %{__rm} t/t*cvs*.sh || : |
db032591 | 465 | %endif |
acc7b6c4 | 466 | %{!?with_tests_svn:GIT_SKIP_TESTS='t91??'} %{__make} test |
db032591 | 467 | %endif |
6c0d6e05 | 468 | |
51c3b977 | 469 | %install |
470 | rm -rf $RPM_BUILD_ROOT | |
5db07614 | 471 | install -d $RPM_BUILD_ROOT{%{_includedir}/%{name}/xdiff,%{_localstatedir}/lib/git} |
be2ccf99 | 472 | install -d $RPM_BUILD_ROOT{%{appdir},%{cgibindir},%{webappdir}} |
5db07614 | 473 | install -d $RPM_BUILD_ROOT/etc/{sysconfig/rc-inetd,rc.d/init.d} |
cdeb0400 | 474 | install -d $RPM_BUILD_ROOT%{_sysconfdir}/%{name} |
d12d8532 KK |
475 | cat << EOF > $RPM_BUILD_ROOT%{_sysconfdir}/git-core/gitconfig |
476 | [init] | |
cdeb0400 | 477 | templatedir = %{_sysconfdir}/%{name}/templates |
d12d8532 | 478 | EOF |
c751087d | 479 | |
51c3b977 | 480 | %{__make} install \ |
d778c02c | 481 | INSTALLDIRS=vendor \ |
51c3b977 | 482 | DESTDIR=$RPM_BUILD_ROOT |
483 | ||
08cc92d7 | 484 | %if %{with doc} |
7fdeb28c | 485 | %{__make} -C Documentation install \ |
7fdeb28c | 486 | DESTDIR=$RPM_BUILD_ROOT |
08cc92d7 | 487 | %endif |
7fdeb28c | 488 | |
d12d8532 KK |
489 | # copy templates except sample hooks |
490 | cp -a $RPM_BUILD_ROOT%{_datadir}/%{name}/templates $RPM_BUILD_ROOT%{_sysconfdir}/%{name} | |
491 | %{__rm} $RPM_BUILD_ROOT%{_sysconfdir}/%{name}/templates/hooks/*.sample | |
492 | ||
1f25da6d | 493 | # header files and lib |
cdeb0400 | 494 | cp -p *.h $RPM_BUILD_ROOT%{_includedir}/%{name} |
31b26a50 | 495 | cp -a compat $RPM_BUILD_ROOT%{_includedir}/%{name} |
cdeb0400 | 496 | cp -p xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff |
95341e74 KK |
497 | install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1 |
498 | cp -p block-sha1/sha1.h $RPM_BUILD_ROOT%{_includedir}/%{name}/block-sha1 | |
cdeb0400 ER |
499 | cp -p libgit.a $RPM_BUILD_ROOT%{_libdir} |
500 | cp -p xdiff/lib.a $RPM_BUILD_ROOT%{_libdir}/libgit_xdiff.a | |
95341e74 | 501 | cp -p {Makefile,config.mak,config.mak.autogen,config.mak.uname} $RPM_BUILD_ROOT%{_includedir}/%{name} |
e3cefa79 | 502 | |
d1d05a7a ER |
503 | %{__make} -C contrib/subtree install \ |
504 | libexecdir=%{_libdir}/%{name} \ | |
505 | DESTDIR=$RPM_BUILD_ROOT | |
506 | ||
507 | %if %{with doc} | |
508 | %{__make} -C contrib/subtree install-doc \ | |
509 | DESTDIR=$RPM_BUILD_ROOT | |
510 | %endif | |
511 | ||
0643d0ea ER |
512 | %if %{with gnome_keyring} |
513 | install -p contrib/credential/gnome-keyring/git-credential-gnome-keyring $RPM_BUILD_ROOT%{_libdir}/%{name} | |
514 | # Remove built binary files, otherwise they will be installed in doc | |
515 | %{__make} -C contrib/credential/gnome-keyring clean | |
516 | %endif | |
517 | ||
f2c1983d | 518 | # bash completion |
3102984c ER |
519 | install -d $RPM_BUILD_ROOT%{bash_compdir} |
520 | cp -p contrib/completion/git-completion.bash $RPM_BUILD_ROOT%{bash_compdir}/git | |
f2c1983d | 521 | |
b0d443ea ER |
522 | # Install git-prompt.sh |
523 | install -d $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion | |
524 | cp -p contrib/completion/git-prompt.sh $RPM_BUILD_ROOT%{_datadir}/%{name}/contrib/completion | |
525 | ||
0d2db069 ER |
526 | # Install bzr and hg remote helpers from contrib |
527 | install -p contrib/remote-helpers/git-remote-{bzr,hg} $RPM_BUILD_ROOT%{_libdir}/%{name} | |
528 | ||
be2ccf99 | 529 | # gitweb |
4f98dcd3 | 530 | mv $RPM_BUILD_ROOT{%{appdir},%{cgibindir}}/gitweb.cgi |
93a30d5e | 531 | ln -s %{cgibindir}/gitweb.cgi $RPM_BUILD_ROOT%{appdir}/gitweb.cgi |
cdeb0400 | 532 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{webappdir}/gitweb.conf |
642ee6ff | 533 | cp -p %{SOURCE7} $RPM_BUILD_ROOT%{webappdir}/gitolite.pl |
cdeb0400 | 534 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/apache.conf |
814a047c | 535 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{webappdir}/httpd.conf |
cdeb0400 | 536 | cp -p %{SOURCE3} $RPM_BUILD_ROOT%{webappdir}/lighttpd.conf |
be2ccf99 | 537 | |
e1c8d79f | 538 | # gitview |
d82521ea | 539 | install -p contrib/gitview/gitview $RPM_BUILD_ROOT%{_bindir} |
e1c8d79f | 540 | |
b11ada2c | 541 | # git-daemon related files |
e43aceaa ER |
542 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/git-daemon |
543 | cp -p %{SOURCE5} $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon | |
51ce768a | 544 | install -p %{SOURCE6} $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon |
b11ada2c | 545 | |
bf7a9a54 | 546 | # paths cleanup |
2c0376c9 | 547 | sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/rc.d/init.d/git-daemon |
bf7a9a54 AG |
548 | sed -e 's,@libdir@,%{_libdir},g' -i $RPM_BUILD_ROOT/etc/sysconfig/rc-inetd/git-daemon |
549 | ||
4e9fd7a9 ER |
550 | # hardlink |
551 | ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-receive-pack} | |
552 | ln -f $RPM_BUILD_ROOT%{_bindir}/{git,git-upload-archive} | |
553 | ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-shell | |
554 | ln -f $RPM_BUILD_ROOT{%{_libdir}/%{name},%{_bindir}}/git-upload-pack | |
555 | ||
be2ccf99 | 556 | # remove unneeded files |
cdeb0400 ER |
557 | %{__rm} $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod |
558 | %{__rm} $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist | |
44ee5525 | 559 | %py_postclean |
27b79a12 | 560 | |
815a92b1 | 561 | mv $RPM_BUILD_ROOT%{_localedir}/pt{_PT,} |
fdf2ed38 JB |
562 | %find_lang git |
563 | ||
51c3b977 | 564 | %clean |
565 | rm -rf $RPM_BUILD_ROOT | |
566 | ||
b11ada2c AG |
567 | %post daemon-inetd |
568 | %service -q rc-inetd reload | |
569 | ||
570 | %postun daemon-inetd | |
571 | if [ "$1" = "0" ]; then | |
572 | %service -q rc-inetd reload | |
573 | fi | |
574 | ||
575 | %post daemon-standalone | |
576 | /sbin/chkconfig --add git-daemon | |
577 | %service git-daemon restart "git-daemon" | |
578 | ||
579 | %preun daemon-standalone | |
580 | if [ "$1" = "0" ]; then | |
581 | %service git-daemon stop | |
582 | /sbin/chkconfig --del git-daemon | |
583 | fi | |
584 | ||
be2ccf99 AG |
585 | %triggerin gitweb -- apache1 < 1.3.37-3, apache1-base |
586 | %webapp_register apache %{webapp} | |
587 | ||
588 | %triggerun gitweb -- apache1 < 1.3.37-3, apache1-base | |
589 | %webapp_unregister apache %{webapp} | |
590 | ||
814a047c | 591 | %triggerin gitweb -- apache < 2.2.0, apache-base |
be2ccf99 AG |
592 | %webapp_register httpd %{webapp} |
593 | ||
814a047c | 594 | %triggerun gitweb -- apache < 2.2.0, apache-base |
be2ccf99 AG |
595 | %webapp_unregister httpd %{webapp} |
596 | ||
51ce768a KK |
597 | %triggerin gitweb -- lighttpd |
598 | %webapp_register lighttpd %{webapp} | |
599 | ||
600 | %triggerun gitweb -- lighttpd | |
601 | %webapp_unregister lighttpd %{webapp} | |
602 | ||
fdf2ed38 | 603 | %files -f git.lang |
51c3b977 | 604 | %defattr(644,root,root,755) |
08cc92d7 | 605 | %doc README contrib |
a8655d02 | 606 | %attr(755,root,root) %{_bindir}/git |
44ee5525 ER |
607 | %attr(755,root,root) %{_bindir}/git-receive-pack |
608 | %attr(755,root,root) %{_bindir}/git-shell | |
609 | %attr(755,root,root) %{_bindir}/git-upload-archive | |
610 | %attr(755,root,root) %{_bindir}/git-upload-pack | |
cdeb0400 | 611 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name} |
a8655d02 | 612 | |
08cc92d7 | 613 | %if %{with doc} |
0afd37aa | 614 | %{_mandir}/man1/git-*.1* |
dbde9893 | 615 | %exclude %{_mandir}/man1/git-archimport.1* |
2c0376c9 AM |
616 | %exclude %{_mandir}/man1/git-svn.1* |
617 | %exclude %{_mandir}/man1/git-cvs*.1* | |
858c27ef | 618 | %exclude %{_mandir}/man1/git-imap-send*.1* |
dbde9893 | 619 | %exclude %{_mandir}/man1/*email*.1* |
a48d28b8 | 620 | %{_mandir}/man1/git.1* |
a77c0aad | 621 | %{_mandir}/man1/gitremote-helpers.1* |
0afd37aa | 622 | %{_mandir}/man5/gitattributes.5* |
a48d28b8 | 623 | %{_mandir}/man5/githooks.5* |
0afd37aa | 624 | %{_mandir}/man5/gitignore.5* |
785b167d | 625 | %{_mandir}/man5/gitmodules.5* |
a48d28b8 AG |
626 | %{_mandir}/man5/gitrepository-layout.5* |
627 | %{_mandir}/man7/gitcli.7* | |
628 | %{_mandir}/man7/gitcore-tutorial.7* | |
fdf2ed38 | 629 | %{_mandir}/man7/gitcredentials.7* |
a48d28b8 AG |
630 | %{_mandir}/man7/gitdiffcore.7* |
631 | %{_mandir}/man7/gitglossary.7* | |
60b58680 | 632 | %{_mandir}/man7/gitnamespaces.7* |
f16e8911 | 633 | %{_mandir}/man7/gitrevisions.7* |
a48d28b8 AG |
634 | %{_mandir}/man7/gittutorial-2.7* |
635 | %{_mandir}/man7/gittutorial.7* | |
670fe4d6 | 636 | %{_mandir}/man7/gitworkflows.7* |
08cc92d7 | 637 | %endif |
a8655d02 | 638 | |
bf6fa63c AM |
639 | %dir %{_libdir}/%{name} |
640 | %attr(755,root,root) %{_libdir}/%{name}/*-* | |
39dc084d | 641 | %attr(755,root,root) %{_libdir}/%{name}/git |
0d2db069 ER |
642 | %dir %{_libdir}/%{name}/mergetools |
643 | %{_libdir}/%{name}/mergetools/* | |
a8655d02 | 644 | |
0d2db069 ER |
645 | %{_datadir}/%{name} |
646 | %{_localstatedir}/lib/git | |
647 | ||
648 | # subpackages | |
649 | %exclude %{_libdir}/%{name}/*email* | |
650 | %exclude %{_libdir}/%{name}/*p4* | |
d82521ea | 651 | %exclude %{_libdir}/%{name}/git-archimport |
2c0376c9 | 652 | %exclude %{_libdir}/%{name}/git-cvs* |
0d2db069 | 653 | %exclude %{_libdir}/%{name}/git-gui |
858c27ef | 654 | %exclude %{_libdir}/%{name}/git-imap-send |
93a30d5e | 655 | %exclude %{_libdir}/%{name}/git-instaweb |
0d2db069 ER |
656 | %exclude %{_libdir}/%{name}/git-remote-bzr |
657 | %exclude %{_libdir}/%{name}/git-remote-hg | |
a7233f01 | 658 | %exclude %{_libdir}/%{name}/git-remote-testsvn |
0d2db069 ER |
659 | %exclude %{_libdir}/%{name}/git-svn |
660 | %exclude %{_libdir}/%{name}/mergetools/p4merge | |
f295f80f | 661 | %if %{with gnome_keyring} |
0643d0ea | 662 | %exclude %{_libdir}/%{name}/git-credential-gnome-keyring |
f295f80f | 663 | %endif |
e3cefa79 | 664 | |
a8655d02 ER |
665 | %if %{with doc} |
666 | %files doc | |
778b89a7 | 667 | %defattr(644,root,root,755) |
a8655d02 ER |
668 | %doc Documentation/RelNotes* |
669 | %doc Documentation/*.html Documentation/howto Documentation/technical | |
670 | %endif | |
671 | ||
b11ada2c AG |
672 | %files daemon-inetd |
673 | %defattr(644,root,root,755) | |
674 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/rc-inetd/git-daemon | |
675 | ||
676 | %files daemon-standalone | |
677 | %defattr(644,root,root,755) | |
678 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/git-daemon | |
679 | %attr(754,root, root) /etc/rc.d/init.d/git-daemon | |
680 | ||
e3cefa79 | 681 | %files devel |
3ff86e9e | 682 | %defattr(644,root,root,755) |
cdeb0400 | 683 | %{_includedir}/%{name} |
5db07614 | 684 | %{_libdir}/libgit.a |
eaf5c40c | 685 | %{_libdir}/libgit_xdiff.a |
5d7220ad | 686 | |
91396e2e AG |
687 | %files gitk |
688 | %defattr(644,root,root,755) | |
08cc92d7 | 689 | %if %{with doc} |
91396e2e | 690 | %{_mandir}/man1/gitk.1* |
08cc92d7 ER |
691 | %endif |
692 | %attr(755,root,root) %{_bindir}/gitk | |
9fa88d97 AM |
693 | %dir %{_datadir}/gitk |
694 | %dir %{_datadir}/gitk/lib | |
695 | %dir %{_datadir}/gitk/lib/msgs | |
5d132744 | 696 | %lang(bg) %{_datadir}/gitk/lib/msgs/bg.msg |
3b243bbe | 697 | %lang(de) %{_datadir}/gitk/lib/msgs/de.msg |
f9871074 | 698 | %lang(es) %{_datadir}/gitk/lib/msgs/es.msg |
778b89a7 AM |
699 | %lang(fr) %{_datadir}/gitk/lib/msgs/fr.msg |
700 | %lang(hu) %{_datadir}/gitk/lib/msgs/hu.msg | |
3b243bbe | 701 | %lang(it) %{_datadir}/gitk/lib/msgs/it.msg |
469258c9 | 702 | %lang(ja) %{_datadir}/gitk/lib/msgs/ja.msg |
3ed82b68 | 703 | %lang(pt_BR) %{_datadir}/gitk/lib/msgs/pt_br.msg |
95998f97 | 704 | %lang(ru) %{_datadir}/gitk/lib/msgs/ru.msg |
f9871074 | 705 | %lang(sv) %{_datadir}/gitk/lib/msgs/sv.msg |
91396e2e | 706 | |
be2ccf99 AG |
707 | %files gitweb |
708 | %defattr(644,root,root,755) | |
709 | %doc gitweb/{README,INSTALL} | |
710 | %dir %{webappdir} | |
be2ccf99 AG |
711 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/apache.conf |
712 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/httpd.conf | |
51ce768a | 713 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,root) %{webappdir}/lighttpd.conf |
642ee6ff | 714 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitweb.conf |
9611d914 | 715 | %config(noreplace) %verify(not md5 mtime size) %attr(640,root,http) %{webappdir}/gitolite.pl |
be2ccf99 AG |
716 | %attr(755,root,root) %{cgibindir}/gitweb.cgi |
717 | %{appdir} | |
93a30d5e KK |
718 | %attr(755,root,root) %{_libdir}/%{name}/git-instaweb |
719 | %if %{with doc} | |
0c582eb3 AM |
720 | %{_mandir}/man1/gitweb.1* |
721 | %{_mandir}/man5/gitweb.conf.5* | |
93a30d5e | 722 | %endif |
be2ccf99 | 723 | |
e1c8d79f | 724 | %files gitview |
725 | %defattr(644,root,root,755) | |
726 | %doc contrib/gitview/gitview.txt | |
727 | %attr(755,root,root) %{_bindir}/gitview | |
728 | ||
f9871074 AG |
729 | %files gui |
730 | %defattr(644,root,root,755) | |
bf6fa63c | 731 | %attr(755,root,root) %{_libdir}/%{name}/git-gui |
f9871074 AG |
732 | %dir %{_datadir}/git-gui |
733 | %dir %{_datadir}/git-gui/lib | |
734 | %dir %{_datadir}/git-gui/lib/msgs | |
735 | %{_datadir}/git-gui/lib/git-gui.ico | |
736 | %{_datadir}/git-gui/lib/tclIndex | |
737 | %{_datadir}/git-gui/lib/*.js | |
738 | %{_datadir}/git-gui/lib/*.tcl | |
5d132744 | 739 | %lang(bg) %{_datadir}/git-gui/lib/msgs/bg.msg |
f9871074 | 740 | %lang(de) %{_datadir}/git-gui/lib/msgs/de.msg |
469258c9 | 741 | %lang(el) %{_datadir}/git-gui/lib/msgs/el.msg |
f9871074 AG |
742 | %lang(fr) %{_datadir}/git-gui/lib/msgs/fr.msg |
743 | %lang(hu) %{_datadir}/git-gui/lib/msgs/hu.msg | |
744 | %lang(it) %{_datadir}/git-gui/lib/msgs/it.msg | |
745 | %lang(ja) %{_datadir}/git-gui/lib/msgs/ja.msg | |
670fe4d6 | 746 | %lang(nb) %{_datadir}/git-gui/lib/msgs/nb.msg |
e21aea75 | 747 | %lang(pt_br) %{_datadir}/git-gui/lib/msgs/pt_br.msg |
f9871074 AG |
748 | %lang(ru) %{_datadir}/git-gui/lib/msgs/ru.msg |
749 | %lang(sv) %{_datadir}/git-gui/lib/msgs/sv.msg | |
35cbc54f | 750 | %lang(zh_CN) %{_datadir}/git-gui/lib/msgs/zh_cn.msg |
f9871074 | 751 | |
e5fa8af5 JB |
752 | %files arch |
753 | %defattr(644,root,root,755) | |
754 | %attr(755,root,root) %{_libdir}/%{name}/git-archimport | |
755 | %if %{with doc} | |
756 | %{_mandir}/man1/git-archimport.1* | |
757 | %endif | |
758 | ||
0d2db069 ER |
759 | %files bzr |
760 | %defattr(644,root,root,755) | |
761 | %attr(755,root,root) %{_libdir}/%{name}/git-remote-bzr | |
762 | ||
e5fa8af5 JB |
763 | %files cvs |
764 | %defattr(644,root,root,755) | |
765 | %attr(755,root,root) %{_bindir}/git-cvsserver | |
766 | %attr(755,root,root) %{_libdir}/%{name}/git-cvs* | |
767 | %if %{with doc} | |
768 | %{_mandir}/man1/git-cvs*.1* | |
769 | %{_mandir}/man7/gitcvs-migration.7* | |
770 | %endif | |
771 | ||
0d2db069 ER |
772 | %files hg |
773 | %defattr(644,root,root,755) | |
774 | %attr(755,root,root) %{_libdir}/%{name}/git-remote-hg | |
775 | ||
776 | %files p4 | |
777 | %defattr(644,root,root,755) | |
778 | %attr(755,root,root) %{_libdir}/%{name}/git-p4 | |
779 | %attr(755,root,root) %{_libdir}/%{name}/mergetools/p4merge | |
780 | ||
2c0376c9 AM |
781 | %files svn |
782 | %defattr(644,root,root,755) | |
783 | %attr(755,root,root) %{_libdir}/%{name}/git-svn | |
a7233f01 | 784 | %attr(755,root,root) %{_libdir}/%{name}/git-remote-testsvn |
b5884c73 | 785 | %{perl_vendorlib}/Git/SVN |
bbceff2c | 786 | %{perl_vendorlib}/Git/SVN.pm |
2c0376c9 AM |
787 | %if %{with doc} |
788 | %{_mandir}/man1/git-svn.1* | |
789 | %endif | |
790 | ||
d82521ea ER |
791 | %files email |
792 | %defattr(644,root,root,755) | |
858c27ef | 793 | %attr(755,root,root) %{_libdir}/%{name}/git-imap-send |
d82521ea ER |
794 | %attr(755,root,root) %{_libdir}/%{name}/*email* |
795 | %if %{with doc} | |
d82521ea | 796 | %{_mandir}/man1/*email*.1* |
858c27ef | 797 | %{_mandir}/man1/*imap-send*.1* |
d82521ea ER |
798 | %endif |
799 | ||
f2c1983d AG |
800 | %files -n bash-completion-git |
801 | %defattr(644,root,root,755) | |
3102984c | 802 | %{bash_compdir}/git |
f2c1983d | 803 | |
3dc01deb | 804 | %files -n perl-Git |
5d7220ad | 805 | %defattr(644,root,root,755) |
3dc01deb | 806 | %{perl_vendorlib}/Git.pm |
b5884c73 KK |
807 | %dir %{perl_vendorlib}/Git |
808 | %{perl_vendorlib}/Git/I18N.pm | |
bbceff2c | 809 | %{perl_vendorlib}/Git/IndexInfo.pm |
fdf2ed38 | 810 | %{_mandir}/man3/Git*.3pm* |
0643d0ea ER |
811 | |
812 | %if %{with gnome_keyring} | |
813 | %files -n gnome-keyring-git-core | |
814 | %defattr(644,root,root,755) | |
815 | %attr(755,root,root) %{_libdir}/%{name}/git-credential-gnome-keyring | |
816 | %endif |