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