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