3 %bcond_with net_client_only # build only net client
4 %bcond_without neon # use serf instead of neon
5 %bcond_without swig # disable bindings generation with Swig
6 %bcond_without python # build without Python bindings (broken)
7 %bcond_without csvn # build Python csvn bindings
8 %bcond_without perl # build without Perl bindings
9 %bcond_with ruby # build without Ruby bindings
10 %bcond_without apache # build without Apache support (webdav, etc)
11 %bcond_without javahl # build without javahl support (Java high-level bindings)
12 %bcond_without tests # don't perform "make check"
13 %bcond_without kwallet # build without kde4 wallet support
14 %bcond_without kde # build without kde4 support (alias for kwallet)
15 %bcond_without gnome # build without gnome keyring support
16 %bcond_without db # disable Subversion Berkeley DB based filesystem library
18 %if %{with net_client_only}
32 %undefine with_kwallet
35 %if %{without python} && %{without perl} && %{without ruby}
36 %define without_swig 1
39 %define apxs /usr/sbin/apxs
44 %define webdavlib neon
46 %define webdavlib serf
48 %{?with_perl:%include /usr/lib/rpm/macros.perl}
49 Summary: A Concurrent Versioning system similar to but better than CVS
50 Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS
51 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
55 License: Apache/BSD-like
56 Group: Development/Version Control
57 #Source0: http://subversion.tigris.org/downloads/%{name}-%{version}.tar.bz2
58 Source0: http://www.idg.pl/mirrors/apache/subversion/subversion-1.7.0-rc3.tar.bz2
59 # Source0-md5: c27b70bd8a73fef0ec54c62312c528b9
60 Source1: %{name}-dav_svn.conf
61 Source2: %{name}-authz_svn.conf
62 Source3: %{name}-svnserve.init
63 Source4: %{name}-svnserve.sysconfig
64 # current subversion tarball has correct *.swg files
65 # but after regeneration these are broken again, so
66 # we still need this script
67 Source5: %{name}-convert-typemaps-to-ifdef.py
68 Patch0: %{name}-home_etc.patch
69 Patch1: %{name}-DESTDIR.patch
70 Patch2: %{name}-ruby-datadir-path.patch
71 Patch3: %{name}-tests.patch
72 URL: http://subversion.apache.org/
73 %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8}
74 BuildRequires: autoconf
75 BuildRequires: automake
76 BuildRequires: db-devel >= 4.1.25
77 BuildRequires: libtool
78 BuildRequires: rpmbuild(macros) >= 1.583
80 BuildRequires: perl-devel >= 1:5.8.0
81 BuildRequires: rpm-perlprov >= 4.1-13
82 BuildRequires: swig-perl >= 1.3.24
85 BuildRequires: python-ctypesgen
88 BuildRequires: python-devel >= 1:2.4
89 BuildRequires: swig-python >= 1.3.24
92 BuildRequires: ruby-devel >= 1:1.8
93 BuildRequires: ruby-devel < 1:1.9
94 BuildRequires: ruby-rubygems
95 BuildRequires: swig-ruby >= 1.3.24
99 BuildRequires: libstdc++-devel
101 BuildRequires: apr-devel >= 1:1.0.0
102 BuildRequires: apr-util-devel >= 1:1.2.8-3
103 BuildRequires: autoconf >= 2.59
105 BuildRequires: cyrus-sasl-devel
106 BuildRequires: expat-devel
107 BuildRequires: gettext-devel
108 %{?with_kwallet:BuildRequires: kde4-kdelibs-devel}
109 %{?with_gnome:BuildRequires: libgnome-keyring-devel}
110 BuildRequires: libtool >= 1.4-9
111 BuildRequires: pkgconfig
112 BuildRequires: rpm-pythonprov
113 BuildRequires: sed >= 4.0
114 BuildRequires: sqlite3-devel >= 3.6.11
115 BuildRequires: texinfo
118 BuildRequires: neon-devel >= 0.26.0
120 BuildRequires: serf-devel
122 Requires: %{name}-libs = %{version}-%{release}
124 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
126 %define _libexecdir %{_libdir}/svn
127 %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
128 %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
130 %define skip_post_check_so libsvn_swig_py-1.so.* libsvn_swig_perl-1.so.*
133 The goal of the Subversion project is to build a version control
134 system that is a compelling replacement for CVS in the open source
138 - All current CVS features.
139 - Directories, renames, and file meta-data are versioned.
140 - Symbolic links, etc, are supported
141 - Commits are truly atomic.
142 - Branching and tagging are cheap (constant time) operations
143 - Repeated merges are handled gracefully
144 - Support for plug-in client side diff programs
145 - Natively client/server
146 - Client/server protocol sends diffs in both directions
147 - Costs are proportional to change size, not project size
148 - Internationalization
149 - Progressive multi-lingual support
151 %description -l pl.UTF-8
152 Celem projektu Subversion jest stworzenie systemu kontroli wersji jako
156 - Wszystkie aktualne możliwości CVS.
157 - Katalogi, zmiany nazw oraz metadane plików są wersjonowane.
158 - Obsługa dowiązań symbolicznych itp.
159 - Commity są w pełni atomowe.
160 - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami.
161 - Dobra obsługa powtarzanego łączenia (merge).
162 - Obsługa wtyczek diff po stronie klienta.
163 - Natywny klient/serwer.
164 - Klient/Serwer przesyłają diffy w obu kierunkach.
165 - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu.
166 - Internacjonalizacja.
167 - Postępujące wsparcie dla wielu języków.
169 %description -l pt_BR.UTF-8
170 O objetivo do projeto Subversion é construir um sistema de controle de
171 versões que seja um substituto para o CVS (Concurrent Versioning
172 System) na comunidade opensource, fornecendo grandes melhorias.
175 Summary: Subversion libraries and modules
176 Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły
178 %{?with_neon:Requires: neon >= 0.26.0}
179 Obsoletes: libsubversion0
182 Subversion libraries and modules.
184 %description libs -l pl.UTF-8
185 Biblioteka subversion oraz ładowalne moduły.
188 Summary: Header files and develpment documentation for subversion
189 Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion
190 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion
191 Group: Development/Libraries
192 Requires: %{name}-libs = %{version}-%{release}
193 Requires: apr-util-devel >= 1:1.0.0
194 %{?with_neon:Requires: neon-devel >= 0.26.0}
195 Obsoletes: libsubversion0-devel
198 Header files and develpment documentation for subversion.
200 %description devel -l pl.UTF-8
201 Pliki nagłówkowe i dokumetacja do subversion.
203 %description devel -l pt_BR.UTF-8
204 Este pacote provê os arquivos necessários para desenvolvedores
205 interagirem com o Subversion.
208 Summary: Static subversion library
209 Summary(pl.UTF-8): Biblioteka statyczna subversion
210 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
211 Group: Development/Libraries
212 Requires: %{name}-devel = %{version}
213 Obsoletes: libsubversion0-static-devel
216 Static subversion library.
218 %description static -l pl.UTF-8
219 Biblioteka statyczna subversion.
221 %description static -l pt_BR.UTF-8
222 Este pacote provê um cliente estático do subversion.
225 Summary: Subversion svnserve
226 Summary(pl.UTF-8): Subversion svnserve
227 Group: Networking/Daemons
228 Requires(post,preun): /sbin/chkconfig
229 Requires(postun): /usr/sbin/groupdel
230 Requires(postun): /usr/sbin/userdel
231 Requires(pre): /bin/id
232 Requires(pre): /usr/bin/getgid
233 Requires(pre): /usr/lib/rpm/user_group.sh
234 Requires(pre): /usr/sbin/groupadd
235 Requires(pre): /usr/sbin/useradd
236 Requires(pre): /usr/sbin/usermod
237 Requires: %{name} = %{version}-%{release}
242 %description svnserve
243 Subversion svnserve server.
245 %description svnserve -l pl.UTF-8
246 Serwer subversion svnserve.
249 Summary: Subversion tools and scripts
250 Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion
251 Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion
253 %pyrequires_eq python
254 Requires: %{name} = %{version}-%{release}
255 Requires: python-subversion = %{version}
258 Subversion tools and scripts.
260 %description tools -l pl.UTF-8
261 Narzędzia oraz skrypty dla subversion.
263 %package -n bash-completion-subversion
264 Summary: bash completion for subversion
265 Summary(pl.UTF-8): Dopełnienia basha dla subversion
266 Group: Applications/Shells
267 Requires: %{name} = %{version}-%{release}
268 Requires: bash-completion
269 Conflicts: %{name}-tools <= 1.1.0-0.rc6.1
271 %description -n bash-completion-subversion
272 Bash completion for subversion.
274 %description -n bash-completion-subversion -l pl.UTF-8
275 Dopełnienia basha dla subversion.
277 %package -n java-subversion
278 Summary: Subversion Java bindings
279 Summary(pl.UTF-8): Dowiązania do Subversion dla Javy
280 Group: Development/Languages/Java
281 Requires: %{name}-libs = %{version}-%{release}
283 %description -n java-subversion
284 This is a set of Java classes which provide the functionality of
285 subversion-libs, the Subversion libraries. It is useful if you want
286 to, for example, write a Java class that manipulates a Subversion
287 repository or working copy. See the 'subversion' package for more
290 %description -n java-subversion -l pl.UTF-8
291 Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność
292 subversion-libs, czyli bibliotek Subversion. Jest przydatny przy
293 pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię
294 roboczą. Więcej informacji w pakiecie subversion.
296 %package -n python-subversion
297 Summary: Subversion Python bindings
298 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
299 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
300 Group: Development/Languages/Python
301 %pyrequires_eq python
302 Requires: %{name}-libs = %{version}-%{release}
303 Obsoletes: subversion-python
305 %description -n python-subversion
306 Subversion Python bindings.
308 %description -n python-subversion -l pl.UTF-8
309 Dowiązania do Subversion dla Pythona.
311 %description -n python-subversion -l pt_BR.UTF-8
312 Módulos Python para acessar os recursos do Subversion.
314 %package -n python-csvn
315 Summary: CTypes Subversion Python bindings
316 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
317 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
318 Group: Development/Languages/Python
319 %pyrequires_eq python
320 Requires: %{name}-libs = %{version}-%{release}
322 %description -n python-csvn
323 Subversion CTypes Python bindings.
325 %description -n python-csvn -l pl.UTF-8
326 Dowiązania do Subversion dla Pythona używające CTypes.
328 %description -n python-csvn -l pt_BR.UTF-8
329 Módulos Python para acessar os recursos do Subversion.
331 %package -n perl-subversion
332 Summary: Subversion Perl bindings
333 Summary(pl.UTF-8): Dowiązania do Subversion dla Perla
334 Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion
335 Group: Development/Languages/Perl
336 Requires: %{name}-libs = %{version}-%{release}
337 Obsoletes: subversion-perl
339 %description -n perl-subversion
340 Subversion Perl bindings.
342 %description -n perl-subversion -l pl.UTF-8
343 Dowiązania do Subversion dla Perla.
345 %description -n perl-subversion -l pt_BR.UTF-8
346 Módulos Perl para acessar os recursos do Subversion.
348 %package -n ruby-subversion
349 Summary: Subversion Ruby bindings
350 Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby
351 Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion
352 Group: Development/Languages
353 Requires: %{name}-libs = %{version}-%{release}
354 Obsoletes: subversion-ruby
356 %description -n ruby-subversion
357 Subversion Ruby bindings.
359 %description -n ruby-subversion -l pl.UTF-8
360 Dowiązania do Subversion dla języka Ruby.
362 %description -n ruby-subversion -l pt_BR.UTF-8
363 Módulos Ruby para acessar os recursos do Subversion.
365 %package -n apache-mod_dav_svn
366 Summary: Apache module: Subversion Server
367 Summary(pl.UTF-8): Moduł apache: Serwer Subversion
368 Group: Networking/Daemons
369 Requires: %{name} = %{version}-%{release}
370 Requires: apache(modules-api) = %apache_modules_api
371 Requires: apache-mod_dav
373 %description -n apache-mod_dav_svn
374 Apache module: Subversion Server.
376 %description -n apache-mod_dav_svn -l pl.UTF-8
377 Moduł apache: Serwer Subversion.
379 %package -n apache-mod_authz_svn
380 Summary: Apache module: Subversion Server - path-based authorization
381 Summary(pl.UTF-8): Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion
382 Group: Networking/Daemons
383 Requires: apache(modules-api) = %apache_modules_api
384 Requires: apache-mod_dav_svn = %{version}-%{release}
386 %description -n apache-mod_authz_svn
387 Apache module: Subversion Server - path-based authorization.
389 %description -n apache-mod_authz_svn -l pl.UTF-8
390 Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion.
392 %package -n gnome-keyring-subversion
393 Summary: GNOME Keyring authentication provider for Subversion
394 Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Subversion
395 Group: X11/Applications
397 %description -n gnome-keyring-subversion
398 Authentication provider module for Subversion which allows SVN client
399 to authenticate using GNOME Keyring.
401 %description -n gnome-keyring-subversion -l pl.UTF-8
402 Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
403 uwierzytelniać się przy użyciu mechanizmu GNOME Keyring.
405 %package -n kde4-kwallet-subversion
406 Summary: KDE Wallet authentication provider for Subversion
407 Summary(pl.UTF-8): Moduł uwierzytelniający dla Subversion wykorzystujący Portfel KDE
408 Group: X11/Applications
410 %description -n kde4-kwallet-subversion
411 Authentication provider module for Subversion which allows SVN client
412 to authenticate using KDE Wallet.
414 %description -n kde4-kwallet-subversion -l pl.UTF-8
415 Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
416 uwierzytelniać się przy użyciu Portfela KDE.
419 %setup -q -n %{name}-%{version}-rc3
425 sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
427 # serf.m4 macro is broken and ignores --without serf
428 %{?with_neon:sed -i -e 's#serf_found="yes"#serf_found="no"#g' build/ac-macros/serf.m4}
431 # disabled regeneration - subversion 1.6.13 is not ready for swig 2.0.x
432 #%{__rm} subversion/bindings/swig/proxy/*.swg
433 #cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
434 chmod +x ./autogen.sh && ./autogen.sh
438 --with-zlib=%{_libdir} \
439 --disable-runtime-module-search \
440 --disable-mod-activation \
442 --with-berkeley-db="db.h:%{_includedir}:%{_libdir}:db" \
444 --without-berkeley-db \
447 --with-apxs=%{_sbindir}/apxs \
455 ac_cv_path_RUBY=none \
458 --with-ctypesgen=%{_bindir}/ctypesgen.py \
462 --with-jdk="%{java_home}" \
469 --with-neon=%{_prefix} \
470 --disable-neon-version-check \
472 --with-serf=%{_prefix} \
475 --with-apr=%{_bindir}/apr-1-config \
476 --with-apr-util=%{_bindir}/apu-1-config \
487 # Python ctypes bindings
488 %{__make} ctypes-python
491 # Python swig bindings
493 swig_pydir=%{py_sitedir}/libsvn \
494 swig_pydir_extra=%{py_sitedir}/svn
498 %{__make} -j1 swig-pl-lib
499 cd subversion/bindings/swig/perl/native
500 %{__perl} Makefile.PL INSTALLDIRS=vendor
505 %{__make} -j1 javahl \
506 javahl_javadir="%{_javadir}"
516 %{__make} check-ctypes-python
519 %{__make} check-swig-py
522 %{__make} check-swig-pl
525 # disabled, see https://bugs.launchpad.net/pld-linux/+bug/734340
526 #%{__make} check-swig-rb
531 rm -rf $RPM_BUILD_ROOT
532 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \
533 $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \
534 $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \
535 $RPM_BUILD_ROOT%{_sysconfdir}/%{name} \
536 $RPM_BUILD_ROOT/home/services/subversion{,/repos}
538 %{__make} install -j1 \
539 DESTDIR=$RPM_BUILD_ROOT \
540 APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
543 javahl_javadir="%{_javadir}" \
547 swig_pydir=%{py_sitedir}/libsvn \
548 swig_pydir_extra=%{py_sitedir}/svn \
551 install-ctypes-python \
555 %{__make} install -j1 \
556 DESTDIR=$RPM_BUILD_ROOT \
557 install-swig-rb install-swig-rb-doc \
560 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Kernel
561 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/OptionParser
562 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Time
563 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Uconv
564 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri
565 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/created.rid
569 %{__make} install-swig-pl-lib \
570 DESTDIR=$RPM_BUILD_ROOT
571 %{__make} -C subversion/bindings/swig/perl/native install \
572 DESTDIR=$RPM_BUILD_ROOT \
573 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
574 LIBDIR=$RPM_BUILD_ROOT%{_libdir}
578 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf
579 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf
580 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve
581 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve
584 %if %{without net_client_only}
585 install -p tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup
587 %if %{with python} || %{with csvn}
588 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
589 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
593 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.la
594 # .a created on ac only
595 %{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.a
596 cp -p tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
599 cp -p tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
600 cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
603 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.{la,a}
606 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.{la,a}
608 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ruby/site_ruby/*/*/svn/ext/*.la
611 %if %{with gnome} || %{with kwallet}
612 # dlopened by soname (libsvn_auth_*-1.so.0)
613 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la,a}
619 rm -rf $RPM_BUILD_ROOT
623 %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn
625 %post libs -p /sbin/ldconfig
626 %postun libs -p /sbin/ldconfig
628 %post devel -p /sbin/postshell
629 -/usr/sbin/fix-info-dir -c %{_infodir}
631 %postun devel -p /sbin/postshell
632 -/usr/sbin/fix-info-dir -c %{_infodir}
634 %post -n java-subversion -p /sbin/ldconfig
635 %postun -n java-subversion -p /sbin/ldconfig
637 %post -n perl-subversion -p /sbin/ldconfig
638 %postun -n perl-subversion -p /sbin/ldconfig
640 %post -n python-subversion -p /sbin/ldconfig
641 %postun -n python-subversion -p /sbin/ldconfig
643 %post -n ruby-subversion -p /sbin/ldconfig
644 %postun -n ruby-subversion -p /sbin/ldconfig
646 %post -n gnome-keyring-subversion -p /sbin/ldconfig
647 %postun -n gnome-keyring-subversion -p /sbin/ldconfig
649 %post -n kde4-kwallet-subversion -p /sbin/ldconfig
650 %postun -n kde4-kwallet-subversion -p /sbin/ldconfig
653 /sbin/chkconfig --add svnserve
654 %service svnserve restart "svnserve daemon"
657 if [ "$1" = "0" ]; then
658 %service svnserve stop
659 /sbin/chkconfig --del svnserve
663 if [ "$1" = "0" ]; then
668 %post -n apache-mod_dav_svn
669 %service -q httpd restart
671 %postun -n apache-mod_dav_svn
672 if [ "$1" = "0" ]; then
673 %service -q httpd restart
676 %post -n apache-mod_authz_svn
677 %service -q httpd restart
679 %postun -n apache-mod_authz_svn
680 if [ "$1" = "0" ]; then
681 %service -q httpd restart
685 %defattr(644,root,root,755)
686 %doc BUGS CHANGES INSTALL README
688 %doc tools/hook-scripts/*.{pl,py,example}
689 %doc tools/hook-scripts/mailer/*.{py,example}
691 %attr(755,root,root) %{_bindir}/svn
692 %attr(755,root,root) %{_bindir}/svnadmin
693 %attr(755,root,root) %{_bindir}/svndumpfilter
694 %attr(755,root,root) %{_bindir}/svnrdump
695 %attr(755,root,root) %{_bindir}/svnlook
696 %attr(755,root,root) %{_bindir}/svnsync
697 %attr(755,root,root) %{_bindir}/svnversion
698 %{_mandir}/man1/svn.1*
699 %{_mandir}/man1/svnadmin.1*
700 %{_mandir}/man1/svndumpfilter.1*
701 %{_mandir}/man1/svnrdump.1*
702 %{_mandir}/man1/svnlook.1*
703 %{_mandir}/man1/svnsync.1*
704 %{_mandir}/man1/svnversion.1*
706 %files libs -f %{name}.lang
707 %defattr(644,root,root,755)
708 %dir %{_sysconfdir}/%{name}
709 %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.*
710 %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0
711 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.*
712 %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0
713 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.*
714 %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0
715 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.*
716 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0
717 %if %{without net_client_only}
718 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.*
719 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0
721 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.*
722 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0
723 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.*
724 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0
725 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.*
726 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0
727 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.*
728 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0
729 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so.*.*.*
730 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_%{webdavlib}-1.so.0
731 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.*
732 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0
733 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.*
734 %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0
735 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.*
736 %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0
737 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.*
738 %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0
741 %defattr(644,root,root,755)
742 %attr(755,root,root) %{_libdir}/libsvn_client-1.so
743 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so
744 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so
745 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so
746 %if %{without net_client_only}
747 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so
749 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so
750 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so
751 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so
752 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so
753 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so
754 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so
755 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so
756 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so
757 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so
758 %{_libdir}/libsvn_client-1.la
759 %{_libdir}/libsvn_delta-1.la
760 %{_libdir}/libsvn_diff-1.la
761 %{_libdir}/libsvn_fs-1.la
762 %if %{without net_client_only}
763 %{_libdir}/libsvn_fs_base-1.la
765 %{_libdir}/libsvn_fs_fs-1.la
766 %{_libdir}/libsvn_fs_util-1.la
767 %{_libdir}/libsvn_ra-1.la
768 %{_libdir}/libsvn_ra_local-1.la
769 %{_libdir}/libsvn_ra_%{webdavlib}-1.la
770 %{_libdir}/libsvn_ra_svn-1.la
771 %{_libdir}/libsvn_repos-1.la
772 %{_libdir}/libsvn_subr-1.la
773 %{_libdir}/libsvn_wc-1.la
774 %{_includedir}/%{name}-1
775 %{_examplesdir}/%{name}-%{version}
778 %defattr(644,root,root,755)
779 %{_libdir}/libsvn_client-1.a
780 %{_libdir}/libsvn_delta-1.a
781 %{_libdir}/libsvn_diff-1.a
782 %{_libdir}/libsvn_fs-1.a
783 %if %{without net_client_only}
784 %{_libdir}/libsvn_fs_base-1.a
786 %{_libdir}/libsvn_fs_fs-1.a
787 %{_libdir}/libsvn_fs_util-1.a
788 %{_libdir}/libsvn_ra-1.a
789 %{_libdir}/libsvn_ra_local-1.a
790 %{_libdir}/libsvn_ra_%{webdavlib}-1.a
791 %{_libdir}/libsvn_ra_svn-1.a
792 %{_libdir}/libsvn_repos-1.a
793 %{_libdir}/libsvn_subr-1.a
794 %{_libdir}/libsvn_wc-1.a
797 %files -n gnome-keyring-subversion
798 %defattr(644,root,root,755)
799 %attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.*
800 %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0
804 %files -n kde4-kwallet-subversion
805 %defattr(644,root,root,755)
806 %attr(755,root,root) %{_libdir}/libsvn_auth_kwallet-1.so.*.*.*
807 %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_kwallet-1.so.0
810 %if %{without net_client_only}
812 %defattr(644,root,root,755)
813 %attr(755,root,root) %{_bindir}/svnserve
814 %{_mandir}/man5/svnserve.conf.5*
815 %{_mandir}/man8/svnserve.8*
816 %dir %attr(750,svn,svn) /home/services/subversion
817 %dir %attr(750,svn,svn) /home/services/subversion/repos
819 %attr(754,root,root) /etc/rc.d/init.d/svnserve
820 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve
824 %defattr(644,root,root,755)
825 %attr(755,root,root) %{_bindir}/svn-hot-backup
827 %files -n bash-completion-subversion
828 %defattr(644,root,root,755)
829 /etc/bash_completion.d/%{name}
831 %endif # net_client_only
834 %files -n java-subversion
835 %defattr(644,root,root,755)
836 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.*
837 %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0
838 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so
839 %{_javadir}/svn-javahl.jar
843 %files -n python-subversion
844 %defattr(644,root,root,755)
845 %doc tools/backup/*.py
846 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.*
847 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0
848 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so
849 %dir %{py_sitedir}/libsvn
850 %attr(755,root,root) %{py_sitedir}/libsvn/_*.so
851 %{py_sitedir}/libsvn/*.py[co]
852 %dir %{py_sitedir}/svn
853 %{py_sitedir}/svn/*.py[co]
854 %{_examplesdir}/python-%{name}-%{version}
858 %files -n python-csvn
859 %defattr(644,root,root,755)
860 %doc subversion/bindings/ctypes-python/{README,TODO}
861 %doc subversion/bindings/ctypes-python/examples/*.py
862 %dir %{py_sitescriptdir}/csvn
863 %{py_sitescriptdir}/csvn/*.py[co]
864 %dir %{py_sitescriptdir}/csvn/core
865 %{py_sitescriptdir}/csvn/core/*.py[co]
866 %dir %{py_sitescriptdir}/csvn/ext
867 %{py_sitescriptdir}/csvn/ext/*.py[co]
868 %{py_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info
872 %files -n perl-subversion
873 %defattr(644,root,root,755)
874 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.*
875 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0
876 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so
877 %{perl_vendorarch}/SVN
878 %dir %{perl_vendorarch}/auto/SVN
879 %dir %{perl_vendorarch}/auto/SVN/*
880 %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so
881 %{perl_vendorarch}/auto/SVN/*/*.bs
882 %{_mandir}/man3/*.3pm*
886 %files -n ruby-subversion
887 %defattr(644,root,root,755)
888 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.*
889 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0
890 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so
891 %dir %{ruby_sitelibdir}/svn
892 %{ruby_sitelibdir}/svn/*.rb
893 %dir %{ruby_sitearchdir}/svn
894 %dir %{ruby_sitearchdir}/svn/ext
895 %attr(755,root,root) %{ruby_sitearchdir}/svn/ext/*.so
900 %files -n apache-mod_dav_svn
901 %defattr(644,root,root,755)
902 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf
903 %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so
905 %files -n apache-mod_authz_svn
906 %defattr(644,root,root,755)
907 %doc subversion/mod_authz_svn/INSTALL
908 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf
909 %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so