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