]>
Commit | Line | Data |
---|---|---|
1f630180 | 1 | # TODO: |
d46e45ba | 2 | # - finish ruby |
9688ba4c | 3 | # - http://subversion.tigris.org/issues/show_bug.cgi?id=2753 |
1930bef0 | 4 | # |
bab73684 | 5 | # Conditional build: |
65c1d4bd | 6 | %bcond_with net_client_only # build only net client |
3fc01170 | 7 | %bcond_without neon # use serf instead of neon |
298f7114 | 8 | %bcond_without swig # disable bindings generation with Swig |
65c1d4bd JB |
9 | %bcond_without python # build without python bindings (broken) |
10 | %bcond_without perl # build without perl bindings | |
73ab938a | 11 | %bcond_without ruby # build without ruby bindings |
298f7114 | 12 | %bcond_without apache # build without Apache support (webdav, etc) |
65c1d4bd JB |
13 | %bcond_without javahl # build without javahl support (Java high-level bindings) |
14 | %bcond_without tests # don't perform "make check" | |
65f2befa | 15 | %bcond_without kwallet # build without kde4 wallet support |
3c200272 | 16 | %bcond_without kde # build without kde4 support (alias for kwallet) |
bfb248d0 | 17 | %bcond_without gnome # build without gnome keyring support |
298f7114 | 18 | %bcond_without db # disable Subversion Berkeley DB based filesystem library |
12c96b58 | 19 | |
298f7114 ER |
20 | %if %{with net_client_only} |
21 | %undefine with_apache | |
22 | %undefine with_db | |
23 | %undefine with_swig | |
24 | %undefine with_javahl | |
25 | %endif | |
26 | ||
27 | %if %{without swig} | |
28 | %undefine with_perl | |
29 | %undefine with_python | |
30 | %undefine with_ruby | |
31 | %endif | |
12c96b58 | 32 | |
d9d66e02 | 33 | %if %{without kde} |
3c200272 JB |
34 | %undefine with_kwallet |
35 | %endif | |
298f7114 ER |
36 | |
37 | %if %{without python} && %{without perl} && %{without ruby} | |
38 | %define without_swig 1 | |
39 | %endif | |
40 | ||
41 | %define apxs /usr/sbin/apxs | |
42 | %define pdir SVN | |
43 | %define pnam _Core | |
44 | ||
04129f48 | 45 | %if %{with neon} |
a510fada | 46 | %define webdavlib neon |
04129f48 AG |
47 | %else |
48 | %define webdavlib serf | |
a510fada | 49 | %endif |
298f7114 | 50 | %{!?with_perl:%include /usr/lib/rpm/macros.perl} |
67cb9518 | 51 | Summary: A Concurrent Versioning system similar to but better than CVS |
abe3c421 ER |
52 | Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS |
53 | Summary(pt_BR.UTF-8): Sistema de versionamento concorrente | |
93b78127 | 54 | Name: subversion |
5c59669a | 55 | Version: 1.6.16 |
84e0d0fb | 56 | Release: 1 |
6f88d80e | 57 | License: Apache/BSD-like |
93b78127 | 58 | Group: Development/Version Control |
a5c00029 | 59 | Source0: http://subversion.tigris.org/downloads/%{name}-%{version}.tar.bz2 |
5c59669a | 60 | # Source0-md5: 32f25a6724559fe8691d1f57a63f636e |
93b78127 | 61 | Source1: %{name}-dav_svn.conf |
65318afa | 62 | Source2: %{name}-authz_svn.conf |
b56474ff AM |
63 | Source3: %{name}-svnserve.init |
64 | Source4: %{name}-svnserve.sysconfig | |
a510fada AM |
65 | # current subversion tarball has correct *.swg files |
66 | # but after regeneration these are broken again, so | |
67 | # we still need this script | |
f313e9a9 | 68 | Source5: %{name}-convert-typemaps-to-ifdef.py |
ed6210a2 | 69 | Patch0: %{name}-home_etc.patch |
d46e45ba | 70 | Patch1: %{name}-DESTDIR.patch |
00664663 | 71 | Patch2: %{name}-ruby-datadir-path.patch |
1cfe7af2 | 72 | Patch3: %{name}-tests.patch |
dc8fcc41 | 73 | URL: http://subversion.apache.org/ |
f2a757d6 | 74 | %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8} |
1cfe7af2 | 75 | BuildRequires: autoconf |
7b27380f | 76 | BuildRequires: automake |
3817faf5 | 77 | BuildRequires: db-devel >= 4.1.25 |
1cfe7af2 | 78 | BuildRequires: libtool |
58f4b627 | 79 | BuildRequires: rpmbuild(macros) >= 1.583 |
0905b458 | 80 | %if %{with perl} |
522a69b4 | 81 | BuildRequires: perl-devel >= 1:5.8.0 |
82 | BuildRequires: rpm-perlprov >= 4.1-13 | |
15f9818d | 83 | BuildRequires: swig-perl >= 1.3.24 |
536b3fd3 | 84 | %endif |
6ac3574b AM |
85 | %if %{with python} |
86 | BuildRequires: python-ctypesgen | |
c01720ea | 87 | BuildRequires: python-devel >= 1:2.5 |
6ac3574b AM |
88 | BuildRequires: swig-python >= 1.3.24 |
89 | %endif | |
90 | %if %{with ruby} | |
91 | BuildRequires: ruby-devel | |
5f328a6e | 92 | BuildRequires: ruby-rubygems |
6ac3574b AM |
93 | BuildRequires: swig-ruby >= 1.3.24 |
94 | %endif | |
af0d490b | 95 | %if %{with javahl} |
20c5f543 | 96 | BuildRequires: jdk |
af0d490b | 97 | %endif |
6ac3574b | 98 | BuildRequires: cyrus-sasl-devel |
16429189 | 99 | BuildRequires: apr-devel >= 1:1.0.0 |
a6ecf312 | 100 | BuildRequires: apr-util-devel >= 1:1.2.8-3 |
b0a7a5b2 | 101 | BuildRequires: autoconf >= 2.59 |
79d8c53c | 102 | BuildRequires: bison |
93b78127 | 103 | BuildRequires: expat-devel |
86ea8fde | 104 | BuildRequires: gettext-devel |
65f2befa | 105 | %{?with_kwallet:BuildRequires: kde4-kdelibs-devel} |
5f328a6e | 106 | %{?with_gnome:BuildRequires: libgnome-keyring-devel} |
f4e6a380 | 107 | BuildRequires: libtool >= 1.4-9 |
54271075 | 108 | BuildRequires: pkgconfig |
c01720ea | 109 | BuildRequires: rpm-pythonprov |
a562165a | 110 | BuildRequires: sed >= 4.0 |
c26d84c4 | 111 | BuildRequires: sqlite3-devel >= 3.6.11 |
a562165a JB |
112 | BuildRequires: texinfo |
113 | BuildRequires: which | |
114 | %if %{with neon} | |
bd3c99a8 | 115 | BuildRequires: neon-devel >= 0.26.0 |
a562165a JB |
116 | %else |
117 | BuildRequires: serf-devel | |
e3ad24ea | 118 | %endif |
027f8ebe | 119 | Requires: %{name}-libs = %{version}-%{release} |
8b023a9d | 120 | %requires_ge sqlite3 |
93b78127 AM |
121 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
122 | ||
f4070f5f | 123 | %define _libexecdir %{_libdir}/svn |
1af5e34d ER |
124 | %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d |
125 | %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null) | |
93b78127 | 126 | |
58f4b627 JR |
127 | %define skip_post_check_so libsvn_swig_py-1.so.* libsvn_swig_perl-1.so.* |
128 | ||
93b78127 AM |
129 | %description |
130 | The goal of the Subversion project is to build a version control | |
131 | system that is a compelling replacement for CVS in the open source | |
132 | community. | |
133 | ||
134 | Our goals are: | |
135 | - All current CVS features. | |
136 | - Directories, renames, and file meta-data are versioned. | |
137 | - Symbolic links, etc, are supported | |
138 | - Commits are truly atomic. | |
139 | - Branching and tagging are cheap (constant time) operations | |
140 | - Repeated merges are handled gracefully | |
141 | - Support for plug-in client side diff programs | |
142 | - Natively client/server | |
143 | - Client/server protocol sends diffs in both directions | |
144 | - Costs are proportional to change size, not project size | |
145 | - Internationalization | |
146 | - Progressive multi-lingual support | |
147 | ||
aa59005f | 148 | %description -l pl.UTF-8 |
93b78127 AM |
149 | Celem projektu Subversion jest stworzenie systemu kontroli wersji jako |
150 | zamiennika dla CVS. | |
151 | ||
152 | Cele projektu to: | |
aa59005f | 153 | - Wszystkie aktualne możliwości CVS. |
24406120 JB |
154 | - Katalogi, zmiany nazw oraz metadane plików są wersjonowane. |
155 | - Obsługa dowiązań symbolicznych itp. | |
aa59005f JR |
156 | - Commity są w pełni atomowe. |
157 | - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami. | |
24406120 JB |
158 | - Dobra obsługa powtarzanego łączenia (merge). |
159 | - Obsługa wtyczek diff po stronie klienta. | |
93b78127 | 160 | - Natywny klient/serwer. |
aa59005f | 161 | - Klient/Serwer przesyłają diffy w obu kierunkach. |
93b78127 AM |
162 | - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu. |
163 | - Internacjonalizacja. | |
aa59005f | 164 | - Postępujące wsparcie dla wielu języków. |
93b78127 | 165 | |
aa59005f JR |
166 | %description -l pt_BR.UTF-8 |
167 | O objetivo do projeto Subversion é construir um sistema de controle de | |
168 | versões que seja um substituto para o CVS (Concurrent Versioning | |
92066deb | 169 | System) na comunidade opensource, fornecendo grandes melhorias. |
170 | ||
f4e6a380 AM |
171 | %package libs |
172 | Summary: Subversion libraries and modules | |
abe3c421 | 173 | Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły |
f4e6a380 | 174 | Group: Libraries |
04129f48 | 175 | %{?with_neon:Requires: neon >= 0.26.0} |
53855fbf | 176 | Obsoletes: libsubversion0 |
f4e6a380 AM |
177 | |
178 | %description libs | |
179 | Subversion libraries and modules. | |
180 | ||
aa59005f JR |
181 | %description libs -l pl.UTF-8 |
182 | Biblioteka subversion oraz ładowalne moduły. | |
f4e6a380 | 183 | |
93b78127 AM |
184 | %package devel |
185 | Summary: Header files and develpment documentation for subversion | |
abe3c421 ER |
186 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion |
187 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion | |
93b78127 | 188 | Group: Development/Libraries |
9cb7e099 | 189 | Requires: %{name}-libs = %{version}-%{release} |
c5b1d686 | 190 | Requires: apr-util-devel >= 1:1.0.0 |
04129f48 | 191 | %{?with_neon:Requires: neon-devel >= 0.26.0} |
12cf252c | 192 | Obsoletes: libsubversion0-devel |
93b78127 AM |
193 | |
194 | %description devel | |
195 | Header files and develpment documentation for subversion. | |
196 | ||
aa59005f JR |
197 | %description devel -l pl.UTF-8 |
198 | Pliki nagłówkowe i dokumetacja do subversion. | |
93b78127 | 199 | |
aa59005f JR |
200 | %description devel -l pt_BR.UTF-8 |
201 | Este pacote provê os arquivos necessários para desenvolvedores | |
92066deb | 202 | interagirem com o Subversion. |
203 | ||
93b78127 AM |
204 | %package static |
205 | Summary: Static subversion library | |
abe3c421 ER |
206 | Summary(pl.UTF-8): Biblioteka statyczna subversion |
207 | Summary(pt_BR.UTF-8): Sistema de versionamento concorrente | |
93b78127 AM |
208 | Group: Development/Libraries |
209 | Requires: %{name}-devel = %{version} | |
12cf252c | 210 | Obsoletes: libsubversion0-static-devel |
93b78127 AM |
211 | |
212 | %description static | |
213 | Static subversion library. | |
214 | ||
aa59005f | 215 | %description static -l pl.UTF-8 |
93b78127 AM |
216 | Biblioteka statyczna subversion. |
217 | ||
aa59005f JR |
218 | %description static -l pt_BR.UTF-8 |
219 | Este pacote provê um cliente estático do subversion. | |
92066deb | 220 | |
b56474ff AM |
221 | %package svnserve |
222 | Summary: Subversion svnserve | |
abe3c421 | 223 | Summary(pl.UTF-8): Subversion svnserve |
b56474ff | 224 | Group: Networking/Daemons |
3817faf5 | 225 | Requires(post,preun): /sbin/chkconfig |
93f1d402 | 226 | Requires(postun): /usr/sbin/groupdel |
227 | Requires(postun): /usr/sbin/userdel | |
228 | Requires(pre): /bin/id | |
229 | Requires(pre): /usr/bin/getgid | |
230 | Requires(pre): /usr/lib/rpm/user_group.sh | |
231 | Requires(pre): /usr/sbin/groupadd | |
232 | Requires(pre): /usr/sbin/useradd | |
233 | Requires(pre): /usr/sbin/usermod | |
9cb7e099 | 234 | Requires: %{name} = %{version}-%{release} |
7b27380f | 235 | Requires: rc-scripts |
a1bac09d MŁ |
236 | Provides: group(svn) |
237 | Provides: user(svn) | |
b56474ff AM |
238 | |
239 | %description svnserve | |
240 | Subversion svnserve server. | |
241 | ||
aa59005f | 242 | %description svnserve -l pl.UTF-8 |
b56474ff AM |
243 | Serwer subversion svnserve. |
244 | ||
4bbdbbf8 AM |
245 | %package tools |
246 | Summary: Subversion tools and scripts | |
abe3c421 ER |
247 | Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion |
248 | Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion | |
4bbdbbf8 | 249 | Group: Applications |
4bbdbbf8 | 250 | %pyrequires_eq python |
7b27380f | 251 | Requires: %{name} = %{version}-%{release} |
4bbdbbf8 AM |
252 | Requires: python-subversion = %{version} |
253 | ||
254 | %description tools | |
255 | Subversion tools and scripts. | |
256 | ||
aa59005f JR |
257 | %description tools -l pl.UTF-8 |
258 | Narzędzia oraz skrypty dla subversion. | |
4bbdbbf8 | 259 | |
fe5bb6bb | 260 | %package -n bash-completion-subversion |
261 | Summary: bash completion for subversion | |
abe3c421 | 262 | Summary(pl.UTF-8): Dopełnienia basha dla subversion |
fe5bb6bb | 263 | Group: Applications/Shells |
e30588c4 | 264 | Requires: %{name} = %{version}-%{release} |
53855fbf | 265 | Requires: bash-completion |
e30588c4 | 266 | Conflicts: %{name}-tools <= 1.1.0-0.rc6.1 |
fe5bb6bb | 267 | |
268 | %description -n bash-completion-subversion | |
269 | Bash completion for subversion. | |
270 | ||
aa59005f JR |
271 | %description -n bash-completion-subversion -l pl.UTF-8 |
272 | Dopełnienia basha dla subversion. | |
fe5bb6bb | 273 | |
1cc7453a | 274 | %package -n java-subversion |
65c1d4bd JB |
275 | Summary: Subversion Java bindings |
276 | Summary(pl.UTF-8): Dowiązania do Subversion dla Javy | |
1cc7453a | 277 | Group: Development/Languages/Java |
278 | Requires: %{name}-libs = %{version}-%{release} | |
279 | ||
280 | %description -n java-subversion | |
281 | This is a set of Java classes which provide the functionality of | |
282 | subversion-libs, the Subversion libraries. It is useful if you want | |
283 | to, for example, write a Java class that manipulates a Subversion | |
284 | repository or working copy. See the 'subversion' package for more | |
285 | information. | |
286 | ||
65c1d4bd JB |
287 | %description -n java-subversion -l pl.UTF-8 |
288 | Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność | |
289 | subversion-libs, czyli bibliotek Subversion. Jest przydatny przy | |
d46e45ba AM |
290 | pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię |
291 | roboczą. Więcej informacji w pakiecie subversion. | |
65c1d4bd | 292 | |
fa3ff1b2 | 293 | %package -n python-subversion |
65c1d4bd JB |
294 | Summary: Subversion Python bindings |
295 | Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona | |
296 | Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion | |
f4e6a380 | 297 | Group: Development/Languages/Python |
f4e6a380 | 298 | %pyrequires_eq python |
9cb7e099 | 299 | Requires: %{name}-libs = %{version}-%{release} |
53855fbf | 300 | Obsoletes: subversion-python |
f4e6a380 | 301 | |
fa3ff1b2 | 302 | %description -n python-subversion |
65c1d4bd | 303 | Subversion Python bindings. |
f4e6a380 | 304 | |
aa59005f | 305 | %description -n python-subversion -l pl.UTF-8 |
65c1d4bd | 306 | Dowiązania do Subversion dla Pythona. |
f4e6a380 | 307 | |
aa59005f | 308 | %description -n python-subversion -l pt_BR.UTF-8 |
65c1d4bd | 309 | Módulos Python para acessar os recursos do Subversion. |
92066deb | 310 | |
137fcafd AM |
311 | %package -n python-csvn |
312 | Summary: CTypes Subversion Python bindings | |
313 | Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona | |
314 | Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion | |
315 | Group: Development/Languages/Python | |
316 | %pyrequires_eq python | |
317 | Requires: %{name}-libs = %{version}-%{release} | |
318 | ||
319 | %description -n python-csvn | |
320 | Subversion CTypes Python bindings. | |
321 | ||
322 | %description -n python-csvn -l pl.UTF-8 | |
323 | Dowiązania do Subversion dla Pythona używające CTypes. | |
324 | ||
325 | %description -n python-csvn -l pt_BR.UTF-8 | |
326 | Módulos Python para acessar os recursos do Subversion. | |
327 | ||
b56474ff | 328 | %package -n perl-subversion |
65c1d4bd JB |
329 | Summary: Subversion Perl bindings |
330 | Summary(pl.UTF-8): Dowiązania do Subversion dla Perla | |
331 | Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion | |
b56474ff | 332 | Group: Development/Languages/Perl |
9cb7e099 | 333 | Requires: %{name}-libs = %{version}-%{release} |
53855fbf | 334 | Obsoletes: subversion-perl |
b56474ff AM |
335 | |
336 | %description -n perl-subversion | |
65c1d4bd | 337 | Subversion Perl bindings. |
b56474ff | 338 | |
aa59005f | 339 | %description -n perl-subversion -l pl.UTF-8 |
65c1d4bd | 340 | Dowiązania do Subversion dla Perla. |
b56474ff | 341 | |
aa59005f | 342 | %description -n perl-subversion -l pt_BR.UTF-8 |
65c1d4bd | 343 | Módulos Perl para acessar os recursos do Subversion. |
b56474ff | 344 | |
d46e45ba AM |
345 | %package -n ruby-subversion |
346 | Summary: Subversion Ruby bindings | |
d2bf70bf | 347 | Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby |
d46e45ba AM |
348 | Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion |
349 | Group: Development/Languages | |
350 | Requires: %{name}-libs = %{version}-%{release} | |
351 | Obsoletes: subversion-ruby | |
352 | ||
353 | %description -n ruby-subversion | |
354 | Subversion Ruby bindings. | |
355 | ||
356 | %description -n ruby-subversion -l pl.UTF-8 | |
d2bf70bf | 357 | Dowiązania do Subversion dla języka Ruby. |
d46e45ba AM |
358 | |
359 | %description -n ruby-subversion -l pt_BR.UTF-8 | |
360 | Módulos Ruby para acessar os recursos do Subversion. | |
361 | ||
93b78127 AM |
362 | %package -n apache-mod_dav_svn |
363 | Summary: Apache module: Subversion Server | |
abe3c421 | 364 | Summary(pl.UTF-8): Moduł apache: Serwer Subversion |
93b78127 | 365 | Group: Networking/Daemons |
7b27380f | 366 | Requires: %{name} = %{version}-%{release} |
53855fbf | 367 | Requires: apache(modules-api) = %apache_modules_api |
7887b1ac | 368 | Requires: apache-mod_dav |
93b78127 AM |
369 | |
370 | %description -n apache-mod_dav_svn | |
371 | Apache module: Subversion Server. | |
372 | ||
aa59005f JR |
373 | %description -n apache-mod_dav_svn -l pl.UTF-8 |
374 | Moduł apache: Serwer Subversion. | |
93b78127 | 375 | |
65318afa AF |
376 | %package -n apache-mod_authz_svn |
377 | Summary: Apache module: Subversion Server - path-based authorization | |
abe3c421 | 378 | Summary(pl.UTF-8): Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion |
65318afa | 379 | Group: Networking/Daemons |
53855fbf | 380 | Requires: apache(modules-api) = %apache_modules_api |
9cb7e099 | 381 | Requires: apache-mod_dav_svn = %{version}-%{release} |
65318afa AF |
382 | |
383 | %description -n apache-mod_authz_svn | |
384 | Apache module: Subversion Server - path-based authorization. | |
385 | ||
aa59005f JR |
386 | %description -n apache-mod_authz_svn -l pl.UTF-8 |
387 | Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion. | |
e23909be | 388 | |
1429fa1c | 389 | %package -n gnome-keyring-subversion |
fe242fac JB |
390 | Summary: GNOME Keyring authentication provider for Subversion |
391 | Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Subversion | |
1429fa1c AM |
392 | Group: X11/Applications |
393 | ||
394 | %description -n gnome-keyring-subversion | |
fe242fac JB |
395 | Authentication provider module for Subversion which allows SVN client |
396 | to authenticate using GNOME Keyring. | |
1429fa1c AM |
397 | |
398 | %description -n gnome-keyring-subversion -l pl.UTF-8 | |
fe242fac JB |
399 | Moduł uwierzytelniający dla Subversion pozwalający klientom SVN |
400 | uwierzytelniać się przy użyciu mechanizmu GNOME Keyring. | |
1429fa1c AM |
401 | |
402 | %package -n kde4-kwallet-subversion | |
fe242fac JB |
403 | Summary: KDE Wallet authentication provider for Subversion |
404 | Summary(pl.UTF-8): Moduł uwierzytelniający dla Subversion wykorzystujący Portfel KDE | |
1429fa1c AM |
405 | Group: X11/Applications |
406 | ||
407 | %description -n kde4-kwallet-subversion | |
fe242fac JB |
408 | Authentication provider module for Subversion which allows SVN client |
409 | to authenticate using KDE Wallet. | |
1429fa1c AM |
410 | |
411 | %description -n kde4-kwallet-subversion -l pl.UTF-8 | |
fe242fac JB |
412 | Moduł uwierzytelniający dla Subversion pozwalający klientom SVN |
413 | uwierzytelniać się przy użyciu Portfela KDE. | |
1429fa1c | 414 | |
93b78127 | 415 | %prep |
a5c00029 | 416 | %setup -q |
ed6210a2 | 417 | %patch0 -p0 |
d4bccc60 | 418 | %patch1 -p1 |
00664663 | 419 | %patch2 -p0 |
1cfe7af2 | 420 | %patch3 -p1 |
a510fada AM |
421 | |
422 | sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4 | |
423 | ||
424 | # serf.m4 macro is broken and ignores --without serf | |
244bdb04 | 425 | %{?with_neon:sed -i -e 's#serf_found="yes"#serf_found="no"#g' build/ac-macros/serf.m4} |
027f8ebe | 426 | |
93b78127 | 427 | %build |
1cfe7af2 JB |
428 | # disabled regeneration - subversion 1.6.13 is not ready for swig 2.0.x |
429 | #%{__rm} subversion/bindings/swig/proxy/*.swg | |
430 | #cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../.. | |
67cb9518 | 431 | chmod +x ./autogen.sh && ./autogen.sh |
1cfe7af2 | 432 | %{__libtoolize} |
93b78127 | 433 | %configure \ |
5dfeafd7 | 434 | --with-editor=vi \ |
12ae68c1 | 435 | --with-zlib=%{_libdir} \ |
fa6fa2cf | 436 | --disable-runtime-module-search \ |
86ee97d3 | 437 | --disable-mod-activation \ |
298f7114 | 438 | %if %{with db} |
ad5c551e | 439 | --with-berkeley-db="db.h:%{_includedir}:%{_libdir}:db" \ |
298f7114 ER |
440 | %else |
441 | --without-berkeley-db \ | |
442 | %endif | |
0905b458 | 443 | %if %{with apache} |
536b3fd3 | 444 | --with-apxs=%{_sbindir}/apxs \ |
0905b458 | 445 | %else |
446 | --without-apache \ | |
447 | --without-apxs \ | |
0905b458 | 448 | %endif |
298f7114 | 449 | %if %{without swig} |
0905b458 | 450 | --without-swig \ |
451 | %endif | |
137fcafd | 452 | %{?with_python:--with-ctypesgen=%{_bindir}/ctypesgen.py} \ |
1cc7453a | 453 | --%{?with_javahl:en}%{!?with_javahl:dis}able-javahl \ |
1cc7453a | 454 | --with-jdk="%{java_home}" \ |
cf2589d0 | 455 | --without-jikes \ |
04129f48 | 456 | %if %{with neon} |
e3ad24ea | 457 | --without-serf \ |
e30588c4 | 458 | --with-neon=%{_prefix} \ |
78f330c4 | 459 | --disable-neon-version-check \ |
04129f48 AG |
460 | %else |
461 | --with-serf=%{_prefix} \ | |
462 | --without-neon \ | |
e3ad24ea | 463 | %endif |
16429189 | 464 | --with-apr=%{_bindir}/apr-1-config \ |
1429fa1c | 465 | --with-apr-util=%{_bindir}/apu-1-config \ |
65f2befa | 466 | %if %{with kwallet} |
1429fa1c | 467 | --with-kwallet \ |
65f2befa | 468 | %endif |
bfb248d0 | 469 | %if %{with gnome} |
1429fa1c | 470 | --with-gnome-keyring |
bfb248d0 | 471 | %endif |
536b3fd3 | 472 | |
1f630180 | 473 | %{__make} -j1 |
536b3fd3 | 474 | |
b56474ff | 475 | # python |
0905b458 | 476 | %if %{with python} |
137fcafd AM |
477 | # ctypes bindings |
478 | %{__make} ctypes-python | |
479 | # swig bindings | |
86a4919e | 480 | %{__make} swig-py \ |
65318afa AF |
481 | swig_pydir=%{py_sitedir}/libsvn \ |
482 | swig_pydir_extra=%{py_sitedir}/svn | |
0905b458 | 483 | %endif |
b56474ff | 484 | # perl |
0905b458 | 485 | %if %{with perl} |
390bb8f4 | 486 | %{__make} -j1 swig-pl-lib |
bf539998 AM |
487 | odir=$(pwd) |
488 | cd subversion/bindings/swig/perl/native | |
489 | %{__perl} Makefile.PL INSTALLDIRS=vendor | |
b445847c | 490 | %{__make} -j1 |
bf539998 | 491 | cd $odir |
536b3fd3 | 492 | %endif |
1cc7453a | 493 | %if %{with javahl} |
b445847c | 494 | %{__make} -j1 javahl \ |
1cc7453a | 495 | javahl_javadir="%{_javadir}" |
496 | %endif | |
d46e45ba AM |
497 | # ruby |
498 | %if %{with ruby} | |
499 | %{__make} swig-rb | |
500 | %endif | |
12ae68c1 AM |
501 | |
502 | %if %{with tests} | |
503 | %{__make} check | |
d46e45ba | 504 | %if %{with python} |
137fcafd | 505 | %{__make} check-ctypes-python |
d46e45ba AM |
506 | %{__make} check-swig-py |
507 | %endif | |
508 | %if %{with perl} | |
509 | %{__make} check-swig-pl | |
510 | %endif | |
511 | %if %{with ruby} | |
6e3aae2d ER |
512 | # disabled, see https://bugs.launchpad.net/pld-linux/+bug/734340 |
513 | #%{__make} check-swig-rb | |
d46e45ba | 514 | %endif |
0905b458 | 515 | %endif |
93b78127 AM |
516 | |
517 | %install | |
518 | rm -rf $RPM_BUILD_ROOT | |
1326bb99 | 519 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \ |
1af5e34d | 520 | $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \ |
afb35189 | 521 | $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \ |
d9d66e02 | 522 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name} \ |
a54611db | 523 | $RPM_BUILD_ROOT/home/services/subversion{,/repos} |
93b78127 | 524 | |
1f630180 | 525 | %{__make} install -j1 \ |
1cc7453a | 526 | %if %{with javahl} |
527 | install-javahl \ | |
528 | javahl_javadir="%{_javadir}" \ | |
529 | %endif | |
d46e45ba | 530 | %if %{with python} |
0905b458 | 531 | install-swig-py \ |
137fcafd | 532 | install-ctypes-python \ |
d46e45ba AM |
533 | %endif |
534 | %if %{with ruby} | |
535 | install-swig-rb install-swig-rb-doc \ | |
0905b458 | 536 | %endif |
f2a757d6 | 537 | APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \ |
86a4919e | 538 | DESTDIR=$RPM_BUILD_ROOT \ |
65318afa AF |
539 | swig_pydir=%{py_sitedir}/libsvn \ |
540 | swig_pydir_extra=%{py_sitedir}/svn | |
93b78127 | 541 | |
298f7114 | 542 | %if %{with perl} |
bf539998 AM |
543 | %{__make} install-swig-pl-lib \ |
544 | DESTDIR=$RPM_BUILD_ROOT | |
b445847c | 545 | %{__make} -C subversion/bindings/swig/perl/native install \ |
bf539998 AM |
546 | DESTDIR=$RPM_BUILD_ROOT \ |
547 | PREFIX=$RPM_BUILD_ROOT%{_prefix} \ | |
548 | LIBDIR=$RPM_BUILD_ROOT%{_libdir} | |
bf539998 AM |
549 | %endif |
550 | ||
0905b458 | 551 | %if %{with apache} |
d9d66e02 ER |
552 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf |
553 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf | |
554 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve | |
555 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve | |
0905b458 | 556 | %endif |
93b78127 | 557 | |
d9d66e02 ER |
558 | %if %{without net_client_only} |
559 | install -p tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup | |
298f7114 | 560 | %endif |
0905b458 | 561 | %if %{with python} |
f4e6a380 AM |
562 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
563 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
3c200272 JB |
564 | %py_postclean |
565 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.la | |
1326bb99 | 566 | install tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version} |
536b3fd3 | 567 | %endif |
f4e6a380 | 568 | |
d9d66e02 ER |
569 | cp -p tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name} |
570 | cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
1326bb99 | 571 | |
fe242fac | 572 | %{?with_javahl:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.{la,a}} |
298f7114 | 573 | %if %{with swig} |
fe242fac JB |
574 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.{la,a} |
575 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/ruby/site_ruby/*/*/svn/ext/*.la | |
5f328a6e | 576 | %endif |
fe242fac JB |
577 | %if %{with gnome} || %{with kwallet} |
578 | # dlopened by soname (libsvn_auth_*-1.so.0) | |
579 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la,a} | |
580 | %endif | |
205a3ddc | 581 | |
fe242fac | 582 | %find_lang %{name} |
a6ecf312 | 583 | |
e23909be JB |
584 | %clean |
585 | rm -rf $RPM_BUILD_ROOT | |
586 | ||
a1bac09d MŁ |
587 | %pre svnserve |
588 | %groupadd -g 86 svn | |
589 | %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn | |
590 | ||
d2bf70bf JB |
591 | %post libs -p /sbin/ldconfig |
592 | %postun libs -p /sbin/ldconfig | |
593 | ||
594 | %post devel -p /sbin/postshell | |
6f99c3bd | 595 | -/usr/sbin/fix-info-dir -c %{_infodir} |
93b78127 | 596 | |
d2bf70bf | 597 | %postun devel -p /sbin/postshell |
6f99c3bd | 598 | -/usr/sbin/fix-info-dir -c %{_infodir} |
93b78127 | 599 | |
12c96b58 ER |
600 | %post -n java-subversion -p /sbin/ldconfig |
601 | %postun -n java-subversion -p /sbin/ldconfig | |
602 | ||
d2bf70bf JB |
603 | %post -n perl-subversion -p /sbin/ldconfig |
604 | %postun -n perl-subversion -p /sbin/ldconfig | |
605 | ||
606 | %post -n python-subversion -p /sbin/ldconfig | |
607 | %postun -n python-subversion -p /sbin/ldconfig | |
f4e6a380 | 608 | |
12c96b58 ER |
609 | %post -n ruby-subversion -p /sbin/ldconfig |
610 | %postun -n ruby-subversion -p /sbin/ldconfig | |
611 | ||
612 | %post -n gnome-keyring-subversion -p /sbin/ldconfig | |
613 | %postun -n gnome-keyring-subversion -p /sbin/ldconfig | |
614 | ||
615 | %post -n kde4-kwallet-subversion -p /sbin/ldconfig | |
616 | %postun -n kde4-kwallet-subversion -p /sbin/ldconfig | |
617 | ||
b56474ff | 618 | %post svnserve |
e8d9186f ER |
619 | /sbin/chkconfig --add svnserve |
620 | %service svnserve restart "svnserve daemon" | |
621 | ||
b56474ff AM |
622 | %preun svnserve |
623 | if [ "$1" = "0" ]; then | |
e8d9186f ER |
624 | %service svnserve stop |
625 | /sbin/chkconfig --del svnserve | |
b56474ff AM |
626 | fi |
627 | ||
a1bac09d MŁ |
628 | %postun svnserve |
629 | if [ "$1" = "0" ]; then | |
12c96b58 ER |
630 | %userremove svn |
631 | %groupremove svn | |
a1bac09d MŁ |
632 | fi |
633 | ||
93b78127 | 634 | %post -n apache-mod_dav_svn |
e8d9186f | 635 | %service -q httpd restart |
93b78127 | 636 | |
ba425c92 | 637 | %postun -n apache-mod_dav_svn |
93b78127 | 638 | if [ "$1" = "0" ]; then |
e8d9186f | 639 | %service -q httpd restart |
93b78127 AM |
640 | fi |
641 | ||
9688ba4c JR |
642 | %post -n apache-mod_authz_svn |
643 | %service -q httpd restart | |
644 | ||
ba425c92 | 645 | %postun -n apache-mod_authz_svn |
9688ba4c JR |
646 | if [ "$1" = "0" ]; then |
647 | %service -q httpd restart | |
648 | fi | |
649 | ||
93b78127 AM |
650 | %files |
651 | %defattr(644,root,root,755) | |
983a49f6 | 652 | %doc BUGS CHANGES COPYING INSTALL README |
d37298dc | 653 | %doc doc/*/*.html |
4bbdbbf8 AM |
654 | %doc tools/hook-scripts/*.{pl,py,example} |
655 | %doc tools/hook-scripts/mailer/*.{py,example} | |
1326bb99 | 656 | %doc tools/xslt/* |
b445847c JB |
657 | %attr(755,root,root) %{_bindir}/svn |
658 | %attr(755,root,root) %{_bindir}/svnadmin | |
659 | %attr(755,root,root) %{_bindir}/svndumpfilter | |
660 | %attr(755,root,root) %{_bindir}/svnlook | |
661 | %attr(755,root,root) %{_bindir}/svnsync | |
662 | %attr(755,root,root) %{_bindir}/svnversion | |
663 | %{_mandir}/man1/svn.1* | |
664 | %{_mandir}/man1/svnadmin.1* | |
665 | %{_mandir}/man1/svndumpfilter.1* | |
666 | %{_mandir}/man1/svnlook.1* | |
667 | %{_mandir}/man1/svnsync.1* | |
668 | %{_mandir}/man1/svnversion.1* | |
f4e6a380 | 669 | |
205a3ddc | 670 | %files libs -f %{name}.lang |
f4e6a380 | 671 | %defattr(644,root,root,755) |
d9d66e02 | 672 | %dir %{_sysconfdir}/%{name} |
b445847c JB |
673 | %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.* |
674 | %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0 | |
675 | %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.* | |
676 | %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0 | |
677 | %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.* | |
678 | %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0 | |
679 | %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.* | |
680 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0 | |
5f328a6e | 681 | %if %{without net_client_only} |
b445847c JB |
682 | %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.* |
683 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0 | |
5f328a6e | 684 | %endif |
b445847c JB |
685 | %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.* |
686 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0 | |
687 | %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.* | |
688 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0 | |
689 | %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.* | |
690 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0 | |
691 | %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.* | |
692 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0 | |
a510fada AM |
693 | %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so.*.*.* |
694 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_%{webdavlib}-1.so.0 | |
b445847c JB |
695 | %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.* |
696 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0 | |
697 | %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.* | |
698 | %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0 | |
699 | %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.* | |
700 | %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0 | |
701 | %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.* | |
702 | %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0 | |
93b78127 AM |
703 | |
704 | %files devel | |
705 | %defattr(644,root,root,755) | |
b445847c JB |
706 | %attr(755,root,root) %{_libdir}/libsvn_client-1.so |
707 | %attr(755,root,root) %{_libdir}/libsvn_delta-1.so | |
708 | %attr(755,root,root) %{_libdir}/libsvn_diff-1.so | |
709 | %attr(755,root,root) %{_libdir}/libsvn_fs-1.so | |
5f328a6e | 710 | %if %{without net_client_only} |
b445847c | 711 | %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so |
5f328a6e | 712 | %endif |
b445847c JB |
713 | %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so |
714 | %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so | |
715 | %attr(755,root,root) %{_libdir}/libsvn_ra-1.so | |
716 | %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so | |
a510fada | 717 | %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so |
b445847c JB |
718 | %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so |
719 | %attr(755,root,root) %{_libdir}/libsvn_repos-1.so | |
720 | %attr(755,root,root) %{_libdir}/libsvn_subr-1.so | |
721 | %attr(755,root,root) %{_libdir}/libsvn_wc-1.so | |
722 | %{_libdir}/libsvn_client-1.la | |
723 | %{_libdir}/libsvn_delta-1.la | |
724 | %{_libdir}/libsvn_diff-1.la | |
725 | %{_libdir}/libsvn_fs-1.la | |
5f328a6e | 726 | %if %{without net_client_only} |
b445847c | 727 | %{_libdir}/libsvn_fs_base-1.la |
5f328a6e | 728 | %endif |
b445847c JB |
729 | %{_libdir}/libsvn_fs_fs-1.la |
730 | %{_libdir}/libsvn_fs_util-1.la | |
731 | %{_libdir}/libsvn_ra-1.la | |
732 | %{_libdir}/libsvn_ra_local-1.la | |
a510fada | 733 | %{_libdir}/libsvn_ra_%{webdavlib}-1.la |
b445847c JB |
734 | %{_libdir}/libsvn_ra_svn-1.la |
735 | %{_libdir}/libsvn_repos-1.la | |
736 | %{_libdir}/libsvn_subr-1.la | |
737 | %{_libdir}/libsvn_wc-1.la | |
738 | %{_includedir}/%{name}-1 | |
1326bb99 | 739 | %{_examplesdir}/%{name}-%{version} |
93b78127 AM |
740 | |
741 | %files static | |
742 | %defattr(644,root,root,755) | |
b445847c JB |
743 | %{_libdir}/libsvn_client-1.a |
744 | %{_libdir}/libsvn_delta-1.a | |
745 | %{_libdir}/libsvn_diff-1.a | |
746 | %{_libdir}/libsvn_fs-1.a | |
5f328a6e | 747 | %if %{without net_client_only} |
b445847c | 748 | %{_libdir}/libsvn_fs_base-1.a |
5f328a6e | 749 | %endif |
b445847c JB |
750 | %{_libdir}/libsvn_fs_fs-1.a |
751 | %{_libdir}/libsvn_fs_util-1.a | |
752 | %{_libdir}/libsvn_ra-1.a | |
753 | %{_libdir}/libsvn_ra_local-1.a | |
a510fada | 754 | %{_libdir}/libsvn_ra_%{webdavlib}-1.a |
b445847c JB |
755 | %{_libdir}/libsvn_ra_svn-1.a |
756 | %{_libdir}/libsvn_repos-1.a | |
757 | %{_libdir}/libsvn_subr-1.a | |
758 | %{_libdir}/libsvn_wc-1.a | |
93b78127 | 759 | |
bfb248d0 | 760 | %if %{with gnome} |
1429fa1c AM |
761 | %files -n gnome-keyring-subversion |
762 | %defattr(644,root,root,755) | |
763 | %attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.* | |
764 | %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0 | |
bfb248d0 | 765 | %endif |
1429fa1c | 766 | |
65f2befa | 767 | %if %{with kwallet} |
1429fa1c AM |
768 | %files -n kde4-kwallet-subversion |
769 | %defattr(644,root,root,755) | |
770 | %attr(755,root,root) %{_libdir}/libsvn_auth_kwallet-1.so.*.*.* | |
771 | %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_kwallet-1.so.0 | |
65f2befa | 772 | %endif |
1429fa1c | 773 | |
12c96b58 | 774 | %if %{without net_client_only} |
b56474ff AM |
775 | %files svnserve |
776 | %defattr(644,root,root,755) | |
777 | %attr(755,root,root) %{_bindir}/svnserve | |
b445847c JB |
778 | %{_mandir}/man5/svnserve.conf.5* |
779 | %{_mandir}/man8/svnserve.8* | |
a1bac09d MŁ |
780 | %dir %attr(750,svn,svn) /home/services/subversion |
781 | %dir %attr(750,svn,svn) /home/services/subversion/repos | |
0905b458 | 782 | %if %{with apache} |
b56474ff | 783 | %attr(754,root,root) /etc/rc.d/init.d/svnserve |
86ea8fde | 784 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve |
0905b458 | 785 | %endif |
b56474ff | 786 | |
4bbdbbf8 AM |
787 | %files tools |
788 | %defattr(644,root,root,755) | |
1326bb99 | 789 | %attr(755,root,root) %{_bindir}/svn-hot-backup |
fe5bb6bb | 790 | |
791 | %files -n bash-completion-subversion | |
101e74de | 792 | %defattr(644,root,root,755) |
1326bb99 | 793 | /etc/bash_completion.d/%{name} |
536b3fd3 | 794 | |
1cc7453a | 795 | %if %{with javahl} |
796 | %files -n java-subversion | |
797 | %defattr(644,root,root,755) | |
b445847c JB |
798 | %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.* |
799 | %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0 | |
800 | %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so | |
1cc7453a | 801 | %{_javadir}/svn-javahl.jar |
802 | %endif | |
803 | ||
0905b458 | 804 | %if %{with python} |
fa3ff1b2 | 805 | %files -n python-subversion |
f4e6a380 | 806 | %defattr(644,root,root,755) |
4bbdbbf8 | 807 | %doc tools/backup/*.py tools/examples/*.py |
b445847c JB |
808 | %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.* |
809 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0 | |
810 | %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so | |
65318afa | 811 | %dir %{py_sitedir}/libsvn |
3c200272 | 812 | %attr(755,root,root) %{py_sitedir}/libsvn/_*.so |
65318afa | 813 | %{py_sitedir}/libsvn/*.py[co] |
b445847c JB |
814 | %dir %{py_sitedir}/svn |
815 | %{py_sitedir}/svn/*.py[co] | |
1326bb99 | 816 | %{_examplesdir}/python-%{name}-%{version} |
137fcafd AM |
817 | |
818 | %files -n python-csvn | |
819 | %defattr(644,root,root,755) | |
820 | %doc subversion/bindings/ctypes-python/{README,TODO} | |
821 | %doc subversion/bindings/ctypes-python/examples/*.py | |
822 | %dir %{py_sitescriptdir}/csvn | |
823 | %{py_sitescriptdir}/csvn/*.py[co] | |
824 | %dir %{py_sitescriptdir}/csvn/core | |
825 | %{py_sitescriptdir}/csvn/core/*.py[co] | |
826 | %dir %{py_sitescriptdir}/csvn/ext | |
827 | %{py_sitescriptdir}/csvn/ext/*.py[co] | |
3c200272 | 828 | %{py_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info |
0905b458 | 829 | %endif |
f4e6a380 | 830 | |
0905b458 | 831 | %if %{with perl} |
b56474ff AM |
832 | %files -n perl-subversion |
833 | %defattr(644,root,root,755) | |
b445847c JB |
834 | %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.* |
835 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0 | |
836 | %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so | |
b56474ff AM |
837 | %{perl_vendorarch}/SVN |
838 | %dir %{perl_vendorarch}/auto/SVN | |
839 | %dir %{perl_vendorarch}/auto/SVN/* | |
840 | %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so | |
841 | %{perl_vendorarch}/auto/SVN/*/*.bs | |
842 | %{_mandir}/man3/*.3pm* | |
0905b458 | 843 | %endif |
b56474ff | 844 | |
d46e45ba AM |
845 | %if %{with ruby} |
846 | %files -n ruby-subversion | |
847 | %defattr(644,root,root,755) | |
b445847c JB |
848 | %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.* |
849 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0 | |
850 | %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so | |
916011ef JR |
851 | %dir %{ruby_sitelibdir}/svn |
852 | %{ruby_sitelibdir}/svn/*.rb | |
853 | %dir %{ruby_sitearchdir}/svn | |
854 | %dir %{ruby_sitearchdir}/svn/ext | |
e2c6dc67 | 855 | %attr(755,root,root) %{ruby_sitearchdir}/svn/ext/*.so |
916011ef | 856 | %{ruby_ridir}/Svn |
d46e45ba AM |
857 | %endif |
858 | ||
0905b458 | 859 | %if %{with apache} |
93b78127 AM |
860 | %files -n apache-mod_dav_svn |
861 | %defattr(644,root,root,755) | |
1af5e34d ER |
862 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf |
863 | %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so | |
65318afa AF |
864 | |
865 | %files -n apache-mod_authz_svn | |
866 | %defattr(644,root,root,755) | |
867 | %doc subversion/mod_authz_svn/INSTALL | |
1af5e34d ER |
868 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf |
869 | %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so | |
536b3fd3 | 870 | %endif |
7b27380f ER |
871 | |
872 | %endif # net_client_only |