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