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