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