]> git.pld-linux.org Git - packages/subversion.git/blame - subversion.spec
add patch to fix segfault when gnome keyring password lookup fails; rel 3
[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
535649a6 53Version: 1.10.0
10b774ae 54Release: 3
8df86594 55License: Apache v2.0
93b78127 56Group: Development/Version Control
8942083b 57Source0: http://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2
535649a6 58# Source0-md5: 0126847f9e8cb8ed0b90a6a18b203309
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
535649a6 72Patch5: %{name}-rdoc.patch
10b774ae 73Patch6: with_gnome_keyring_sefault.patch
dc8fcc41 74URL: http://subversion.apache.org/
f9c8674f 75%{?with_apache:BuildRequires: apache-devel >= 2.4.14}
8d40da51
JB
76BuildRequires: apr-devel >= 1:1.3
77BuildRequires: apr-util-devel >= 1:1.3
b0a7a5b2 78BuildRequires: autoconf >= 2.59
86250f0b 79BuildRequires: automake
79d8c53c 80BuildRequires: bison
dfeb8a3c 81BuildRequires: cyrus-sasl-devel
86250f0b
JB
82%if %{with kwallet} || %{with gnome}
83BuildRequires: dbus-devel
84%endif
7937f96a 85%{!?with_db6:BuildRequires: db-devel < 6}
b98707c2 86BuildRequires: db-devel >= 4.1.25
93b78127 87BuildRequires: expat-devel
b4f033d9 88BuildRequires: gettext-tools
8d40da51 89%{?with_gnome:BuildRequires: glib2-devel >= 2.0}
65f2befa 90%{?with_kwallet:BuildRequires: kde4-kdelibs-devel}
5f328a6e 91%{?with_gnome:BuildRequires: libgnome-keyring-devel}
fdee3c2c 92%{?with_gnome:BuildRequires: libsecret-devel}
86250f0b 93BuildRequires: libmagic-devel
f4e6a380 94BuildRequires: libtool >= 1.4-9
62313a20 95BuildRequires: lz4-devel
54271075 96BuildRequires: pkgconfig
86250f0b 97%{?with_csvn:BuildRequires: python-ctypesgen}
c01720ea 98BuildRequires: rpm-pythonprov
dd30c674 99BuildRequires: rpmbuild(macros) >= 1.656
a562165a 100BuildRequires: sed >= 4.0
8d40da51 101BuildRequires: serf-devel >= 1.3.4
62313a20 102BuildRequires: sqlite3-devel >= 3.8.11.1
a562165a
JB
103BuildRequires: texinfo
104BuildRequires: which
62313a20 105BuildRequires: zlib-devel >= 1.2
15e0d824 106%if %{with java}
86250f0b
JB
107BuildRequires: jdk >= 1.5
108BuildRequires: libstdc++-devel
109%endif
110%if %{with perl}
111BuildRequires: perl-devel >= 1:5.8.0
112BuildRequires: rpm-perlprov >= 4.1-13
113BuildRequires: swig-perl >= 1.3.24
114%endif
115%if %{with python}
116BuildRequires: python-devel >= 1:2.4
117BuildRequires: swig-python >= 1.3.24
118%endif
119%if %{with ruby}
1d7939c9 120BuildRequires: rpm-rubyprov
38c0314f 121BuildRequires: ruby-devel >= 1:1.8.2
8942083b 122BuildRequires: ruby-irb
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
f9c8674f 134%define skip_post_check_so libsvn_swig_py-1.so.* libsvn_swig_perl-1.so.* libsvn_fs_x-1.so.*
58f4b627 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
8d40da51
JB
182Requires: apr >= 1:1.3
183Requires: apr-util >= 1:1.3
184Requires: serf >= 1.3.4
62313a20 185Requires: zlib >= 1.2
53855fbf 186Obsoletes: libsubversion0
f4e6a380
AM
187
188%description libs
189Subversion libraries and modules.
190
aa59005f
JR
191%description libs -l pl.UTF-8
192Biblioteka subversion oraz ładowalne moduły.
f4e6a380 193
93b78127
AM
194%package devel
195Summary: Header files and develpment documentation for subversion
abe3c421
ER
196Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion
197Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion
93b78127 198Group: Development/Libraries
9cb7e099 199Requires: %{name}-libs = %{version}-%{release}
8d40da51
JB
200Requires: apr-util-devel >= 1:1.3
201Requires: serf-devel >= 1.3.4
12cf252c 202Obsoletes: libsubversion0-devel
93b78127
AM
203
204%description devel
205Header files and develpment documentation for subversion.
206
aa59005f
JR
207%description devel -l pl.UTF-8
208Pliki nagłówkowe i dokumetacja do subversion.
93b78127 209
aa59005f
JR
210%description devel -l pt_BR.UTF-8
211Este pacote provê os arquivos necessários para desenvolvedores
92066deb 212interagirem com o Subversion.
213
93b78127
AM
214%package static
215Summary: Static subversion library
abe3c421
ER
216Summary(pl.UTF-8): Biblioteka statyczna subversion
217Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
93b78127
AM
218Group: Development/Libraries
219Requires: %{name}-devel = %{version}
12cf252c 220Obsoletes: libsubversion0-static-devel
93b78127
AM
221
222%description static
223Static subversion library.
224
aa59005f 225%description static -l pl.UTF-8
93b78127
AM
226Biblioteka statyczna subversion.
227
aa59005f
JR
228%description static -l pt_BR.UTF-8
229Este pacote provê um cliente estático do subversion.
92066deb 230
b56474ff
AM
231%package svnserve
232Summary: Subversion svnserve
abe3c421 233Summary(pl.UTF-8): Subversion svnserve
b56474ff 234Group: Networking/Daemons
3817faf5 235Requires(post,preun): /sbin/chkconfig
93f1d402 236Requires(postun): /usr/sbin/groupdel
237Requires(postun): /usr/sbin/userdel
238Requires(pre): /bin/id
239Requires(pre): /usr/bin/getgid
240Requires(pre): /usr/lib/rpm/user_group.sh
241Requires(pre): /usr/sbin/groupadd
242Requires(pre): /usr/sbin/useradd
243Requires(pre): /usr/sbin/usermod
9cb7e099 244Requires: %{name} = %{version}-%{release}
7b27380f 245Requires: rc-scripts
a1bac09d
246Provides: group(svn)
247Provides: user(svn)
b56474ff
AM
248
249%description svnserve
250Subversion svnserve server.
251
aa59005f 252%description svnserve -l pl.UTF-8
b56474ff
AM
253Serwer subversion svnserve.
254
4bbdbbf8
AM
255%package tools
256Summary: Subversion tools and scripts
abe3c421
ER
257Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion
258Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion
4bbdbbf8 259Group: Applications
7b27380f 260Requires: %{name} = %{version}-%{release}
4975bf39 261Requires: python
4bbdbbf8
AM
262Requires: python-subversion = %{version}
263
264%description tools
265Subversion tools and scripts.
266
aa59005f
JR
267%description tools -l pl.UTF-8
268Narzędzia oraz skrypty dla subversion.
4bbdbbf8 269
fe5bb6bb 270%package -n bash-completion-subversion
271Summary: bash completion for subversion
abe3c421 272Summary(pl.UTF-8): Dopełnienia basha dla subversion
fe5bb6bb 273Group: Applications/Shells
e30588c4 274Requires: %{name} = %{version}-%{release}
53855fbf 275Requires: bash-completion
e30588c4 276Conflicts: %{name}-tools <= 1.1.0-0.rc6.1
90e66b00
ER
277%if "%{_rpmversion}" >= "5"
278BuildArch: noarch
279%endif
fe5bb6bb 280
281%description -n bash-completion-subversion
282Bash completion for subversion.
283
aa59005f
JR
284%description -n bash-completion-subversion -l pl.UTF-8
285Dopełnienia basha dla subversion.
fe5bb6bb 286
1cc7453a 287%package -n java-subversion
65c1d4bd
JB
288Summary: Subversion Java bindings
289Summary(pl.UTF-8): Dowiązania do Subversion dla Javy
1cc7453a 290Group: Development/Languages/Java
291Requires: %{name}-libs = %{version}-%{release}
292
293%description -n java-subversion
294This is a set of Java classes which provide the functionality of
295subversion-libs, the Subversion libraries. It is useful if you want
296to, for example, write a Java class that manipulates a Subversion
297repository or working copy. See the 'subversion' package for more
298information.
299
65c1d4bd
JB
300%description -n java-subversion -l pl.UTF-8
301Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność
302subversion-libs, czyli bibliotek Subversion. Jest przydatny przy
d46e45ba
AM
303pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię
304roboczą. Więcej informacji w pakiecie subversion.
65c1d4bd 305
fa3ff1b2 306%package -n python-subversion
65c1d4bd
JB
307Summary: Subversion Python bindings
308Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
309Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
f4e6a380 310Group: Development/Languages/Python
9cb7e099 311Requires: %{name}-libs = %{version}-%{release}
4975bf39 312Requires: python
53855fbf 313Obsoletes: subversion-python
f4e6a380 314
fa3ff1b2 315%description -n python-subversion
65c1d4bd 316Subversion Python bindings.
f4e6a380 317
aa59005f 318%description -n python-subversion -l pl.UTF-8
65c1d4bd 319Dowiązania do Subversion dla Pythona.
f4e6a380 320
aa59005f 321%description -n python-subversion -l pt_BR.UTF-8
65c1d4bd 322Módulos Python para acessar os recursos do Subversion.
92066deb 323
137fcafd
AM
324%package -n python-csvn
325Summary: CTypes Subversion Python bindings
326Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
327Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
328Group: Development/Languages/Python
137fcafd 329Requires: %{name}-libs = %{version}-%{release}
4975bf39 330Requires: python
137fcafd
AM
331
332%description -n python-csvn
333Subversion CTypes Python bindings.
334
335%description -n python-csvn -l pl.UTF-8
336Dowiązania do Subversion dla Pythona używające CTypes.
337
338%description -n python-csvn -l pt_BR.UTF-8
339Módulos Python para acessar os recursos do Subversion.
340
b56474ff 341%package -n perl-subversion
65c1d4bd
JB
342Summary: Subversion Perl bindings
343Summary(pl.UTF-8): Dowiązania do Subversion dla Perla
344Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion
b56474ff 345Group: Development/Languages/Perl
9cb7e099 346Requires: %{name}-libs = %{version}-%{release}
53855fbf 347Obsoletes: subversion-perl
b56474ff
AM
348
349%description -n perl-subversion
65c1d4bd 350Subversion Perl bindings.
b56474ff 351
aa59005f 352%description -n perl-subversion -l pl.UTF-8
65c1d4bd 353Dowiązania do Subversion dla Perla.
b56474ff 354
aa59005f 355%description -n perl-subversion -l pt_BR.UTF-8
65c1d4bd 356Módulos Perl para acessar os recursos do Subversion.
b56474ff 357
d46e45ba
AM
358%package -n ruby-subversion
359Summary: Subversion Ruby bindings
d2bf70bf 360Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby
d46e45ba
AM
361Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion
362Group: Development/Languages
363Requires: %{name}-libs = %{version}-%{release}
364Obsoletes: subversion-ruby
365
366%description -n ruby-subversion
367Subversion Ruby bindings.
368
369%description -n ruby-subversion -l pl.UTF-8
d2bf70bf 370Dowiązania do Subversion dla języka Ruby.
d46e45ba
AM
371
372%description -n ruby-subversion -l pt_BR.UTF-8
373Módulos Ruby para acessar os recursos do Subversion.
374
93b78127
AM
375%package -n apache-mod_dav_svn
376Summary: Apache module: Subversion Server
ba084299 377Summary(pl.UTF-8): Moduł Apache'a: serwer Subversion
93b78127 378Group: Networking/Daemons
7b27380f 379Requires: %{name} = %{version}-%{release}
53855fbf 380Requires: apache(modules-api) = %apache_modules_api
7887b1ac 381Requires: apache-mod_dav
93b78127
AM
382
383%description -n apache-mod_dav_svn
384Apache module: Subversion Server.
385
aa59005f 386%description -n apache-mod_dav_svn -l pl.UTF-8
ba084299 387Moduł Apache'a: serwer Subversion.
93b78127 388
65318afa
AF
389%package -n apache-mod_authz_svn
390Summary: Apache module: Subversion Server - path-based authorization
ba084299 391Summary(pl.UTF-8): Moduł Apache'a: autoryzacja na podstawie ścieżki dla serwera Subversion
65318afa 392Group: Networking/Daemons
38c0314f 393Requires: %{name}-libs = %{version}-%{release}
53855fbf 394Requires: apache(modules-api) = %apache_modules_api
9cb7e099 395Requires: apache-mod_dav_svn = %{version}-%{release}
65318afa
AF
396
397%description -n apache-mod_authz_svn
398Apache module: Subversion Server - path-based authorization.
399
aa59005f 400%description -n apache-mod_authz_svn -l pl.UTF-8
ba084299
JB
401Moduł Apache'a: autoryzacja na podstawie ścieżki dla serwera
402Subversion.
e23909be 403
53bea8b1
AM
404%package -n apache-mod_dontdothat_svn
405Summary: Apache module: Allows you to block specific svn requests
ba084299 406Summary(pl.UTF-8): Moduł Apache'a pozwalający na blokowanie pewnych zapytań svn
53bea8b1
AM
407Group: Networking/Daemons
408Requires: %{name}-libs = %{version}-%{release}
409Requires: apache(modules-api) = %apache_modules_api
410Requires: apache-mod_dav_svn = %{version}-%{release}
411
412%description -n apache-mod_dontdothat_svn
413Apache module: Allows you to block specific svn requests.
414
415%description -n apache-mod_dontdothat_svn -l pl.UTF-8
ba084299 416Moduł Apache'a pozwalający na blokowanie pewnych zapytań svn.
53bea8b1 417
1429fa1c 418%package -n gnome-keyring-subversion
fe242fac
JB
419Summary: GNOME Keyring authentication provider for Subversion
420Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Subversion
1429fa1c 421Group: X11/Applications
38c0314f 422Requires: %{name}-libs = %{version}-%{release}
1429fa1c
AM
423
424%description -n gnome-keyring-subversion
fe242fac
JB
425Authentication provider module for Subversion which allows SVN client
426to authenticate using GNOME Keyring.
1429fa1c
AM
427
428%description -n gnome-keyring-subversion -l pl.UTF-8
fe242fac
JB
429Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
430uwierzytelniać się przy użyciu mechanizmu GNOME Keyring.
1429fa1c
AM
431
432%package -n kde4-kwallet-subversion
fe242fac
JB
433Summary: KDE Wallet authentication provider for Subversion
434Summary(pl.UTF-8): Moduł uwierzytelniający dla Subversion wykorzystujący Portfel KDE
1429fa1c 435Group: X11/Applications
38c0314f 436Requires: %{name}-libs = %{version}-%{release}
1429fa1c
AM
437
438%description -n kde4-kwallet-subversion
fe242fac
JB
439Authentication provider module for Subversion which allows SVN client
440to authenticate using KDE Wallet.
1429fa1c
AM
441
442%description -n kde4-kwallet-subversion -l pl.UTF-8
fe242fac
JB
443Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
444uwierzytelniać się przy użyciu Portfela KDE.
1429fa1c 445
93b78127 446%prep
0c6e93f6 447%setup -q
ed6210a2 448%patch0 -p0
d4bccc60 449%patch1 -p1
00664663 450%patch2 -p0
1cfe7af2 451%patch3 -p1
7923efca 452%patch4 -p1
535649a6 453%patch5 -p1
10b774ae 454%patch6 -p0
a510fada
AM
455
456sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
457
93b78127 458%build
1cfe7af2
JB
459# disabled regeneration - subversion 1.6.13 is not ready for swig 2.0.x
460#%{__rm} subversion/bindings/swig/proxy/*.swg
461#cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
67cb9518 462chmod +x ./autogen.sh && ./autogen.sh
1cfe7af2 463%{__libtoolize}
93b78127 464%configure \
5dfeafd7 465 --with-editor=vi \
535649a6 466 --with-utf8proc=internal \
12ae68c1 467 --with-zlib=%{_libdir} \
fa6fa2cf 468 --disable-runtime-module-search \
86ee97d3 469 --disable-mod-activation \
298f7114 470%if %{with db}
ad5c551e 471 --with-berkeley-db="db.h:%{_includedir}:%{_libdir}:db" \
28b85877 472 %{?with_db6:--enable-bdb6} \
298f7114
ER
473%else
474 --without-berkeley-db \
475%endif
0905b458 476%if %{with apache}
1e0ba091 477 --with-apache-libexecdir="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
536b3fd3 478 --with-apxs=%{_sbindir}/apxs \
0905b458 479%else
0905b458 480 --without-apxs \
0905b458 481%endif
298f7114 482%if %{without swig}
0905b458 483 --without-swig \
5c072a77 484%endif
dd30c674
ER
485%if %{with ruby}
486 svn_cv_ruby_sitedir_libsuffix="" \
487 svn_cv_ruby_sitedir_archsuffix="" \
488 --with-ruby-sitedir=%{ruby_vendorarchdir} \
489%else
5c072a77 490 ac_cv_path_RUBY=none \
0905b458 491%endif
a26edfbd
ER
492%if %{with csvn}
493 --with-ctypesgen=%{_bindir}/ctypesgen.py \
494%endif
c3746b64 495%if %{with java}
a26edfbd 496 --enable-javahl \
1cc7453a 497 --with-jdk="%{java_home}" \
cf2589d0 498 --without-jikes \
a26edfbd
ER
499%else
500 --disable-javahl \
501%endif
04129f48 502 --with-serf=%{_prefix} \
16429189 503 --with-apr=%{_bindir}/apr-1-config \
1429fa1c 504 --with-apr-util=%{_bindir}/apu-1-config \
65f2befa 505%if %{with kwallet}
1429fa1c 506 --with-kwallet \
65f2befa 507%endif
bfb248d0 508%if %{with gnome}
1429fa1c 509 --with-gnome-keyring
bfb248d0 510%endif
536b3fd3 511
1f630180 512%{__make} -j1
536b3fd3 513
92bfa7e1
ER
514%{__make} tools
515
5b21aa20 516%if %{with csvn}
a26edfbd 517# Python ctypes bindings
137fcafd 518%{__make} ctypes-python
5b21aa20 519%endif
a26edfbd
ER
520%if %{with python}
521# Python swig bindings
86a4919e 522%{__make} swig-py \
65318afa
AF
523 swig_pydir=%{py_sitedir}/libsvn \
524 swig_pydir_extra=%{py_sitedir}/svn
0905b458 525%endif
0905b458 526%if %{with perl}
a26edfbd 527# Perl swig bindings
390bb8f4 528%{__make} -j1 swig-pl-lib
bf539998
AM
529cd subversion/bindings/swig/perl/native
530%{__perl} Makefile.PL INSTALLDIRS=vendor
b445847c 531%{__make} -j1
a26edfbd 532cd -
536b3fd3 533%endif
c3746b64 534%if %{with java}
b445847c 535%{__make} -j1 javahl \
1cc7453a 536 javahl_javadir="%{_javadir}"
537%endif
d46e45ba
AM
538# ruby
539%if %{with ruby}
540%{__make} swig-rb
541%endif
12ae68c1
AM
542
543%if %{with tests}
5abe2f77 544%{__make} -j1 check
5b21aa20 545%if %{with csvn}
5abe2f77 546%{__make} -j1 check-ctypes-python
5b21aa20 547%endif
a26edfbd 548%if %{with python}
5abe2f77 549%{__make} -j1 check-swig-py
d46e45ba
AM
550%endif
551%if %{with perl}
5abe2f77 552%{__make} -j1 check-swig-pl
d46e45ba
AM
553%endif
554%if %{with ruby}
6e3aae2d
ER
555# disabled, see https://bugs.launchpad.net/pld-linux/+bug/734340
556#%{__make} check-swig-rb
d46e45ba 557%endif
0905b458 558%endif
93b78127
AM
559
560%install
561rm -rf $RPM_BUILD_ROOT
1326bb99 562install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \
1af5e34d 563 $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \
afb35189 564 $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \
d9d66e02 565 $RPM_BUILD_ROOT%{_sysconfdir}/%{name} \
a54611db 566 $RPM_BUILD_ROOT/home/services/subversion{,/repos}
93b78127 567
9eb45f32
JB
568%{__make} -j1 install \
569 pkgconfig_dir=%{_pkgconfigdir} \
92bfa7e1 570 toolsdir=%{_bindir} \
a26edfbd
ER
571 DESTDIR=$RPM_BUILD_ROOT \
572 APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
c3746b64 573%if %{with java}
1cc7453a 574 install-javahl \
575 javahl_javadir="%{_javadir}" \
576%endif
d46e45ba 577%if %{with python}
0905b458 578 install-swig-py \
a26edfbd 579 swig_pydir=%{py_sitedir}/libsvn \
2ecedb13 580 swig_pydir_extra=%{py_sitedir}/svn \
a26edfbd 581%endif
74465f3c
JP
582 install-tools
583
5b21aa20 584%if %{with csvn}
74465f3c
JP
585# manually execute install-ctypes-python target
586cd subversion/bindings/ctypes-python
587%py_install
588cd ../../..
d46e45ba 589%endif
49f25a64 590
d46e45ba 591%if %{with ruby}
9eb45f32 592%{__make} -j1 install-swig-rb install-swig-rb-doc \
59894d8a 593 SWIG_RB_RI_DATADIR=$RPM_BUILD_ROOT%{ruby_ridir} \
9eb45f32 594 DESTDIR=$RPM_BUILD_ROOT
49f25a64
ER
595
596# not our package
49f25a64
ER
597%{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/OptionParser
598%{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Time
b98707c2 599%if "%{ruby_abi}" >= "2.0"
59894d8a 600%{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/File
c6918405 601%endif
49f25a64
ER
602%{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri
603%{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/created.rid
0905b458 604%endif
93b78127 605
298f7114 606%if %{with perl}
bf539998
AM
607%{__make} install-swig-pl-lib \
608 DESTDIR=$RPM_BUILD_ROOT
b445847c 609%{__make} -C subversion/bindings/swig/perl/native install \
bf539998
AM
610 DESTDIR=$RPM_BUILD_ROOT \
611 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
612 LIBDIR=$RPM_BUILD_ROOT%{_libdir}
bf539998
AM
613%endif
614
0905b458 615%if %{with apache}
d9d66e02
ER
616cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf
617cp -p %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf
618cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve
619install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve
0905b458 620%endif
93b78127 621
d9d66e02
ER
622%if %{without net_client_only}
623install -p tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup
298f7114 624%endif
92bfa7e1
ER
625
626# rename not to conflict with standard packages. (are these needed at all?)
9eb45f32
JB
627%{__mv} $RPM_BUILD_ROOT%{_bindir}/{,svn}diff
628%{__mv} $RPM_BUILD_ROOT%{_bindir}/{,svn}diff3
629%{__mv} $RPM_BUILD_ROOT%{_bindir}/{,svn}diff4
92bfa7e1 630
e834894b 631%if %{with python} || %{with csvn}
f4e6a380
AM
632%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
633%py_comp $RPM_BUILD_ROOT%{py_sitedir}
3c200272 634%py_postclean
e834894b
ER
635%endif
636%if %{with python}
3c200272 637%{__rm} $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.la
f37da0a1
ER
638# .a created on ac only
639%{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.a
640cp -p tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
536b3fd3 641%endif
f4e6a380 642
d9d66e02
ER
643cp -p tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
644cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
1326bb99 645
c3746b64 646%if %{with java}
a26edfbd
ER
647%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.{la,a}
648%endif
298f7114 649%if %{with swig}
fe242fac 650%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.{la,a}
5c072a77 651%if %{with ruby}
dd30c674 652%{__rm} $RPM_BUILD_ROOT%{ruby_vendorarchdir}/svn/ext/*.la
5f328a6e 653%endif
5c072a77 654%endif
fe242fac
JB
655%if %{with gnome} || %{with kwallet}
656# dlopened by soname (libsvn_auth_*-1.so.0)
535649a6 657%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la}
fe242fac 658%endif
205a3ddc 659
fe242fac 660%find_lang %{name}
a6ecf312 661
e23909be
JB
662%clean
663rm -rf $RPM_BUILD_ROOT
664
a1bac09d
665%pre svnserve
666%groupadd -g 86 svn
667%useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn
668
d2bf70bf
JB
669%post libs -p /sbin/ldconfig
670%postun libs -p /sbin/ldconfig
671
672%post devel -p /sbin/postshell
6f99c3bd 673-/usr/sbin/fix-info-dir -c %{_infodir}
93b78127 674
d2bf70bf 675%postun devel -p /sbin/postshell
6f99c3bd 676-/usr/sbin/fix-info-dir -c %{_infodir}
93b78127 677
12c96b58
ER
678%post -n java-subversion -p /sbin/ldconfig
679%postun -n java-subversion -p /sbin/ldconfig
680
d2bf70bf
JB
681%post -n perl-subversion -p /sbin/ldconfig
682%postun -n perl-subversion -p /sbin/ldconfig
683
684%post -n python-subversion -p /sbin/ldconfig
685%postun -n python-subversion -p /sbin/ldconfig
f4e6a380 686
12c96b58
ER
687%post -n ruby-subversion -p /sbin/ldconfig
688%postun -n ruby-subversion -p /sbin/ldconfig
689
690%post -n gnome-keyring-subversion -p /sbin/ldconfig
691%postun -n gnome-keyring-subversion -p /sbin/ldconfig
692
693%post -n kde4-kwallet-subversion -p /sbin/ldconfig
694%postun -n kde4-kwallet-subversion -p /sbin/ldconfig
695
b56474ff 696%post svnserve
e8d9186f
ER
697/sbin/chkconfig --add svnserve
698%service svnserve restart "svnserve daemon"
699
b56474ff
AM
700%preun svnserve
701if [ "$1" = "0" ]; then
e8d9186f
ER
702 %service svnserve stop
703 /sbin/chkconfig --del svnserve
b56474ff
AM
704fi
705
a1bac09d
706%postun svnserve
707if [ "$1" = "0" ]; then
12c96b58
ER
708 %userremove svn
709 %groupremove svn
a1bac09d
710fi
711
93b78127 712%post -n apache-mod_dav_svn
e8d9186f 713%service -q httpd restart
93b78127 714
ba425c92 715%postun -n apache-mod_dav_svn
93b78127 716if [ "$1" = "0" ]; then
e8d9186f 717 %service -q httpd restart
93b78127
AM
718fi
719
9688ba4c
JR
720%post -n apache-mod_authz_svn
721%service -q httpd restart
722
ba425c92 723%postun -n apache-mod_authz_svn
9688ba4c
JR
724if [ "$1" = "0" ]; then
725 %service -q httpd restart
726fi
727
53bea8b1
AM
728%post -n apache-mod_dontdothat_svn
729%service -q httpd restart
730
731%postun -n apache-mod_dontdothat_svn
732if [ "$1" = "0" ]; then
733 %service -q httpd restart
734fi
735
93b78127
AM
736%files
737%defattr(644,root,root,755)
c5c1593f 738%doc BUGS CHANGES INSTALL README
d37298dc 739%doc doc/*/*.html
4bbdbbf8
AM
740%doc tools/hook-scripts/*.{pl,py,example}
741%doc tools/hook-scripts/mailer/*.{py,example}
1326bb99 742%doc tools/xslt/*
535649a6 743%attr(755,root,root) %{_bindir}/fsfs-stats
b445847c 744%attr(755,root,root) %{_bindir}/svn
535649a6 745%attr(755,root,root) %{_bindir}/svn-mergeinfo-normalizer
b445847c 746%attr(755,root,root) %{_bindir}/svnadmin
535649a6 747%attr(755,root,root) %{_bindir}/svnconflict
b445847c
JB
748%attr(755,root,root) %{_bindir}/svndumpfilter
749%attr(755,root,root) %{_bindir}/svnlook
535649a6 750%attr(755,root,root) %{_bindir}/svnmover
3d85fab0 751%attr(755,root,root) %{_bindir}/svnmucc
1e0ba091 752%attr(755,root,root) %{_bindir}/svnrdump
b445847c
JB
753%attr(755,root,root) %{_bindir}/svnsync
754%attr(755,root,root) %{_bindir}/svnversion
755%{_mandir}/man1/svn.1*
756%{_mandir}/man1/svnadmin.1*
757%{_mandir}/man1/svndumpfilter.1*
c5c1593f 758%{_mandir}/man1/svnrdump.1*
b445847c 759%{_mandir}/man1/svnlook.1*
3d85fab0 760%{_mandir}/man1/svnmucc.1*
b445847c
JB
761%{_mandir}/man1/svnsync.1*
762%{_mandir}/man1/svnversion.1*
f4e6a380 763
205a3ddc 764%files libs -f %{name}.lang
f4e6a380 765%defattr(644,root,root,755)
d9d66e02 766%dir %{_sysconfdir}/%{name}
b445847c
JB
767%attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.*
768%attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0
769%attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.*
770%attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0
771%attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.*
772%attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0
773%attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.*
774%attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0
5f328a6e 775%if %{without net_client_only}
b445847c
JB
776%attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.*
777%attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0
5f328a6e 778%endif
b445847c
JB
779%attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.*
780%attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0
781%attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.*
782%attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0
f9c8674f
AM
783%attr(755,root,root) %{_libdir}/libsvn_fs_x-1.so.*.*.*
784%attr(755,root,root) %ghost %{_libdir}/libsvn_fs_x-1.so.0
b445847c
JB
785%attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.*
786%attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0
787%attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.*
788%attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0
1e0ba091
AM
789%attr(755,root,root) %{_libdir}/libsvn_ra_serf-1.so.*.*.*
790%attr(755,root,root) %ghost %{_libdir}/libsvn_ra_serf-1.so.0
b445847c
JB
791%attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.*
792%attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0
793%attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.*
794%attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0
795%attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.*
796%attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0
797%attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.*
798%attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0
93b78127
AM
799
800%files devel
801%defattr(644,root,root,755)
b445847c
JB
802%attr(755,root,root) %{_libdir}/libsvn_client-1.so
803%attr(755,root,root) %{_libdir}/libsvn_delta-1.so
804%attr(755,root,root) %{_libdir}/libsvn_diff-1.so
805%attr(755,root,root) %{_libdir}/libsvn_fs-1.so
5f328a6e 806%if %{without net_client_only}
b445847c 807%attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so
5f328a6e 808%endif
b445847c
JB
809%attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so
810%attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so
f9c8674f 811%attr(755,root,root) %{_libdir}/libsvn_fs_x-1.so
b445847c
JB
812%attr(755,root,root) %{_libdir}/libsvn_ra-1.so
813%attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so
1e0ba091 814%attr(755,root,root) %{_libdir}/libsvn_ra_serf-1.so
b445847c
JB
815%attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so
816%attr(755,root,root) %{_libdir}/libsvn_repos-1.so
817%attr(755,root,root) %{_libdir}/libsvn_subr-1.so
818%attr(755,root,root) %{_libdir}/libsvn_wc-1.so
819%{_libdir}/libsvn_client-1.la
820%{_libdir}/libsvn_delta-1.la
821%{_libdir}/libsvn_diff-1.la
822%{_libdir}/libsvn_fs-1.la
5f328a6e 823%if %{without net_client_only}
b445847c 824%{_libdir}/libsvn_fs_base-1.la
5f328a6e 825%endif
b445847c
JB
826%{_libdir}/libsvn_fs_fs-1.la
827%{_libdir}/libsvn_fs_util-1.la
f9c8674f 828%{_libdir}/libsvn_fs_x-1.la
b445847c
JB
829%{_libdir}/libsvn_ra-1.la
830%{_libdir}/libsvn_ra_local-1.la
1e0ba091 831%{_libdir}/libsvn_ra_serf-1.la
b445847c
JB
832%{_libdir}/libsvn_ra_svn-1.la
833%{_libdir}/libsvn_repos-1.la
834%{_libdir}/libsvn_subr-1.la
835%{_libdir}/libsvn_wc-1.la
ff76629a 836%if %{with gnome}
9eb45f32
JB
837# only for feature check, linking will fail (no libsvn_auth_gnome_keyring.so)
838%{_pkgconfigdir}/libsvn_auth_gnome_keyring.pc
ff76629a
JP
839%endif
840%if %{with kwallet}
9eb45f32
JB
841# only for feature check, linking will fail (no libsvn_auth_kwallet.so)
842%{_pkgconfigdir}/libsvn_auth_kwallet.pc
ff76629a 843%endif
9eb45f32
JB
844%{_pkgconfigdir}/libsvn_client.pc
845%{_pkgconfigdir}/libsvn_delta.pc
846%{_pkgconfigdir}/libsvn_diff.pc
847%{_pkgconfigdir}/libsvn_fs.pc
f9c8674f 848%if %{without net_client_only}
9eb45f32
JB
849%{_pkgconfigdir}/libsvn_fs_base.pc
850%endif
851%{_pkgconfigdir}/libsvn_fs_fs.pc
852%{_pkgconfigdir}/libsvn_fs_util.pc
853%{_pkgconfigdir}/libsvn_fs_x.pc
854%{_pkgconfigdir}/libsvn_ra.pc
855%{_pkgconfigdir}/libsvn_ra_local.pc
856%{_pkgconfigdir}/libsvn_ra_serf.pc
857%{_pkgconfigdir}/libsvn_ra_svn.pc
858%{_pkgconfigdir}/libsvn_repos.pc
859%{_pkgconfigdir}/libsvn_subr.pc
860%{_pkgconfigdir}/libsvn_wc.pc
b445847c 861%{_includedir}/%{name}-1
1326bb99 862%{_examplesdir}/%{name}-%{version}
93b78127
AM
863
864%files static
865%defattr(644,root,root,755)
b445847c
JB
866%{_libdir}/libsvn_client-1.a
867%{_libdir}/libsvn_delta-1.a
868%{_libdir}/libsvn_diff-1.a
869%{_libdir}/libsvn_fs-1.a
5f328a6e 870%if %{without net_client_only}
b445847c 871%{_libdir}/libsvn_fs_base-1.a
5f328a6e 872%endif
b445847c
JB
873%{_libdir}/libsvn_fs_fs-1.a
874%{_libdir}/libsvn_fs_util-1.a
f9c8674f 875%{_libdir}/libsvn_fs_x-1.a
b445847c
JB
876%{_libdir}/libsvn_ra-1.a
877%{_libdir}/libsvn_ra_local-1.a
1e0ba091 878%{_libdir}/libsvn_ra_serf-1.a
b445847c
JB
879%{_libdir}/libsvn_ra_svn-1.a
880%{_libdir}/libsvn_repos-1.a
881%{_libdir}/libsvn_subr-1.a
882%{_libdir}/libsvn_wc-1.a
93b78127 883
bfb248d0 884%if %{with gnome}
1429fa1c
AM
885%files -n gnome-keyring-subversion
886%defattr(644,root,root,755)
887%attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.*
888%attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0
8d40da51
JB
889# does anything use it? requires libsvn_auth_gnome_keyring.so
890#%{_pkgconfigdir}/libsvn_auth_gnome_keyring.pc
bfb248d0 891%endif
1429fa1c 892
65f2befa 893%if %{with kwallet}
1429fa1c
AM
894%files -n kde4-kwallet-subversion
895%defattr(644,root,root,755)
896%attr(755,root,root) %{_libdir}/libsvn_auth_kwallet-1.so.*.*.*
897%attr(755,root,root) %ghost %{_libdir}/libsvn_auth_kwallet-1.so.0
8d40da51
JB
898# does anything use it? requires libsvn_auth_kwallet.so
899#%{_pkgconfigdir}/libsvn_auth_kwallet.pc
65f2befa 900%endif
1429fa1c 901
12c96b58 902%if %{without net_client_only}
b56474ff
AM
903%files svnserve
904%defattr(644,root,root,755)
905%attr(755,root,root) %{_bindir}/svnserve
b445847c
JB
906%{_mandir}/man5/svnserve.conf.5*
907%{_mandir}/man8/svnserve.8*
a1bac09d
908%dir %attr(750,svn,svn) /home/services/subversion
909%dir %attr(750,svn,svn) /home/services/subversion/repos
0905b458 910%if %{with apache}
b56474ff 911%attr(754,root,root) /etc/rc.d/init.d/svnserve
86ea8fde 912%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve
0905b458 913%endif
b56474ff 914
4bbdbbf8
AM
915%files tools
916%defattr(644,root,root,755)
92bfa7e1 917# tools/backup/hot-backup.py
1326bb99 918%attr(755,root,root) %{_bindir}/svn-hot-backup
fe5bb6bb 919
92bfa7e1
ER
920# tools/diff
921%attr(755,root,root) %{_bindir}/svndiff
922%attr(755,root,root) %{_bindir}/svndiff3
923%attr(755,root,root) %{_bindir}/svndiff4
924
925# tools/server-side
f9c8674f 926%attr(755,root,root) %{_bindir}/svnfsfs
92bfa7e1 927%attr(755,root,root) %{_bindir}/svn-populate-node-origins-index
3d85fab0 928%attr(755,root,root) %{_bindir}/svnauthz
92bfa7e1
ER
929%attr(755,root,root) %{_bindir}/svnauthz-validate
930
3d85fab0 931# tools/client-side
f9c8674f 932%attr(755,root,root) %{_bindir}/svnbench
1e0ba091 933
92bfa7e1
ER
934# tools/dev/svnraisetreeconflict
935%attr(755,root,root) %{_bindir}/svnraisetreeconflict
936
1e0ba091
AM
937# tools/dev/
938%attr(755,root,root) %{_bindir}/fsfs-access-map
f9c8674f 939%attr(755,root,root) %{_bindir}/x509-parser
1e0ba091 940
fe5bb6bb 941%files -n bash-completion-subversion
101e74de 942%defattr(644,root,root,755)
1326bb99 943/etc/bash_completion.d/%{name}
536b3fd3 944
f37da0a1
ER
945%endif # net_client_only
946
c3746b64 947%if %{with java}
1cc7453a 948%files -n java-subversion
949%defattr(644,root,root,755)
b445847c
JB
950%attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.*
951%attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0
952%attr(755,root,root) %{_libdir}/libsvnjavahl-1.so
1cc7453a 953%{_javadir}/svn-javahl.jar
954%endif
955
0905b458 956%if %{with python}
fa3ff1b2 957%files -n python-subversion
f4e6a380 958%defattr(644,root,root,755)
693a6ddf 959%doc tools/backup/*.py
b445847c
JB
960%attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.*
961%attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0
962%attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so
65318afa 963%dir %{py_sitedir}/libsvn
3c200272 964%attr(755,root,root) %{py_sitedir}/libsvn/_*.so
65318afa 965%{py_sitedir}/libsvn/*.py[co]
b445847c
JB
966%dir %{py_sitedir}/svn
967%{py_sitedir}/svn/*.py[co]
1326bb99 968%{_examplesdir}/python-%{name}-%{version}
a26edfbd 969%endif
137fcafd 970
5b21aa20 971%if %{with csvn}
137fcafd
AM
972%files -n python-csvn
973%defattr(644,root,root,755)
974%doc subversion/bindings/ctypes-python/{README,TODO}
975%doc subversion/bindings/ctypes-python/examples/*.py
976%dir %{py_sitescriptdir}/csvn
977%{py_sitescriptdir}/csvn/*.py[co]
978%dir %{py_sitescriptdir}/csvn/core
979%{py_sitescriptdir}/csvn/core/*.py[co]
980%dir %{py_sitescriptdir}/csvn/ext
981%{py_sitescriptdir}/csvn/ext/*.py[co]
3c200272 982%{py_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info
0905b458 983%endif
f4e6a380 984
0905b458 985%if %{with perl}
b56474ff
AM
986%files -n perl-subversion
987%defattr(644,root,root,755)
b445847c
JB
988%attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.*
989%attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0
990%attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so
b56474ff
AM
991%{perl_vendorarch}/SVN
992%dir %{perl_vendorarch}/auto/SVN
993%dir %{perl_vendorarch}/auto/SVN/*
994%attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so
b56474ff 995%{_mandir}/man3/*.3pm*
0905b458 996%endif
b56474ff 997
d46e45ba
AM
998%if %{with ruby}
999%files -n ruby-subversion
1000%defattr(644,root,root,755)
b445847c
JB
1001%attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.*
1002%attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0
1003%attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so
dd30c674
ER
1004%dir %{ruby_vendorarchdir}/svn
1005%{ruby_vendorarchdir}/svn/*.rb
1006%dir %{ruby_vendorarchdir}/svn/ext
1007%attr(755,root,root) %{ruby_vendorarchdir}/svn/ext/*.so
916011ef 1008%{ruby_ridir}/Svn
d46e45ba
AM
1009%endif
1010
0905b458 1011%if %{with apache}
93b78127
AM
1012%files -n apache-mod_dav_svn
1013%defattr(644,root,root,755)
1af5e34d
ER
1014%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf
1015%attr(755,root,root) %{apachelibdir}/mod_dav_svn.so
65318afa
AF
1016
1017%files -n apache-mod_authz_svn
1018%defattr(644,root,root,755)
1019%doc subversion/mod_authz_svn/INSTALL
1af5e34d
ER
1020%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf
1021%attr(755,root,root) %{apachelibdir}/mod_authz_svn.so
53bea8b1
AM
1022
1023%files -n apache-mod_dontdothat_svn
1024%defattr(644,root,root,755)
1025%doc tools/server-side/mod_dontdothat/README
1026%attr(755,root,root) %{apachelibdir}/mod_dontdothat.so
536b3fd3 1027%endif
This page took 0.327701 seconds and 4 git commands to generate.