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