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