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