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