]>
Commit | Line | Data |
---|---|---|
247b8ef4 AM |
1 | # TODO: |
2 | # - gitweb subpackage | |
891d0b05 JB |
3 | # |
4 | # Conditional build: | |
5 | %bcond_without tests # don't perform make test | |
6 | # | |
89a476f8 | 7 | %include /usr/lib/rpm/macros.perl |
51c3b977 | 8 | Summary: The stupid content tracker |
3f8032f4 | 9 | Summary(pl.UTF-8): Prymitywne narzędzie do śledzenia treści |
51c3b977 | 10 | Name: git-core |
91396e2e | 11 | Version: 1.5.2.2 |
80b346ba | 12 | Release: 1 |
51c3b977 | 13 | License: GPL v2 |
14 | Group: Development/Tools | |
bf83806a | 15 | Source0: http://www.kernel.org/pub/software/scm/git/git-%{version}.tar.bz2 |
91396e2e | 16 | # Source0-md5: 846940654b703ec5c8de4ee388cb4d08 |
508ade43 | 17 | URL: http://git.or.cz/ |
7fdeb28c | 18 | BuildRequires: asciidoc |
11856720 AM |
19 | BuildRequires: autoconf |
20 | BuildRequires: automake | |
51c3b977 | 21 | BuildRequires: curl-devel |
115484e9 | 22 | BuildRequires: expat-devel |
51c3b977 | 23 | BuildRequires: openssl-devel |
27b79a12 | 24 | BuildRequires: perl-Error |
51c3b977 | 25 | BuildRequires: perl-base |
26 | BuildRequires: python | |
89a476f8 | 27 | BuildRequires: rpm-perlprov >= 4.1-13 |
7fdeb28c | 28 | BuildRequires: xmlto |
51c3b977 | 29 | BuildRequires: zlib-devel |
3f245fc5 | 30 | Requires: coreutils |
11856720 AM |
31 | Requires: curl |
32 | Requires: diffutils | |
3f245fc5 AM |
33 | Requires: findutils |
34 | Requires: grep | |
11856720 | 35 | Requires: openssh-clients |
f266cd28 | 36 | Requires: perl-Error |
401f46f5 | 37 | Requires: rcs |
3f245fc5 | 38 | Requires: sed |
51c3b977 | 39 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
40 | ||
41 | %description | |
42 | "git" can mean anything, depending on your mood. | |
43 | ||
44 | - random three-letter combination that is pronounceable, and not | |
c751087d | 45 | actually used by any common UNIX command. The fact that it is a |
51c3b977 | 46 | mispronunciation of "get" may or may not be relevant. |
47 | - stupid. contemptible and despicable. simple. Take your pick from the | |
48 | dictionary of slang. | |
49 | - "global information tracker": you're in a good mood, and it actually | |
50 | works for you. Angels sing, and a light suddenly fills the room. | |
51 | - "goddamn idiotic truckload of sh*t": when it breaks | |
52 | ||
c751087d | 53 | This is a stupid (but extremely fast) directory content manager. It |
51c3b977 | 54 | doesn't do a whole lot, but what it 'does' do is track directory |
55 | contents efficiently. | |
56 | ||
ea061c99 JR |
57 | %description -l pl.UTF-8 |
58 | "git" może oznaczać cokolwiek, w zależności od nastroju. | |
59 | ||
60 | - losową kombinację trzech liter, która jest wymawialna i właściwie | |
61 | nie używana przez żadne popularne polecenie uniksowe. Fakt, że jest to | |
62 | błędna pisownia słowa "get" może mieć lub nie mieć znaczenia. | |
63 | - głupi, pogardliwy, prosty. Można wybrać ze słownika slangu. | |
64 | - "global information tracker" (narzędzie do globalnego śledzenia | |
65 | informacji) - jeśli jesteśmy w dobrym nastroju i git akurat działa. | |
66 | Anioły śpiewają, a światło niespodziewanie wypełnia pokój. | |
67 | - "goddamn idiotic truckload of sh*t" (przeklęty idiotyczny ładunek | |
68 | g*) - kiedy się zepsuje. | |
69 | ||
70 | Jest to prymitywny (ale bardzo szybki) zarządca treści słownikowej. | |
71 | Nie robi wiele, ale to, co "robi", to wydajne śledzenie zawartości | |
c751087d JB |
72 | katalogu. |
73 | ||
e3cefa79 | 74 | %package devel |
66a7f095 | 75 | Summary: Header files for git-core |
3f8032f4 | 76 | Summary(pl.UTF-8): Pliki nagłówkowe dla git-core |
66a7f095 | 77 | Group: Development/Libraries |
e3cefa79 | 78 | |
79 | %description devel | |
66a7f095 | 80 | Header files for git-core. |
81 | ||
ea061c99 JR |
82 | %description devel -l pl.UTF-8 |
83 | Pliki nagłówkowe dla git-core. | |
e3cefa79 | 84 | |
91396e2e AG |
85 | %package gitk |
86 | Summary: Tcl/Tk interface to the Git version control system | |
87 | Summary(pl.UTF-8): Napisany w Tcl/Tk interfejs do systemu kontroli wersji Git | |
88 | Group: Development/Tools | |
89 | Requires: %{name} = %{version}-%{release} | |
90 | Requires: tk | |
91 | ||
92 | %description gitk | |
93 | Displays changes in a repository or a selected set of commits. This | |
94 | includes visualizing the commit graph, showing information related to | |
95 | each commit, and the files in the trees of each revision. | |
96 | ||
97 | Historically, gitk was the first repository browser. It's written in | |
98 | tcl/tk and started off in a separate repository but was later merged | |
99 | into the main git repository. | |
100 | ||
101 | %description gitk -l pl.UTF-8 | |
102 | Wyświetla zmiany w repozytorium lub wybranym zbiorze commitów. Oznacza | |
103 | to wizualizacje grafu komitów, wyswietlanie informacji związanych z | |
104 | każdym commitów oraz listę plików dla każdej rewizji. | |
105 | ||
106 | Z punktu widzenia historii, gitk był pierwszą przeglądarką repozytorium | |
107 | git. Napisany jest w tcl/tk i początkowo był rozwijany w osobnym | |
108 | repozytirum ale z czasem został włączony do głównego repozytorium git. | |
109 | ||
3dc01deb | 110 | %package -n perl-Git |
5d7220ad | 111 | Summary: Perl interface to the Git version control system |
3f8032f4 | 112 | Summary(pl.UTF-8): Perlowy interfejs do systemu kontroli wersji Git |
5d7220ad AM |
113 | Group: Development/Languages/Perl |
114 | Requires: %{name} = %{version}-%{release} | |
27b79a12 | 115 | Obsoletes: perl-git-core |
5d7220ad | 116 | |
3dc01deb | 117 | %description -n perl-Git |
5d7220ad AM |
118 | This module provides Perl scripts easy way to interface the Git |
119 | version control system. The modules have an easy and well-tested way | |
120 | to call arbitrary Git commands; in the future, the interface will also | |
121 | provide specialized methods for doing easily operations which are not | |
122 | totally trivial to do over the generic command interface. | |
123 | ||
ea061c99 JR |
124 | %description -n perl-Git -l pl.UTF-8 |
125 | Ten moduł umożliwia skryptom Perla współpracę z systemem kontroli | |
126 | wersji Git. W łatwy i dobrze przetestowany sposób pozwala wywoływać | |
127 | dowolne polecenia Gita; w przyszłości interfejs udostępni także | |
128 | specjalne metody do łatwego wykonywania operacji nietrywialnych do | |
129 | wykonania przy użyciu ogólnego interfejsu poleceń. | |
7eef96e1 | 130 | |
51c3b977 | 131 | %prep |
bf83806a | 132 | %setup -q -n git-%{version} |
a1036d06 | 133 | |
134 | %build | |
11856720 AM |
135 | %{__aclocal} |
136 | %{__autoconf} | |
137 | %configure \ | |
138 | --with-openssl | |
51c3b977 | 139 | |
b69112f7 | 140 | %{__make} \ |
27b79a12 | 141 | INSTALLDIRS=vendor |
27b79a12 | 142 | |
7fdeb28c | 143 | %{__make} -C Documentation |
144 | ||
6c0d6e05 AM |
145 | %{?with_tests:%{__make} test} |
146 | ||
51c3b977 | 147 | %install |
148 | rm -rf $RPM_BUILD_ROOT | |
e3cefa79 | 149 | install -d $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff |
c751087d | 150 | |
51c3b977 | 151 | %{__make} install \ |
d778c02c | 152 | INSTALLDIRS=vendor \ |
51c3b977 | 153 | DESTDIR=$RPM_BUILD_ROOT |
154 | ||
7fdeb28c | 155 | %{__make} -C Documentation install \ |
7fdeb28c | 156 | DESTDIR=$RPM_BUILD_ROOT |
157 | ||
e3cefa79 | 158 | install *.h $RPM_BUILD_ROOT%{_includedir}/%{name} |
159 | install xdiff/*.h $RPM_BUILD_ROOT%{_includedir}/%{name}/xdiff | |
160 | ||
27b79a12 ER |
161 | rm -f $RPM_BUILD_ROOT%{perl_archlib}/perllocal.pod |
162 | rm -f $RPM_BUILD_ROOT%{perl_vendorarch}/auto/Git/.packlist | |
163 | ||
51c3b977 | 164 | %clean |
165 | rm -rf $RPM_BUILD_ROOT | |
166 | ||
167 | %files | |
168 | %defattr(644,root,root,755) | |
91396e2e | 169 | %doc README Documentation/[^gitk]*.html Documentation/howto Documentation/technical |
51c3b977 | 170 | %attr(755,root,root) %{_bindir}/* |
7fdeb28c | 171 | %{_mandir}/man*/* |
6c4f9a5b AM |
172 | %{_datadir}/%{name} |
173 | %{_datadir}/git-gui | |
91396e2e AG |
174 | %exclude %{_bindir}/gitk |
175 | %exclude %{_mandir}/man1/gitk.1* | |
e3cefa79 | 176 | |
177 | %files devel | |
3ff86e9e | 178 | %defattr(644,root,root,755) |
e3cefa79 | 179 | %{_includedir}/* |
5d7220ad | 180 | |
91396e2e AG |
181 | %files gitk |
182 | %defattr(644,root,root,755) | |
183 | %doc Documentation/gitk.html | |
184 | %attr(755,root,root) %{_bindir}/gitk | |
185 | %{_mandir}/man1/gitk.1* | |
186 | ||
3dc01deb | 187 | %files -n perl-Git |
5d7220ad | 188 | %defattr(644,root,root,755) |
3dc01deb | 189 | %{perl_vendorlib}/Git.pm |
5d7220ad | 190 | %{_mandir}/man3/* |