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