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