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