2 # - serf as default: https://subversion.apache.org/docs/release-notes/1.7.html#serf
5 %bcond_with net_client_only # build only net client
6 %bcond_without neon # use serf instead of neon
7 %bcond_without swig # disable bindings generation with Swig
8 %bcond_without python # build without Python bindings (broken)
9 %bcond_without csvn # build Python csvn bindings
10 %bcond_without perl # build without Perl bindings
11 %bcond_with ruby # build with Ruby bindings (only 1.8.x is supported)
12 %bcond_without apache # build without Apache support (webdav, etc)
13 %bcond_without javahl # build without javahl support (Java high-level bindings)
14 %bcond_without tests # don't perform "make check"
15 %bcond_without kwallet # build without kde4 wallet support
16 %bcond_without kde # build without kde4 support (alias for kwallet)
17 %bcond_without gnome # build without gnome keyring support
18 %bcond_without db # disable Subversion Berkeley DB based filesystem library
20 %if %{with net_client_only}
34 %undefine with_kwallet
37 %if %{without python} && %{without perl} && %{without ruby}
41 %define apxs /usr/sbin/apxs
46 %define webdavlib neon
48 %define webdavlib serf
50 %{?with_perl:%include /usr/lib/rpm/macros.perl}
51 Summary: A Concurrent Versioning system similar to but better than CVS
52 Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS
53 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
58 Group: Development/Version Control
59 Source0: http://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2
60 # Source0-md5: 8a4fa74385df85a9702141b6b68b8307
61 Source1: %{name}-dav_svn.conf
62 Source2: %{name}-authz_svn.conf
63 Source3: %{name}-svnserve.init
64 Source4: %{name}-svnserve.sysconfig
65 # current subversion tarball has correct *.swg files
66 # but after regeneration these are broken again, so
67 # we still need this script
68 Source5: %{name}-convert-typemaps-to-ifdef.py
69 Patch0: %{name}-home_etc.patch
70 Patch1: %{name}-DESTDIR.patch
71 Patch2: %{name}-ruby-datadir-path.patch
72 Patch3: %{name}-tests.patch
73 # running this hook for every post breaks mod_rails
74 Patch4: %{name}-mod_dav_svn-fix-hook.patch
75 URL: http://subversion.apache.org/
76 %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8}
77 BuildRequires: apr-devel >= 1:1.0.0
78 BuildRequires: apr-util-devel >= 1:1.2.8-3
79 BuildRequires: autoconf >= 2.59
80 BuildRequires: automake
82 BuildRequires: cyrus-sasl-devel
83 %if %{with kwallet} || %{with gnome}
84 BuildRequires: dbus-devel
86 BuildRequires: db-devel >= 4.1.25
87 BuildRequires: expat-devel
88 BuildRequires: gettext-devel
89 %{?with_kwallet:BuildRequires: kde4-kdelibs-devel}
90 %{?with_gnome:BuildRequires: libgnome-keyring-devel}
91 BuildRequires: libmagic-devel
92 BuildRequires: libtool >= 1.4-9
93 BuildRequires: pkgconfig
94 %{?with_csvn:BuildRequires: python-ctypesgen}
95 BuildRequires: rpm-pythonprov
96 BuildRequires: rpmbuild(macros) >= 1.583
97 BuildRequires: sed >= 4.0
98 BuildRequires: sqlite3-devel >= 3.6.18
99 BuildRequires: texinfo
102 BuildRequires: neon-devel >= 0.26.0
104 BuildRequires: serf-devel >= 0.7.1
107 BuildRequires: jdk >= 1.5
108 BuildRequires: libstdc++-devel
111 BuildRequires: perl-devel >= 1:5.8.0
112 BuildRequires: rpm-perlprov >= 4.1-13
113 BuildRequires: swig-perl >= 1.3.24
116 BuildRequires: python-devel >= 1:2.4
117 BuildRequires: swig-python >= 1.3.24
120 BuildRequires: ruby-devel < 1:1.9
121 BuildRequires: ruby-devel >= 1:1.8.2
122 BuildRequires: ruby-rubygems
123 BuildRequires: swig-ruby >= 1.3.24
125 Requires: %{name}-libs = %{version}-%{release}
127 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
129 %define _libexecdir %{_libdir}/svn
130 %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
131 %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
133 %define skip_post_check_so libsvn_swig_py-1.so.* libsvn_swig_perl-1.so.*
136 The goal of the Subversion project is to build a version control
137 system that is a compelling replacement for CVS in the open source
141 - All current CVS features.
142 - Directories, renames, and file meta-data are versioned.
143 - Symbolic links, etc, are supported
144 - Commits are truly atomic.
145 - Branching and tagging are cheap (constant time) operations
146 - Repeated merges are handled gracefully
147 - Support for plug-in client side diff programs
148 - Natively client/server
149 - Client/server protocol sends diffs in both directions
150 - Costs are proportional to change size, not project size
151 - Internationalization
152 - Progressive multi-lingual support
154 %description -l pl.UTF-8
155 Celem projektu Subversion jest stworzenie systemu kontroli wersji jako
159 - Wszystkie aktualne możliwości CVS.
160 - Katalogi, zmiany nazw oraz metadane plików są wersjonowane.
161 - Obsługa dowiązań symbolicznych itp.
162 - Commity są w pełni atomowe.
163 - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami.
164 - Dobra obsługa powtarzanego łączenia (merge).
165 - Obsługa wtyczek diff po stronie klienta.
166 - Natywny klient/serwer.
167 - Klient/Serwer przesyłają diffy w obu kierunkach.
168 - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu.
169 - Internacjonalizacja.
170 - Postępujące wsparcie dla wielu języków.
172 %description -l pt_BR.UTF-8
173 O objetivo do projeto Subversion é construir um sistema de controle de
174 versões que seja um substituto para o CVS (Concurrent Versioning
175 System) na comunidade opensource, fornecendo grandes melhorias.
178 Summary: Subversion libraries and modules
179 Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły
182 Requires: neon >= 0.26.0
184 Requires: serf >= 0.7.1
186 Obsoletes: libsubversion0
189 Subversion libraries and modules.
191 %description libs -l pl.UTF-8
192 Biblioteka subversion oraz ładowalne moduły.
195 Summary: Header files and develpment documentation for subversion
196 Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion
197 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion
198 Group: Development/Libraries
199 Requires: %{name}-libs = %{version}-%{release}
200 Requires: apr-util-devel >= 1:1.0.0
201 %{?with_neon:Requires: neon-devel >= 0.26.0}
202 Obsoletes: libsubversion0-devel
205 Header files and develpment documentation for subversion.
207 %description devel -l pl.UTF-8
208 Pliki nagłówkowe i dokumetacja do subversion.
210 %description devel -l pt_BR.UTF-8
211 Este pacote provê os arquivos necessários para desenvolvedores
212 interagirem com o Subversion.
215 Summary: Static subversion library
216 Summary(pl.UTF-8): Biblioteka statyczna subversion
217 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
218 Group: Development/Libraries
219 Requires: %{name}-devel = %{version}
220 Obsoletes: libsubversion0-static-devel
223 Static subversion library.
225 %description static -l pl.UTF-8
226 Biblioteka statyczna subversion.
228 %description static -l pt_BR.UTF-8
229 Este pacote provê um cliente estático do subversion.
232 Summary: Subversion svnserve
233 Summary(pl.UTF-8): Subversion svnserve
234 Group: Networking/Daemons
235 Requires(post,preun): /sbin/chkconfig
236 Requires(postun): /usr/sbin/groupdel
237 Requires(postun): /usr/sbin/userdel
238 Requires(pre): /bin/id
239 Requires(pre): /usr/bin/getgid
240 Requires(pre): /usr/lib/rpm/user_group.sh
241 Requires(pre): /usr/sbin/groupadd
242 Requires(pre): /usr/sbin/useradd
243 Requires(pre): /usr/sbin/usermod
244 Requires: %{name} = %{version}-%{release}
249 %description svnserve
250 Subversion svnserve server.
252 %description svnserve -l pl.UTF-8
253 Serwer subversion svnserve.
256 Summary: Subversion tools and scripts
257 Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion
258 Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion
260 %pyrequires_eq python
261 Requires: %{name} = %{version}-%{release}
262 Requires: python-subversion = %{version}
265 Subversion tools and scripts.
267 %description tools -l pl.UTF-8
268 Narzędzia oraz skrypty dla subversion.
270 %package -n bash-completion-subversion
271 Summary: bash completion for subversion
272 Summary(pl.UTF-8): Dopełnienia basha dla subversion
273 Group: Applications/Shells
274 Requires: %{name} = %{version}-%{release}
275 Requires: bash-completion
276 Conflicts: %{name}-tools <= 1.1.0-0.rc6.1
278 %description -n bash-completion-subversion
279 Bash completion for subversion.
281 %description -n bash-completion-subversion -l pl.UTF-8
282 Dopełnienia basha dla subversion.
284 %package -n java-subversion
285 Summary: Subversion Java bindings
286 Summary(pl.UTF-8): Dowiązania do Subversion dla Javy
287 Group: Development/Languages/Java
288 Requires: %{name}-libs = %{version}-%{release}
290 %description -n java-subversion
291 This is a set of Java classes which provide the functionality of
292 subversion-libs, the Subversion libraries. It is useful if you want
293 to, for example, write a Java class that manipulates a Subversion
294 repository or working copy. See the 'subversion' package for more
297 %description -n java-subversion -l pl.UTF-8
298 Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność
299 subversion-libs, czyli bibliotek Subversion. Jest przydatny przy
300 pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię
301 roboczą. Więcej informacji w pakiecie subversion.
303 %package -n python-subversion
304 Summary: Subversion Python bindings
305 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
306 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
307 Group: Development/Languages/Python
308 %pyrequires_eq python
309 Requires: %{name}-libs = %{version}-%{release}
310 Obsoletes: subversion-python
312 %description -n python-subversion
313 Subversion Python bindings.
315 %description -n python-subversion -l pl.UTF-8
316 Dowiązania do Subversion dla Pythona.
318 %description -n python-subversion -l pt_BR.UTF-8
319 Módulos Python para acessar os recursos do Subversion.
321 %package -n python-csvn
322 Summary: CTypes Subversion Python bindings
323 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
324 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
325 Group: Development/Languages/Python
326 %pyrequires_eq python
327 Requires: %{name}-libs = %{version}-%{release}
329 %description -n python-csvn
330 Subversion CTypes Python bindings.
332 %description -n python-csvn -l pl.UTF-8
333 Dowiązania do Subversion dla Pythona używające CTypes.
335 %description -n python-csvn -l pt_BR.UTF-8
336 Módulos Python para acessar os recursos do Subversion.
338 %package -n perl-subversion
339 Summary: Subversion Perl bindings
340 Summary(pl.UTF-8): Dowiązania do Subversion dla Perla
341 Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion
342 Group: Development/Languages/Perl
343 Requires: %{name}-libs = %{version}-%{release}
344 Obsoletes: subversion-perl
346 %description -n perl-subversion
347 Subversion Perl bindings.
349 %description -n perl-subversion -l pl.UTF-8
350 Dowiązania do Subversion dla Perla.
352 %description -n perl-subversion -l pt_BR.UTF-8
353 Módulos Perl para acessar os recursos do Subversion.
355 %package -n ruby-subversion
356 Summary: Subversion Ruby bindings
357 Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby
358 Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion
359 Group: Development/Languages
360 Requires: %{name}-libs = %{version}-%{release}
361 Obsoletes: subversion-ruby
363 %description -n ruby-subversion
364 Subversion Ruby bindings.
366 %description -n ruby-subversion -l pl.UTF-8
367 Dowiązania do Subversion dla języka Ruby.
369 %description -n ruby-subversion -l pt_BR.UTF-8
370 Módulos Ruby para acessar os recursos do Subversion.
372 %package -n apache-mod_dav_svn
373 Summary: Apache module: Subversion Server
374 Summary(pl.UTF-8): Moduł apache: Serwer Subversion
375 Group: Networking/Daemons
376 Requires: %{name} = %{version}-%{release}
377 Requires: apache(modules-api) = %apache_modules_api
378 Requires: apache-mod_dav
380 %description -n apache-mod_dav_svn
381 Apache module: Subversion Server.
383 %description -n apache-mod_dav_svn -l pl.UTF-8
384 Moduł apache: Serwer Subversion.
386 %package -n apache-mod_authz_svn
387 Summary: Apache module: Subversion Server - path-based authorization
388 Summary(pl.UTF-8): Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion
389 Group: Networking/Daemons
390 Requires: %{name}-libs = %{version}-%{release}
391 Requires: apache(modules-api) = %apache_modules_api
392 Requires: apache-mod_dav_svn = %{version}-%{release}
394 %description -n apache-mod_authz_svn
395 Apache module: Subversion Server - path-based authorization.
397 %description -n apache-mod_authz_svn -l pl.UTF-8
398 Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion.
400 %package -n gnome-keyring-subversion
401 Summary: GNOME Keyring authentication provider for Subversion
402 Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Subversion
403 Group: X11/Applications
404 Requires: %{name}-libs = %{version}-%{release}
406 %description -n gnome-keyring-subversion
407 Authentication provider module for Subversion which allows SVN client
408 to authenticate using GNOME Keyring.
410 %description -n gnome-keyring-subversion -l pl.UTF-8
411 Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
412 uwierzytelniać się przy użyciu mechanizmu GNOME Keyring.
414 %package -n kde4-kwallet-subversion
415 Summary: KDE Wallet authentication provider for Subversion
416 Summary(pl.UTF-8): Moduł uwierzytelniający dla Subversion wykorzystujący Portfel KDE
417 Group: X11/Applications
418 Requires: %{name}-libs = %{version}-%{release}
420 %description -n kde4-kwallet-subversion
421 Authentication provider module for Subversion which allows SVN client
422 to authenticate using KDE Wallet.
424 %description -n kde4-kwallet-subversion -l pl.UTF-8
425 Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
426 uwierzytelniać się przy użyciu Portfela KDE.
436 sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
438 # serf.m4 macro is broken and ignores --without serf
439 %{?with_neon:sed -i -e 's#serf_found="yes"#serf_found="no"#g' build/ac-macros/serf.m4}
442 # disabled regeneration - subversion 1.6.13 is not ready for swig 2.0.x
443 #%{__rm} subversion/bindings/swig/proxy/*.swg
444 #cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
445 chmod +x ./autogen.sh && ./autogen.sh
449 --with-zlib=%{_libdir} \
450 --disable-runtime-module-search \
451 --disable-mod-activation \
453 --with-berkeley-db="db.h:%{_includedir}:%{_libdir}:db" \
455 --without-berkeley-db \
458 --with-apxs=%{_sbindir}/apxs \
466 ac_cv_path_RUBY=none \
469 --with-ctypesgen=%{_bindir}/ctypesgen.py \
473 --with-jdk="%{java_home}" \
480 --with-neon=%{_prefix} \
481 --disable-neon-version-check \
483 --with-serf=%{_prefix} \
486 --with-apr=%{_bindir}/apr-1-config \
487 --with-apr-util=%{_bindir}/apu-1-config \
498 # Python ctypes bindings
499 %{__make} ctypes-python
502 # Python swig bindings
504 swig_pydir=%{py_sitedir}/libsvn \
505 swig_pydir_extra=%{py_sitedir}/svn
509 %{__make} -j1 swig-pl-lib
510 cd subversion/bindings/swig/perl/native
511 %{__perl} Makefile.PL INSTALLDIRS=vendor
516 %{__make} -j1 javahl \
517 javahl_javadir="%{_javadir}"
527 %{__make} -j1 check-ctypes-python
530 %{__make} -j1 check-swig-py
533 %{__make} -j1 check-swig-pl
536 # disabled, see https://bugs.launchpad.net/pld-linux/+bug/734340
537 #%{__make} check-swig-rb
542 rm -rf $RPM_BUILD_ROOT
543 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \
544 $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \
545 $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \
546 $RPM_BUILD_ROOT%{_sysconfdir}/%{name} \
547 $RPM_BUILD_ROOT/home/services/subversion{,/repos}
549 %{__make} install -j1 \
550 DESTDIR=$RPM_BUILD_ROOT \
551 APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
554 javahl_javadir="%{_javadir}" \
558 swig_pydir=%{py_sitedir}/libsvn \
559 swig_pydir_extra=%{py_sitedir}/svn \
562 install-ctypes-python \
566 %{__make} install -j1 \
567 DESTDIR=$RPM_BUILD_ROOT \
568 install-swig-rb install-swig-rb-doc \
571 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Kernel
572 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/OptionParser
573 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Time
574 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Uconv
575 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri
576 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/created.rid
580 %{__make} install-swig-pl-lib \
581 DESTDIR=$RPM_BUILD_ROOT
582 %{__make} -C subversion/bindings/swig/perl/native install \
583 DESTDIR=$RPM_BUILD_ROOT \
584 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
585 LIBDIR=$RPM_BUILD_ROOT%{_libdir}
589 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf
590 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf
591 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve
592 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve
595 %if %{without net_client_only}
596 install -p tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup
598 %if %{with python} || %{with csvn}
599 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
600 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
604 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.la
605 # .a created on ac only
606 %{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.a
607 cp -p tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
610 cp -p tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
611 cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
614 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.{la,a}
617 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.{la,a}
619 %{__rm} $RPM_BUILD_ROOT%{_libdir}/ruby/site_ruby/*/*/svn/ext/*.la
622 %if %{with gnome} || %{with kwallet}
623 # dlopened by soname (libsvn_auth_*-1.so.0)
624 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la,a}
630 rm -rf $RPM_BUILD_ROOT
634 %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn
636 %post libs -p /sbin/ldconfig
637 %postun libs -p /sbin/ldconfig
639 %post devel -p /sbin/postshell
640 -/usr/sbin/fix-info-dir -c %{_infodir}
642 %postun devel -p /sbin/postshell
643 -/usr/sbin/fix-info-dir -c %{_infodir}
645 %post -n java-subversion -p /sbin/ldconfig
646 %postun -n java-subversion -p /sbin/ldconfig
648 %post -n perl-subversion -p /sbin/ldconfig
649 %postun -n perl-subversion -p /sbin/ldconfig
651 %post -n python-subversion -p /sbin/ldconfig
652 %postun -n python-subversion -p /sbin/ldconfig
654 %post -n ruby-subversion -p /sbin/ldconfig
655 %postun -n ruby-subversion -p /sbin/ldconfig
657 %post -n gnome-keyring-subversion -p /sbin/ldconfig
658 %postun -n gnome-keyring-subversion -p /sbin/ldconfig
660 %post -n kde4-kwallet-subversion -p /sbin/ldconfig
661 %postun -n kde4-kwallet-subversion -p /sbin/ldconfig
664 /sbin/chkconfig --add svnserve
665 %service svnserve restart "svnserve daemon"
668 if [ "$1" = "0" ]; then
669 %service svnserve stop
670 /sbin/chkconfig --del svnserve
674 if [ "$1" = "0" ]; then
679 %post -n apache-mod_dav_svn
680 %service -q httpd restart
682 %postun -n apache-mod_dav_svn
683 if [ "$1" = "0" ]; then
684 %service -q httpd restart
687 %post -n apache-mod_authz_svn
688 %service -q httpd restart
690 %postun -n apache-mod_authz_svn
691 if [ "$1" = "0" ]; then
692 %service -q httpd restart
696 %defattr(644,root,root,755)
697 %doc BUGS CHANGES INSTALL README
699 %doc tools/hook-scripts/*.{pl,py,example}
700 %doc tools/hook-scripts/mailer/*.{py,example}
702 %attr(755,root,root) %{_bindir}/svn
703 %attr(755,root,root) %{_bindir}/svnadmin
704 %attr(755,root,root) %{_bindir}/svndumpfilter
705 %attr(755,root,root) %{_bindir}/svnrdump
706 %attr(755,root,root) %{_bindir}/svnlook
707 %attr(755,root,root) %{_bindir}/svnsync
708 %attr(755,root,root) %{_bindir}/svnversion
709 %{_mandir}/man1/svn.1*
710 %{_mandir}/man1/svnadmin.1*
711 %{_mandir}/man1/svndumpfilter.1*
712 %{_mandir}/man1/svnrdump.1*
713 %{_mandir}/man1/svnlook.1*
714 %{_mandir}/man1/svnsync.1*
715 %{_mandir}/man1/svnversion.1*
717 %files libs -f %{name}.lang
718 %defattr(644,root,root,755)
719 %dir %{_sysconfdir}/%{name}
720 %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.*
721 %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0
722 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.*
723 %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0
724 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.*
725 %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0
726 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.*
727 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0
728 %if %{without net_client_only}
729 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.*
730 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0
732 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.*
733 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0
734 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.*
735 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0
736 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.*
737 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0
738 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.*
739 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0
740 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so.*.*.*
741 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_%{webdavlib}-1.so.0
742 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.*
743 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0
744 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.*
745 %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0
746 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.*
747 %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0
748 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.*
749 %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0
752 %defattr(644,root,root,755)
753 %attr(755,root,root) %{_libdir}/libsvn_client-1.so
754 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so
755 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so
756 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so
757 %if %{without net_client_only}
758 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so
760 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so
761 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so
762 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so
763 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so
764 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so
765 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so
766 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so
767 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so
768 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so
769 %{_libdir}/libsvn_client-1.la
770 %{_libdir}/libsvn_delta-1.la
771 %{_libdir}/libsvn_diff-1.la
772 %{_libdir}/libsvn_fs-1.la
773 %if %{without net_client_only}
774 %{_libdir}/libsvn_fs_base-1.la
776 %{_libdir}/libsvn_fs_fs-1.la
777 %{_libdir}/libsvn_fs_util-1.la
778 %{_libdir}/libsvn_ra-1.la
779 %{_libdir}/libsvn_ra_local-1.la
780 %{_libdir}/libsvn_ra_%{webdavlib}-1.la
781 %{_libdir}/libsvn_ra_svn-1.la
782 %{_libdir}/libsvn_repos-1.la
783 %{_libdir}/libsvn_subr-1.la
784 %{_libdir}/libsvn_wc-1.la
785 %{_includedir}/%{name}-1
786 %{_examplesdir}/%{name}-%{version}
789 %defattr(644,root,root,755)
790 %{_libdir}/libsvn_client-1.a
791 %{_libdir}/libsvn_delta-1.a
792 %{_libdir}/libsvn_diff-1.a
793 %{_libdir}/libsvn_fs-1.a
794 %if %{without net_client_only}
795 %{_libdir}/libsvn_fs_base-1.a
797 %{_libdir}/libsvn_fs_fs-1.a
798 %{_libdir}/libsvn_fs_util-1.a
799 %{_libdir}/libsvn_ra-1.a
800 %{_libdir}/libsvn_ra_local-1.a
801 %{_libdir}/libsvn_ra_%{webdavlib}-1.a
802 %{_libdir}/libsvn_ra_svn-1.a
803 %{_libdir}/libsvn_repos-1.a
804 %{_libdir}/libsvn_subr-1.a
805 %{_libdir}/libsvn_wc-1.a
808 %files -n gnome-keyring-subversion
809 %defattr(644,root,root,755)
810 %attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.*
811 %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0
815 %files -n kde4-kwallet-subversion
816 %defattr(644,root,root,755)
817 %attr(755,root,root) %{_libdir}/libsvn_auth_kwallet-1.so.*.*.*
818 %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_kwallet-1.so.0
821 %if %{without net_client_only}
823 %defattr(644,root,root,755)
824 %attr(755,root,root) %{_bindir}/svnserve
825 %{_mandir}/man5/svnserve.conf.5*
826 %{_mandir}/man8/svnserve.8*
827 %dir %attr(750,svn,svn) /home/services/subversion
828 %dir %attr(750,svn,svn) /home/services/subversion/repos
830 %attr(754,root,root) /etc/rc.d/init.d/svnserve
831 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve
835 %defattr(644,root,root,755)
836 %attr(755,root,root) %{_bindir}/svn-hot-backup
838 %files -n bash-completion-subversion
839 %defattr(644,root,root,755)
840 /etc/bash_completion.d/%{name}
842 %endif # net_client_only
845 %files -n java-subversion
846 %defattr(644,root,root,755)
847 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.*
848 %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0
849 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so
850 %{_javadir}/svn-javahl.jar
854 %files -n python-subversion
855 %defattr(644,root,root,755)
856 %doc tools/backup/*.py
857 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.*
858 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0
859 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so
860 %dir %{py_sitedir}/libsvn
861 %attr(755,root,root) %{py_sitedir}/libsvn/_*.so
862 %{py_sitedir}/libsvn/*.py[co]
863 %dir %{py_sitedir}/svn
864 %{py_sitedir}/svn/*.py[co]
865 %{_examplesdir}/python-%{name}-%{version}
869 %files -n python-csvn
870 %defattr(644,root,root,755)
871 %doc subversion/bindings/ctypes-python/{README,TODO}
872 %doc subversion/bindings/ctypes-python/examples/*.py
873 %dir %{py_sitescriptdir}/csvn
874 %{py_sitescriptdir}/csvn/*.py[co]
875 %dir %{py_sitescriptdir}/csvn/core
876 %{py_sitescriptdir}/csvn/core/*.py[co]
877 %dir %{py_sitescriptdir}/csvn/ext
878 %{py_sitescriptdir}/csvn/ext/*.py[co]
879 %{py_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info
883 %files -n perl-subversion
884 %defattr(644,root,root,755)
885 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.*
886 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0
887 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so
888 %{perl_vendorarch}/SVN
889 %dir %{perl_vendorarch}/auto/SVN
890 %dir %{perl_vendorarch}/auto/SVN/*
891 %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so
892 %{perl_vendorarch}/auto/SVN/*/*.bs
893 %{_mandir}/man3/*.3pm*
897 %files -n ruby-subversion
898 %defattr(644,root,root,755)
899 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.*
900 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0
901 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so
902 %dir %{ruby_sitelibdir}/svn
903 %{ruby_sitelibdir}/svn/*.rb
904 %dir %{ruby_sitearchdir}/svn
905 %dir %{ruby_sitearchdir}/svn/ext
906 %attr(755,root,root) %{ruby_sitearchdir}/svn/ext/*.so
911 %files -n apache-mod_dav_svn
912 %defattr(644,root,root,755)
913 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf
914 %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so
916 %files -n apache-mod_authz_svn
917 %defattr(644,root,root,755)
918 %doc subversion/mod_authz_svn/INSTALL
919 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf
920 %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so