2 # - http://subversion.tigris.org/issues/show_bug.cgi?id=2753
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 perl # build without Perl bindings
10 %bcond_without apache # build without Apache support (webdav, etc)
11 %bcond_without tests # don't perform "make check"
12 %bcond_without kwallet # build without kde4 wallet support
13 %bcond_without db # disable Subversion Berkeley DB based filesystem library
15 %if "%{pld_release}" == "ac"
16 %bcond_with csvn # build Python csvn bindings
17 %bcond_with gnome # build without gnome keyring support
18 %bcond_with javahl # build without javahl support (Java high-level bindings)
19 %bcond_with kde # build without kde4 support (alias for kwallet)
20 %bcond_with ruby # build without Ruby bindings
22 %bcond_without csvn # build Python csvn bindings
23 %bcond_without gnome # build without gnome keyring support
24 %bcond_without javahl # build without javahl support (Java high-level bindings)
25 %bcond_without kde # build without kde4 support (alias for kwallet)
26 %bcond_without ruby # build without Ruby bindings
29 %if %{with net_client_only}
43 %undefine with_kwallet
46 %if %{without python} && %{without perl} && %{without ruby}
50 %define apxs /usr/sbin/apxs
55 %define webdavlib neon
57 %define webdavlib serf
59 %{?with_perl:%include /usr/lib/rpm/macros.perl}
60 Summary: A Concurrent Versioning system similar to but better than CVS
61 Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS
62 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
66 License: Apache/BSD-like
67 Group: Development/Version Control
68 Source0: http://archive.apache.org/dist/subversion/%{name}-%{version}.tar.bz2
69 # Source0-md5: 47b3734ee456fa81df5775c3aeef3f82
70 Source1: %{name}-dav_svn.conf
71 Source2: %{name}-authz_svn.conf
72 Source3: %{name}-svnserve.init
73 Source4: %{name}-svnserve.sysconfig
74 # current subversion tarball has correct *.swg files
75 # but after regeneration these are broken again, so
76 # we still need this script
77 Source5: %{name}-convert-typemaps-to-ifdef.py
78 Patch0: %{name}-home_etc.patch
79 Patch1: %{name}-DESTDIR.patch
80 Patch2: %{name}-ruby-datadir-path.patch
81 Patch3: %{name}-tests.patch
82 Patch4: %{name}-1.6.19-alt-g++4.7-fix.patch
83 URL: http://subversion.apache.org/
84 %{?with_apache:BuildRequires: apache-devel < 2.4}
85 %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8}
86 BuildRequires: autoconf
87 BuildRequires: automake
88 BuildRequires: db-devel >= 4.1.25
89 BuildRequires: libtool
90 BuildRequires: rpm >= 4.4.9-56
91 BuildRequires: rpmbuild(macros) >= 1.656
93 BuildRequires: perl-devel >= 1:5.8.0
94 BuildRequires: rpm-perlprov >= 4.1-13
95 BuildRequires: swig-perl >= 1.3.24
98 BuildRequires: python-ctypesgen
101 BuildRequires: python-devel >= 1:2.4
102 BuildRequires: swig-python >= 1.3.24
105 BuildRequires: ruby-devel
106 BuildRequires: ruby-rubygems
107 BuildRequires: swig-ruby >= 1.3.24
111 BuildRequires: libstdc++-devel
113 BuildRequires: apr-devel >= 1:1.0.0
114 BuildRequires: apr-util-devel >= 1:1.2.8-3
115 BuildRequires: autoconf >= 2.59
117 BuildRequires: cyrus-sasl-devel
118 BuildRequires: expat-devel
119 BuildRequires: gettext-devel
120 %{?with_kwallet:BuildRequires: kde4-kdelibs-devel}
121 %{?with_gnome:BuildRequires: libgnome-keyring-devel}
122 BuildRequires: libtool >= 1.4-9
123 BuildRequires: pkgconfig
124 BuildRequires: rpm-pythonprov
125 BuildRequires: sed >= 4.0
126 BuildRequires: sqlite3-devel >= 3.6.11
127 BuildRequires: texinfo
130 BuildRequires: neon-devel >= 0.26.0
132 BuildRequires: serf-devel
134 Requires: %{name}-libs = %{version}-%{release}
136 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
138 %define _libexecdir %{_libdir}/svn
139 %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
140 %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
142 %define skip_post_check_so libsvn_swig_py-1.so.* libsvn_swig_perl-1.so.* libsvn_fs-1.so.0.0.0
143 # libsvn_fs-1.so.0.0.0 - "apr_uuid_parse" symbol
145 %define filterout_ld -Werror=format-security
148 The goal of the Subversion project is to build a version control
149 system that is a compelling replacement for CVS in the open source
153 - All current CVS features.
154 - Directories, renames, and file meta-data are versioned.
155 - Symbolic links, etc, are supported
156 - Commits are truly atomic.
157 - Branching and tagging are cheap (constant time) operations
158 - Repeated merges are handled gracefully
159 - Support for plug-in client side diff programs
160 - Natively client/server
161 - Client/server protocol sends diffs in both directions
162 - Costs are proportional to change size, not project size
163 - Internationalization
164 - Progressive multi-lingual support
166 %description -l pl.UTF-8
167 Celem projektu Subversion jest stworzenie systemu kontroli wersji jako
171 - Wszystkie aktualne możliwości CVS.
172 - Katalogi, zmiany nazw oraz metadane plików są wersjonowane.
173 - Obsługa dowiązań symbolicznych itp.
174 - Commity są w pełni atomowe.
175 - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami.
176 - Dobra obsługa powtarzanego łączenia (merge).
177 - Obsługa wtyczek diff po stronie klienta.
178 - Natywny klient/serwer.
179 - Klient/Serwer przesyłają diffy w obu kierunkach.
180 - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu.
181 - Internacjonalizacja.
182 - Postępujące wsparcie dla wielu języków.
184 %description -l pt_BR.UTF-8
185 O objetivo do projeto Subversion é construir um sistema de controle de
186 versões que seja um substituto para o CVS (Concurrent Versioning
187 System) na comunidade opensource, fornecendo grandes melhorias.
190 Summary: Subversion libraries and modules
191 Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły
193 %{?with_neon:Requires: neon >= 0.26.0}
194 Obsoletes: libsubversion0
197 Subversion libraries and modules.
199 %description libs -l pl.UTF-8
200 Biblioteka subversion oraz ładowalne moduły.
203 Summary: Header files and develpment documentation for subversion
204 Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion
205 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion
206 Group: Development/Libraries
207 Requires: %{name}-libs = %{version}-%{release}
208 Requires: apr-util-devel >= 1:1.0.0
209 %{?with_neon:Requires: neon-devel >= 0.26.0}
210 Obsoletes: libsubversion0-devel
213 Header files and develpment documentation for subversion.
215 %description devel -l pl.UTF-8
216 Pliki nagłówkowe i dokumetacja do subversion.
218 %description devel -l pt_BR.UTF-8
219 Este pacote provê os arquivos necessários para desenvolvedores
220 interagirem com o Subversion.
223 Summary: Static subversion library
224 Summary(pl.UTF-8): Biblioteka statyczna subversion
225 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
226 Group: Development/Libraries
227 Requires: %{name}-devel = %{version}
228 Obsoletes: libsubversion0-static-devel
231 Static subversion library.
233 %description static -l pl.UTF-8
234 Biblioteka statyczna subversion.
236 %description static -l pt_BR.UTF-8
237 Este pacote provê um cliente estático do subversion.
240 Summary: Subversion svnserve
241 Summary(pl.UTF-8): Subversion svnserve
242 Group: Networking/Daemons
243 Requires(post,preun): /sbin/chkconfig
244 Requires(postun): /usr/sbin/groupdel
245 Requires(postun): /usr/sbin/userdel
246 Requires(pre): /bin/id
247 Requires(pre): /usr/bin/getgid
248 Requires(pre): /usr/lib/rpm/user_group.sh
249 Requires(pre): /usr/sbin/groupadd
250 Requires(pre): /usr/sbin/useradd
251 Requires(pre): /usr/sbin/usermod
252 Requires: %{name} = %{version}-%{release}
257 %description svnserve
258 Subversion svnserve server.
260 %description svnserve -l pl.UTF-8
261 Serwer subversion svnserve.
264 Summary: Subversion tools and scripts
265 Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion
266 Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion
268 Requires: %{name} = %{version}-%{release}
270 Requires: python-subversion = %{version}
273 Subversion tools and scripts.
275 %description tools -l pl.UTF-8
276 Narzędzia oraz skrypty dla subversion.
278 %package -n bash-completion-subversion
279 Summary: bash completion for subversion
280 Summary(pl.UTF-8): Dopełnienia basha dla subversion
281 Group: Applications/Shells
282 Requires: %{name} = %{version}-%{release}
283 Requires: bash-completion
284 Conflicts: %{name}-tools <= 1.1.0-0.rc6.1
286 %description -n bash-completion-subversion
287 Bash completion for subversion.
289 %description -n bash-completion-subversion -l pl.UTF-8
290 Dopełnienia basha dla subversion.
292 %package -n java-subversion
293 Summary: Subversion Java bindings
294 Summary(pl.UTF-8): Dowiązania do Subversion dla Javy
295 Group: Development/Languages/Java
296 Requires: %{name}-libs = %{version}-%{release}
298 %description -n java-subversion
299 This is a set of Java classes which provide the functionality of
300 subversion-libs, the Subversion libraries. It is useful if you want
301 to, for example, write a Java class that manipulates a Subversion
302 repository or working copy. See the 'subversion' package for more
305 %description -n java-subversion -l pl.UTF-8
306 Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność
307 subversion-libs, czyli bibliotek Subversion. Jest przydatny przy
308 pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię
309 roboczą. Więcej informacji w pakiecie subversion.
311 %package -n python-subversion
312 Summary: Subversion Python bindings
313 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
314 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
315 Group: Development/Languages/Python
316 Requires: %{name}-libs = %{version}-%{release}
318 Obsoletes: subversion-python
320 %description -n python-subversion
321 Subversion Python bindings.
323 %description -n python-subversion -l pl.UTF-8
324 Dowiązania do Subversion dla Pythona.
326 %description -n python-subversion -l pt_BR.UTF-8
327 Módulos Python para acessar os recursos do Subversion.
329 %package -n python-csvn
330 Summary: CTypes Subversion Python bindings
331 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
332 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
333 Group: Development/Languages/Python
334 Requires: %{name}-libs = %{version}-%{release}
337 %description -n python-csvn
338 Subversion CTypes Python bindings.
340 %description -n python-csvn -l pl.UTF-8
341 Dowiązania do Subversion dla Pythona używające CTypes.
343 %description -n python-csvn -l pt_BR.UTF-8
344 Módulos Python para acessar os recursos do Subversion.
346 %package -n perl-subversion
347 Summary: Subversion Perl bindings
348 Summary(pl.UTF-8): Dowiązania do Subversion dla Perla
349 Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion
350 Group: Development/Languages/Perl
351 Requires: %{name}-libs = %{version}-%{release}
352 Obsoletes: subversion-perl
354 %description -n perl-subversion
355 Subversion Perl bindings.
357 %description -n perl-subversion -l pl.UTF-8
358 Dowiązania do Subversion dla Perla.
360 %description -n perl-subversion -l pt_BR.UTF-8
361 Módulos Perl para acessar os recursos do Subversion.
363 %package -n ruby-subversion
364 Summary: Subversion Ruby bindings
365 Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby
366 Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion
367 Group: Development/Languages
368 Requires: %{name}-libs = %{version}-%{release}
369 Obsoletes: subversion-ruby
371 %description -n ruby-subversion
372 Subversion Ruby bindings.
374 %description -n ruby-subversion -l pl.UTF-8
375 Dowiązania do Subversion dla języka Ruby.
377 %description -n ruby-subversion -l pt_BR.UTF-8
378 Módulos Ruby para acessar os recursos do Subversion.
380 %package -n apache-mod_dav_svn
381 Summary: Apache module: Subversion Server
382 Summary(pl.UTF-8): Moduł apache: Serwer Subversion
383 Group: Networking/Daemons
384 Requires: %{name} = %{version}-%{release}
385 Requires: apache(modules-api) = %apache_modules_api
386 Requires: apache-mod_dav
388 %description -n apache-mod_dav_svn
389 Apache module: Subversion Server.
391 %description -n apache-mod_dav_svn -l pl.UTF-8
392 Moduł apache: Serwer Subversion.
394 %package -n apache-mod_authz_svn
395 Summary: Apache module: Subversion Server - path-based authorization
396 Summary(pl.UTF-8): Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion
397 Group: Networking/Daemons
398 Requires: apache(modules-api) = %apache_modules_api
399 Requires: apache-mod_dav_svn = %{version}-%{release}
401 %description -n apache-mod_authz_svn
402 Apache module: Subversion Server - path-based authorization.
404 %description -n apache-mod_authz_svn -l pl.UTF-8
405 Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion.
407 %package -n gnome-keyring-subversion
408 Summary: GNOME Keyring authentication provider for Subversion
409 Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Subversion
410 Group: X11/Applications
412 %description -n gnome-keyring-subversion
413 Authentication provider module for Subversion which allows SVN client
414 to authenticate using GNOME Keyring.
416 %description -n gnome-keyring-subversion -l pl.UTF-8
417 Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
418 uwierzytelniać się przy użyciu mechanizmu GNOME Keyring.
420 %package -n kde4-kwallet-subversion
421 Summary: KDE Wallet authentication provider for Subversion
422 Summary(pl.UTF-8): Moduł uwierzytelniający dla Subversion wykorzystujący Portfel KDE
423 Group: X11/Applications
425 %description -n kde4-kwallet-subversion
426 Authentication provider module for Subversion which allows SVN client
427 to authenticate using KDE Wallet.
429 %description -n kde4-kwallet-subversion -l pl.UTF-8
430 Moduł uwierzytelniający dla Subversion pozwalający klientom SVN
431 uwierzytelniać się przy użyciu Portfela KDE.
441 sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
443 # serf.m4 macro is broken and ignores --without serf
444 %{?with_neon:sed -i -e 's#serf_found="yes"#serf_found="no"#g' build/ac-macros/serf.m4}
447 # disabled regeneration - subversion 1.6.13 is not ready for swig 2.0.x
448 #%{__rm} subversion/bindings/swig/proxy/*.swg
449 #cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
450 chmod +x ./autogen.sh && ./autogen.sh
454 --with-zlib=%{_libdir} \
455 --disable-runtime-module-search \
456 --disable-mod-activation \
458 --with-berkeley-db="db.h:%{_includedir}:%{_libdir}:db" \
460 --without-berkeley-db \
463 --with-apxs=%{_sbindir}/apxs \
471 svn_cv_ruby_sitedir_libsuffix="" \
472 svn_cv_ruby_sitedir_archsuffix="" \
473 --with-ruby-sitedir=%{ruby_vendorarchdir} \
475 ac_cv_path_RUBY=none \
478 --with-ctypesgen=%{_bindir}/ctypesgen.py \
482 --with-jdk="%{java_home}" \
489 --with-neon=%{_prefix} \
490 --disable-neon-version-check \
492 --with-serf=%{_prefix} \
495 --with-apr=%{_bindir}/apr-1-config \
496 --with-apr-util=%{_bindir}/apu-1-config \
507 # Python ctypes bindings
508 %{__make} ctypes-python
511 # Python swig bindings
513 swig_pydir=%{py_sitedir}/libsvn \
514 swig_pydir_extra=%{py_sitedir}/svn
518 %{__make} -j1 swig-pl-lib
519 cd subversion/bindings/swig/perl/native
520 %{__perl} Makefile.PL INSTALLDIRS=vendor
525 %{__make} -j1 javahl \
526 javahl_javadir="%{_javadir}"
536 %{__make} check-ctypes-python
539 %{__make} check-swig-py
542 %{__make} check-swig-pl
545 # disabled, see https://bugs.launchpad.net/pld-linux/+bug/734340
546 #%{__make} check-swig-rb
551 rm -rf $RPM_BUILD_ROOT
552 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \
553 $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \
554 $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \
555 $RPM_BUILD_ROOT%{_sysconfdir}/%{name} \
556 $RPM_BUILD_ROOT/home/services/subversion{,/repos}
558 %{__make} install -j1 \
559 DESTDIR=$RPM_BUILD_ROOT \
560 APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
563 javahl_javadir="%{_javadir}" \
567 swig_pydir=%{py_sitedir}/libsvn \
568 swig_pydir_extra=%{py_sitedir}/svn \
571 install-ctypes-python \
575 %{__make} install -j1 \
576 DESTDIR=$RPM_BUILD_ROOT \
577 install-swig-rb install-swig-rb-doc \
580 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Kernel
581 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/OptionParser
582 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Time
583 %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Uconv
584 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri
585 %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/created.rid
589 %{__make} install-swig-pl-lib \
590 DESTDIR=$RPM_BUILD_ROOT
591 %{__make} -C subversion/bindings/swig/perl/native install \
592 DESTDIR=$RPM_BUILD_ROOT \
593 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
594 LIBDIR=$RPM_BUILD_ROOT%{_libdir}
598 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf
599 cp -p %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf
600 cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve
601 install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve
604 %if %{without net_client_only}
605 install -p tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup
607 %if %{with python} || %{with csvn}
608 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
609 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
613 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.la
614 # .a created on ac only
615 %{__rm} -f $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.a
616 cp -p tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
619 cp -p tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
620 cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
623 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.{la,a}
626 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.{la,a}
628 %{__rm} $RPM_BUILD_ROOT%{ruby_vendorarchdir}/svn/ext/*.la
631 %if %{with gnome} || %{with kwallet}
632 # dlopened by soname (libsvn_auth_*-1.so.0)
633 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la,a}
639 rm -rf $RPM_BUILD_ROOT
643 %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn
645 %post libs -p /sbin/ldconfig
646 %postun libs -p /sbin/ldconfig
648 %post devel -p /sbin/postshell
649 -/usr/sbin/fix-info-dir -c %{_infodir}
651 %postun devel -p /sbin/postshell
652 -/usr/sbin/fix-info-dir -c %{_infodir}
654 %post -n java-subversion -p /sbin/ldconfig
655 %postun -n java-subversion -p /sbin/ldconfig
657 %post -n perl-subversion -p /sbin/ldconfig
658 %postun -n perl-subversion -p /sbin/ldconfig
660 %post -n python-subversion -p /sbin/ldconfig
661 %postun -n python-subversion -p /sbin/ldconfig
663 %post -n ruby-subversion -p /sbin/ldconfig
664 %postun -n ruby-subversion -p /sbin/ldconfig
666 %post -n gnome-keyring-subversion -p /sbin/ldconfig
667 %postun -n gnome-keyring-subversion -p /sbin/ldconfig
669 %post -n kde4-kwallet-subversion -p /sbin/ldconfig
670 %postun -n kde4-kwallet-subversion -p /sbin/ldconfig
673 /sbin/chkconfig --add svnserve
674 %service svnserve restart "svnserve daemon"
677 if [ "$1" = "0" ]; then
678 %service svnserve stop
679 /sbin/chkconfig --del svnserve
683 if [ "$1" = "0" ]; then
688 %post -n apache-mod_dav_svn
689 %service -q httpd restart
691 %postun -n apache-mod_dav_svn
692 if [ "$1" = "0" ]; then
693 %service -q httpd restart
696 %post -n apache-mod_authz_svn
697 %service -q httpd restart
699 %postun -n apache-mod_authz_svn
700 if [ "$1" = "0" ]; then
701 %service -q httpd restart
705 %defattr(644,root,root,755)
706 %doc BUGS CHANGES COPYING INSTALL README
708 %doc tools/hook-scripts/*.{pl,py,example}
709 %doc tools/hook-scripts/mailer/*.{py,example}
711 %attr(755,root,root) %{_bindir}/svn
712 %attr(755,root,root) %{_bindir}/svnadmin
713 %attr(755,root,root) %{_bindir}/svndumpfilter
714 %attr(755,root,root) %{_bindir}/svnlook
715 %attr(755,root,root) %{_bindir}/svnsync
716 %attr(755,root,root) %{_bindir}/svnversion
717 %{_mandir}/man1/svn.1*
718 %{_mandir}/man1/svnadmin.1*
719 %{_mandir}/man1/svndumpfilter.1*
720 %{_mandir}/man1/svnlook.1*
721 %{_mandir}/man1/svnsync.1*
722 %{_mandir}/man1/svnversion.1*
724 %files libs -f %{name}.lang
725 %defattr(644,root,root,755)
726 %dir %{_sysconfdir}/%{name}
727 %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.*
728 %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0
729 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.*
730 %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0
731 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.*
732 %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0
733 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.*
734 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0
735 %if %{without net_client_only}
736 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.*
737 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0
739 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.*
740 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0
741 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.*
742 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0
743 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.*
744 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0
745 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.*
746 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0
747 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so.*.*.*
748 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_%{webdavlib}-1.so.0
749 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.*
750 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0
751 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.*
752 %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0
753 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.*
754 %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0
755 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.*
756 %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0
759 %defattr(644,root,root,755)
760 %attr(755,root,root) %{_libdir}/libsvn_client-1.so
761 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so
762 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so
763 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so
764 %if %{without net_client_only}
765 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so
767 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so
768 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so
769 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so
770 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so
771 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so
772 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so
773 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so
774 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so
775 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so
776 %{_libdir}/libsvn_client-1.la
777 %{_libdir}/libsvn_delta-1.la
778 %{_libdir}/libsvn_diff-1.la
779 %{_libdir}/libsvn_fs-1.la
780 %if %{without net_client_only}
781 %{_libdir}/libsvn_fs_base-1.la
783 %{_libdir}/libsvn_fs_fs-1.la
784 %{_libdir}/libsvn_fs_util-1.la
785 %{_libdir}/libsvn_ra-1.la
786 %{_libdir}/libsvn_ra_local-1.la
787 %{_libdir}/libsvn_ra_%{webdavlib}-1.la
788 %{_libdir}/libsvn_ra_svn-1.la
789 %{_libdir}/libsvn_repos-1.la
790 %{_libdir}/libsvn_subr-1.la
791 %{_libdir}/libsvn_wc-1.la
792 %{_includedir}/%{name}-1
793 %{_examplesdir}/%{name}-%{version}
796 %defattr(644,root,root,755)
797 %{_libdir}/libsvn_client-1.a
798 %{_libdir}/libsvn_delta-1.a
799 %{_libdir}/libsvn_diff-1.a
800 %{_libdir}/libsvn_fs-1.a
801 %if %{without net_client_only}
802 %{_libdir}/libsvn_fs_base-1.a
804 %{_libdir}/libsvn_fs_fs-1.a
805 %{_libdir}/libsvn_fs_util-1.a
806 %{_libdir}/libsvn_ra-1.a
807 %{_libdir}/libsvn_ra_local-1.a
808 %{_libdir}/libsvn_ra_%{webdavlib}-1.a
809 %{_libdir}/libsvn_ra_svn-1.a
810 %{_libdir}/libsvn_repos-1.a
811 %{_libdir}/libsvn_subr-1.a
812 %{_libdir}/libsvn_wc-1.a
815 %files -n gnome-keyring-subversion
816 %defattr(644,root,root,755)
817 %attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.*
818 %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0
822 %files -n kde4-kwallet-subversion
823 %defattr(644,root,root,755)
824 %attr(755,root,root) %{_libdir}/libsvn_auth_kwallet-1.so.*.*.*
825 %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_kwallet-1.so.0
828 %if %{without net_client_only}
830 %defattr(644,root,root,755)
831 %attr(755,root,root) %{_bindir}/svnserve
832 %{_mandir}/man5/svnserve.conf.5*
833 %{_mandir}/man8/svnserve.8*
834 %dir %attr(750,svn,svn) /home/services/subversion
835 %dir %attr(750,svn,svn) /home/services/subversion/repos
837 %attr(754,root,root) /etc/rc.d/init.d/svnserve
838 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve
842 %defattr(644,root,root,755)
843 %attr(755,root,root) %{_bindir}/svn-hot-backup
845 %files -n bash-completion-subversion
846 %defattr(644,root,root,755)
847 /etc/bash_completion.d/%{name}
849 %endif # net_client_only
852 %files -n java-subversion
853 %defattr(644,root,root,755)
854 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.*
855 %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0
856 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so
857 %{_javadir}/svn-javahl.jar
861 %files -n python-subversion
862 %defattr(644,root,root,755)
863 %doc tools/backup/*.py
864 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.*
865 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0
866 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so
867 %dir %{py_sitedir}/libsvn
868 %attr(755,root,root) %{py_sitedir}/libsvn/_*.so
869 %{py_sitedir}/libsvn/*.py[co]
870 %dir %{py_sitedir}/svn
871 %{py_sitedir}/svn/*.py[co]
872 %{_examplesdir}/python-%{name}-%{version}
876 %files -n python-csvn
877 %defattr(644,root,root,755)
878 %doc subversion/bindings/ctypes-python/{README,TODO}
879 %doc subversion/bindings/ctypes-python/examples/*.py
880 %dir %{py_sitescriptdir}/csvn
881 %{py_sitescriptdir}/csvn/*.py[co]
882 %dir %{py_sitescriptdir}/csvn/core
883 %{py_sitescriptdir}/csvn/core/*.py[co]
884 %dir %{py_sitescriptdir}/csvn/ext
885 %{py_sitescriptdir}/csvn/ext/*.py[co]
886 %{py_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info
890 %files -n perl-subversion
891 %defattr(644,root,root,755)
892 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.*
893 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0
894 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so
895 %{perl_vendorarch}/SVN
896 %dir %{perl_vendorarch}/auto/SVN
897 %dir %{perl_vendorarch}/auto/SVN/*
898 %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so
899 %{perl_vendorarch}/auto/SVN/*/*.bs
900 %{_mandir}/man3/*.3pm*
904 %files -n ruby-subversion
905 %defattr(644,root,root,755)
906 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.*
907 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0
908 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so
909 %dir %{ruby_vendorarchdir}/svn
910 %{ruby_vendorarchdir}/svn/*.rb
911 %dir %{ruby_vendorarchdir}/svn/ext
912 %attr(755,root,root) %{ruby_vendorarchdir}/svn/ext/*.so
917 %files -n apache-mod_dav_svn
918 %defattr(644,root,root,755)
919 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf
920 %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so
922 %files -n apache-mod_authz_svn
923 %defattr(644,root,root,755)
924 %doc subversion/mod_authz_svn/INSTALL
925 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf
926 %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so