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