2 # - remove net_client_only and add db bcond (then without apache and
3 # without db => net_client_only - spec will be more simpler, I think)
7 %bcond_with net_client_only # build only net client
8 %bcond_without neon # use serf instead of neon
9 %bcond_without python # build without python bindings (broken)
10 %bcond_without perl # build without perl bindings
11 %bcond_without ruby # build without ruby bindings
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"
16 %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664}
20 %{!?with_net_client_only:%include /usr/lib/rpm/macros.perl}
21 %define apxs /usr/sbin/apxs
26 %define webdavlib neon
28 %define webdavlib serf
31 Summary: A Concurrent Versioning system similar to but better than CVS
32 Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS
33 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
37 License: Apache/BSD-like
38 Group: Development/Version Control
39 Source0: http://subversion.tigris.org/downloads/%{name}-%{version}.tar.bz2
40 # Source0-md5: 8321d0e1964846090f0174cb6bb18838
41 Source1: %{name}-dav_svn.conf
42 Source2: %{name}-authz_svn.conf
43 Source3: %{name}-svnserve.init
44 Source4: %{name}-svnserve.sysconfig
45 # current subversion tarball has correct *.swg files
46 # but after regeneration these are broken again, so
47 # we still need this script
48 Source5: %{name}-convert-typemaps-to-ifdef.py
49 Patch0: %{name}-home_etc.patch
50 Patch1: %{name}-DESTDIR.patch
51 Patch2: %{name}-ruby-datadir-path.patch
52 Patch3: %{name}-tests.patch
53 URL: http://subversion.tigris.org/
54 %if %{with net_client_only}
55 %global apache_modules_api 0
57 %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8}
58 BuildRequires: automake
59 BuildRequires: db-devel >= 4.1.25
60 BuildRequires: rpmbuild(macros) >= 1.268
62 BuildRequires: perl-devel >= 1:5.8.0
63 BuildRequires: rpm-perlprov >= 4.1-13
64 BuildRequires: swig-perl >= 1.3.24
66 %{?with_javahl:BuildRequires: jdk}
68 BuildRequires: apr-devel >= 1:1.0.0
69 BuildRequires: apr-util-devel >= 1:1.2.8-3
70 BuildRequires: autoconf >= 2.59
72 BuildRequires: cyrus-sasl-devel
73 BuildRequires: expat-devel
74 BuildRequires: gettext-devel
75 BuildRequires: libtool >= 1.4-9
76 BuildRequires: sed >= 4.0
77 BuildRequires: texinfo
80 BuildRequires: neon-devel >= 0.26.0
82 BuildRequires: serf-devel
84 BuildRequires: python >= 2.2
85 BuildRequires: python-modules >= 2.2
87 BuildRequires: python-devel >= 2.2
88 BuildRequires: swig-python >= 1.3.24
91 BuildRequires: ruby-devel
92 BuildRequires: swig-ruby >= 1.3.24
94 Requires: %{name}-libs = %{version}-%{release}
95 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
97 %define _libexecdir %{_libdir}/svn
98 %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
99 %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
102 The goal of the Subversion project is to build a version control
103 system that is a compelling replacement for CVS in the open source
107 - All current CVS features.
108 - Directories, renames, and file meta-data are versioned.
109 - Symbolic links, etc, are supported
110 - Commits are truly atomic.
111 - Branching and tagging are cheap (constant time) operations
112 - Repeated merges are handled gracefully
113 - Support for plug-in client side diff programs
114 - Natively client/server
115 - Client/server protocol sends diffs in both directions
116 - Costs are proportional to change size, not project size
117 - Internationalization
118 - Progressive multi-lingual support
120 %description -l pl.UTF-8
121 Celem projektu Subversion jest stworzenie systemu kontroli wersji jako
125 - Wszystkie aktualne możliwości CVS.
126 - Katalogi, zmiany nazw oraz metadane plików są wersjonowane.
127 - Obsługa dowiązań symbolicznych itp.
128 - Commity są w pełni atomowe.
129 - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami.
130 - Dobra obsługa powtarzanego łączenia (merge).
131 - Obsługa wtyczek diff po stronie klienta.
132 - Natywny klient/serwer.
133 - Klient/Serwer przesyłają diffy w obu kierunkach.
134 - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu.
135 - Internacjonalizacja.
136 - Postępujące wsparcie dla wielu języków.
138 %description -l pt_BR.UTF-8
139 O objetivo do projeto Subversion é construir um sistema de controle de
140 versões que seja um substituto para o CVS (Concurrent Versioning
141 System) na comunidade opensource, fornecendo grandes melhorias.
144 Summary: Subversion libraries and modules
145 Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły
147 %{?with_neon:Requires: neon >= 0.26.0}
148 Obsoletes: libsubversion0
151 Subversion libraries and modules.
153 %description libs -l pl.UTF-8
154 Biblioteka subversion oraz ładowalne moduły.
157 Summary: Header files and develpment documentation for subversion
158 Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion
159 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion
160 Group: Development/Libraries
161 Requires: %{name}-libs = %{version}-%{release}
162 Requires: apr-util-devel >= 1:1.0.0
163 %{?with_neon:Requires: neon-devel >= 0.26.0}
164 Obsoletes: libsubversion0-devel
167 Header files and develpment documentation for subversion.
169 %description devel -l pl.UTF-8
170 Pliki nagłówkowe i dokumetacja do subversion.
172 %description devel -l pt_BR.UTF-8
173 Este pacote provê os arquivos necessários para desenvolvedores
174 interagirem com o Subversion.
177 Summary: Static subversion library
178 Summary(pl.UTF-8): Biblioteka statyczna subversion
179 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
180 Group: Development/Libraries
181 Requires: %{name}-devel = %{version}
182 Obsoletes: libsubversion0-static-devel
185 Static subversion library.
187 %description static -l pl.UTF-8
188 Biblioteka statyczna subversion.
190 %description static -l pt_BR.UTF-8
191 Este pacote provê um cliente estático do subversion.
194 Summary: Subversion svnserve
195 Summary(pl.UTF-8): Subversion svnserve
196 Group: Networking/Daemons
197 Requires(post,preun): /sbin/chkconfig
198 Requires(postun): /usr/sbin/groupdel
199 Requires(postun): /usr/sbin/userdel
200 Requires(pre): /bin/id
201 Requires(pre): /usr/bin/getgid
202 Requires(pre): /usr/lib/rpm/user_group.sh
203 Requires(pre): /usr/sbin/groupadd
204 Requires(pre): /usr/sbin/useradd
205 Requires(pre): /usr/sbin/usermod
206 Requires: %{name} = %{version}-%{release}
211 %description svnserve
212 Subversion svnserve server.
214 %description svnserve -l pl.UTF-8
215 Serwer subversion svnserve.
218 Summary: Subversion tools and scripts
219 Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion
220 Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion
222 %pyrequires_eq python
223 Requires: %{name} = %{version}-%{release}
224 Requires: python-rcsparse >= 0.1-0.20031026.0
225 Requires: python-subversion = %{version}
228 Subversion tools and scripts.
230 %description tools -l pl.UTF-8
231 Narzędzia oraz skrypty dla subversion.
233 %package -n bash-completion-subversion
234 Summary: bash completion for subversion
235 Summary(pl.UTF-8): Dopełnienia basha dla subversion
236 Group: Applications/Shells
237 Requires: %{name} = %{version}-%{release}
238 Requires: bash-completion
239 Conflicts: %{name}-tools <= 1.1.0-0.rc6.1
241 %description -n bash-completion-subversion
242 Bash completion for subversion.
244 %description -n bash-completion-subversion -l pl.UTF-8
245 Dopełnienia basha dla subversion.
247 %package -n java-subversion
248 Summary: Subversion Java bindings
249 Summary(pl.UTF-8): Dowiązania do Subversion dla Javy
250 Group: Development/Languages/Java
251 Requires: %{name}-libs = %{version}-%{release}
253 %description -n java-subversion
254 This is a set of Java classes which provide the functionality of
255 subversion-libs, the Subversion libraries. It is useful if you want
256 to, for example, write a Java class that manipulates a Subversion
257 repository or working copy. See the 'subversion' package for more
260 %description -n java-subversion -l pl.UTF-8
261 Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność
262 subversion-libs, czyli bibliotek Subversion. Jest przydatny przy
263 pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię
264 roboczą. Więcej informacji w pakiecie subversion.
266 %package -n python-subversion
267 Summary: Subversion Python bindings
268 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
269 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
270 Group: Development/Languages/Python
271 %pyrequires_eq python
272 Requires: %{name}-libs = %{version}-%{release}
273 Obsoletes: subversion-python
275 %description -n python-subversion
276 Subversion Python bindings.
278 %description -n python-subversion -l pl.UTF-8
279 Dowiązania do Subversion dla Pythona.
281 %description -n python-subversion -l pt_BR.UTF-8
282 Módulos Python para acessar os recursos do Subversion.
284 %package -n perl-subversion
285 Summary: Subversion Perl bindings
286 Summary(pl.UTF-8): Dowiązania do Subversion dla Perla
287 Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion
288 Group: Development/Languages/Perl
289 Requires: %{name}-libs = %{version}-%{release}
290 Obsoletes: subversion-perl
292 %description -n perl-subversion
293 Subversion Perl bindings.
295 %description -n perl-subversion -l pl.UTF-8
296 Dowiązania do Subversion dla Perla.
298 %description -n perl-subversion -l pt_BR.UTF-8
299 Módulos Perl para acessar os recursos do Subversion.
301 %package -n ruby-subversion
302 Summary: Subversion Ruby bindings
303 Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby
304 Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion
305 Group: Development/Languages
306 Requires: %{name}-libs = %{version}-%{release}
307 Obsoletes: subversion-ruby
309 %description -n ruby-subversion
310 Subversion Ruby bindings.
312 %description -n ruby-subversion -l pl.UTF-8
313 Dowiązania do Subversion dla języka Ruby.
315 %description -n ruby-subversion -l pt_BR.UTF-8
316 Módulos Ruby para acessar os recursos do Subversion.
318 %package -n apache-mod_dav_svn
319 Summary: Apache module: Subversion Server
320 Summary(pl.UTF-8): Moduł apache: Serwer Subversion
321 Group: Networking/Daemons
322 Requires: %{name} = %{version}-%{release}
323 Requires: apache(modules-api) = %apache_modules_api
324 Requires: apache-mod_dav
326 %description -n apache-mod_dav_svn
327 Apache module: Subversion Server.
329 %description -n apache-mod_dav_svn -l pl.UTF-8
330 Moduł apache: Serwer Subversion.
332 %package -n apache-mod_authz_svn
333 Summary: Apache module: Subversion Server - path-based authorization
334 Summary(pl.UTF-8): Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion
335 Group: Networking/Daemons
336 Requires: apache(modules-api) = %apache_modules_api
337 Requires: apache-mod_dav_svn = %{version}-%{release}
339 %description -n apache-mod_authz_svn
340 Apache module: Subversion Server - path-based authorization.
342 %description -n apache-mod_authz_svn -l pl.UTF-8
343 Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion.
347 rm -rf apr apr-util neon
353 sed -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4
355 # serf.m4 macro is broken and ignores --without serf
356 %{?with_neon:sed -i -e 's#serf_found="yes"#serf_found="no"#g' build/ac-macros/serf.m4}
359 rm subversion/bindings/swig/proxy/*.swg
360 cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
361 cp -f /usr/share/automake/config.sub ac-helpers
362 chmod +x ./autogen.sh && ./autogen.sh
366 --with-zlib=%{_libdir} \
367 %if %{with net_client_only}
371 --without-berkeley-db \
373 --disable-runtime-module-search \
374 --disable-mod-activation \
376 --with-apxs=%{_sbindir}/apxs \
380 --with-berkeley-db=%{_includedir}/db4:%{_libdir} \
382 %if !%{with python} && !%{with perl} && !%{with ruby}
385 --%{?with_javahl:en}%{!?with_javahl:dis}able-javahl \
387 --with-jdk="%{java_home}" \
390 --with-neon=%{_prefix} \
391 --disable-neon-version-check \
393 --with-serf=%{_prefix} \
396 --with-apr=%{_bindir}/apr-1-config \
397 --with-apr-util=%{_bindir}/apu-1-config
401 %if !%{with net_client_only}
405 swig_pydir=%{py_sitedir}/libsvn \
406 swig_pydir_extra=%{py_sitedir}/svn
410 %{__make} swig-pl-lib
412 cd subversion/bindings/swig/perl/native
413 %{__perl} Makefile.PL INSTALLDIRS=vendor
418 %{__make} -j1 javahl \
419 javahl_javadir="%{_javadir}"
430 %{__make} check-swig-py
433 %{__make} check-swig-pl
436 %{__make} check-swig-rb
441 rm -rf $RPM_BUILD_ROOT
442 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \
443 $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \
444 $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \
445 $RPM_BUILD_ROOT/home/services/subversion{,/repos}
447 %{__make} install -j1 \
450 javahl_javadir="%{_javadir}" \
452 %if !%{with net_client_only}
457 install-swig-rb install-swig-rb-doc \
460 APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
461 DESTDIR=$RPM_BUILD_ROOT \
462 swig_pydir=%{py_sitedir}/libsvn \
463 swig_pydir_extra=%{py_sitedir}/svn
465 %if !%{with net_client_only} && %{with perl}
466 %{__make} install-swig-pl-lib \
467 DESTDIR=$RPM_BUILD_ROOT
468 %{__make} -C subversion/bindings/swig/perl/native install \
469 DESTDIR=$RPM_BUILD_ROOT \
470 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
471 LIBDIR=$RPM_BUILD_ROOT%{_libdir}
475 install %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf
476 install %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf
477 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve
478 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve
481 %if !%{with net_client_only}
482 install tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup
484 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
485 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
486 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
487 install tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
491 install tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
492 install tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
496 rm -f $RPM_BUILD_ROOT%{_libdir}/libsvn{javahl,_swig}*.{la,a}
497 rm -f $RPM_BUILD_ROOT%{_libdir}/ruby/site_ruby/svn/ext/*.la
500 rm -rf $RPM_BUILD_ROOT
504 %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn
506 %post libs -p /sbin/ldconfig
507 %postun libs -p /sbin/ldconfig
509 %post devel -p /sbin/postshell
510 -/usr/sbin/fix-info-dir -c %{_infodir}
512 %postun devel -p /sbin/postshell
513 -/usr/sbin/fix-info-dir -c %{_infodir}
515 %post -n perl-subversion -p /sbin/ldconfig
516 %postun -n perl-subversion -p /sbin/ldconfig
518 %post -n python-subversion -p /sbin/ldconfig
519 %postun -n python-subversion -p /sbin/ldconfig
522 /sbin/chkconfig --add svnserve
523 %service svnserve restart "svnserve daemon"
526 if [ "$1" = "0" ]; then
527 %service svnserve stop
528 /sbin/chkconfig --del svnserve
532 if [ "$1" = "0" ]; then
537 %post -n apache-mod_dav_svn
538 %service -q httpd restart
540 %preun -n apache-mod_dav_svn
541 if [ "$1" = "0" ]; then
542 %service -q httpd restart
546 %defattr(644,root,root,755)
547 %doc BUGS CHANGES COPYING INSTALL README
549 %doc tools/hook-scripts/*.{pl,py,example}
550 %doc tools/hook-scripts/mailer/*.{py,example}
552 %attr(755,root,root) %{_bindir}/svn
553 %attr(755,root,root) %{_bindir}/svnadmin
554 %attr(755,root,root) %{_bindir}/svndumpfilter
555 %attr(755,root,root) %{_bindir}/svnlook
556 %attr(755,root,root) %{_bindir}/svnsync
557 %attr(755,root,root) %{_bindir}/svnversion
558 %{_mandir}/man1/svn.1*
559 %{_mandir}/man1/svnadmin.1*
560 %{_mandir}/man1/svndumpfilter.1*
561 %{_mandir}/man1/svnlook.1*
562 %{_mandir}/man1/svnsync.1*
563 %{_mandir}/man1/svnversion.1*
565 %files libs -f %{name}.lang
566 %defattr(644,root,root,755)
567 %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.*
568 %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0
569 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.*
570 %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0
571 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.*
572 %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0
573 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.*
574 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0
575 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.*
576 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0
577 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.*
578 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0
579 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.*
580 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0
581 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.*
582 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0
583 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.*
584 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0
585 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so.*.*.*
586 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_%{webdavlib}-1.so.0
587 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.*
588 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0
589 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.*
590 %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0
591 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.*
592 %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0
593 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.*
594 %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0
597 %defattr(644,root,root,755)
598 %attr(755,root,root) %{_libdir}/libsvn_client-1.so
599 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so
600 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so
601 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so
602 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so
603 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so
604 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so
605 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so
606 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so
607 %attr(755,root,root) %{_libdir}/libsvn_ra_%{webdavlib}-1.so
608 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so
609 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so
610 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so
611 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so
612 %{_libdir}/libsvn_client-1.la
613 %{_libdir}/libsvn_delta-1.la
614 %{_libdir}/libsvn_diff-1.la
615 %{_libdir}/libsvn_fs-1.la
616 %{_libdir}/libsvn_fs_base-1.la
617 %{_libdir}/libsvn_fs_fs-1.la
618 %{_libdir}/libsvn_fs_util-1.la
619 %{_libdir}/libsvn_ra-1.la
620 %{_libdir}/libsvn_ra_local-1.la
621 %{_libdir}/libsvn_ra_%{webdavlib}-1.la
622 %{_libdir}/libsvn_ra_svn-1.la
623 %{_libdir}/libsvn_repos-1.la
624 %{_libdir}/libsvn_subr-1.la
625 %{_libdir}/libsvn_wc-1.la
626 %{_includedir}/%{name}-1
627 %{_examplesdir}/%{name}-%{version}
630 %defattr(644,root,root,755)
631 %{_libdir}/libsvn_client-1.a
632 %{_libdir}/libsvn_delta-1.a
633 %{_libdir}/libsvn_diff-1.a
634 %{_libdir}/libsvn_fs-1.a
635 %{_libdir}/libsvn_fs_base-1.a
636 %{_libdir}/libsvn_fs_fs-1.a
637 %{_libdir}/libsvn_fs_util-1.a
638 %{_libdir}/libsvn_ra-1.a
639 %{_libdir}/libsvn_ra_local-1.a
640 %{_libdir}/libsvn_ra_%{webdavlib}-1.a
641 %{_libdir}/libsvn_ra_svn-1.a
642 %{_libdir}/libsvn_repos-1.a
643 %{_libdir}/libsvn_subr-1.a
644 %{_libdir}/libsvn_wc-1.a
646 %if !%{with net_client_only}
648 %defattr(644,root,root,755)
649 %attr(755,root,root) %{_bindir}/svnserve
650 %{_mandir}/man5/svnserve.conf.5*
651 %{_mandir}/man8/svnserve.8*
652 %dir %attr(750,svn,svn) /home/services/subversion
653 %dir %attr(750,svn,svn) /home/services/subversion/repos
655 %attr(754,root,root) /etc/rc.d/init.d/svnserve
656 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve
660 %defattr(644,root,root,755)
661 %attr(755,root,root) %{_bindir}/svn-hot-backup
663 %files -n bash-completion-subversion
664 %defattr(644,root,root,755)
665 /etc/bash_completion.d/%{name}
668 %files -n java-subversion
669 %defattr(644,root,root,755)
670 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.*
671 %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0
672 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so
673 %{_javadir}/svn-javahl.jar
677 %files -n python-subversion
678 %defattr(644,root,root,755)
679 %doc tools/backup/*.py tools/examples/*.py
680 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.*
681 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0
682 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so
683 %dir %{py_sitedir}/libsvn
684 %{py_sitedir}/libsvn/*.py[co]
685 %dir %{py_sitedir}/svn
686 %{py_sitedir}/svn/*.py[co]
687 %attr(755,root,root) %{py_sitedir}/libsvn/*.so
688 %{_examplesdir}/python-%{name}-%{version}
692 %files -n perl-subversion
693 %defattr(644,root,root,755)
694 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.*
695 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0
696 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so
697 %{perl_vendorarch}/SVN
698 %dir %{perl_vendorarch}/auto/SVN
699 %dir %{perl_vendorarch}/auto/SVN/*
700 %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so
701 %{perl_vendorarch}/auto/SVN/*/*.bs
702 %{_mandir}/man3/*.3pm*
706 %files -n ruby-subversion
707 %defattr(644,root,root,755)
708 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.*
709 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0
710 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so
711 %dir %{_libdir}/ruby/site_ruby/svn
712 %{_libdir}/ruby/site_ruby/svn/*.rb
713 %dir %{_libdir}/ruby/site_ruby/svn/ext
714 %attr(755,root,root) %{_libdir}/ruby/site_ruby/svn/ext/*.so
715 %{_datadir}/ri/*.*/system/OptionParser
716 %{_datadir}/ri/*.*/system/Svn
717 %{_datadir}/ri/*.*/system/Time
718 %{_datadir}/ri/*.*/system/Uconv
719 %{_datadir}/ri/*.*/system/*.rid
720 %{_datadir}/ri/*.*/system/Kernel/*
724 %files -n apache-mod_dav_svn
725 %defattr(644,root,root,755)
726 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf
727 %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so
729 %files -n apache-mod_authz_svn
730 %defattr(644,root,root,755)
731 %doc subversion/mod_authz_svn/INSTALL
732 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf
733 %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so
736 %endif # net_client_only