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