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