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_with serf # 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
25 Summary: A Concurrent Versioning system similar to but better than CVS
26 Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS
27 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
31 License: Apache/BSD-like
32 Group: Development/Version Control
33 Source0: http://subversion.tigris.org/downloads/%{name}-%{version}.tar.bz2
34 # Source0-md5: 8dbdaa625d6b18887702885df07fc87e
35 Source1: %{name}-dav_svn.conf
36 Source2: %{name}-authz_svn.conf
37 Source3: %{name}-svnserve.init
38 Source4: %{name}-svnserve.sysconfig
39 Source5: %{name}-convert-typemaps-to-ifdef.py
40 Patch0: %{name}-home_etc.patch
41 Patch1: %{name}-DESTDIR.patch
42 Patch2: %{name}-ruby-datadir-path.patch
43 URL: http://subversion.tigris.org/
44 %if %{with net_client_only}
45 %global apache_modules_api 0
47 %{?with_apache:BuildRequires: apache-devel >= 2.2.0-8}
48 BuildRequires: automake
49 BuildRequires: db-devel >= 4.1.25
50 BuildRequires: rpmbuild(macros) >= 1.268
52 BuildRequires: perl-devel >= 1:5.8.0
53 BuildRequires: rpm-perlprov >= 4.1-13
54 BuildRequires: swig-perl >= 1.3.24
56 %{?with_javahl:BuildRequires: jdk}
58 BuildRequires: apr-devel >= 1:1.0.0
59 BuildRequires: apr-util-devel >= 1:1.2.8-3
60 BuildRequires: autoconf >= 2.59
62 BuildRequires: cyrus-sasl-devel
63 BuildRequires: expat-devel
64 BuildRequires: gettext-devel
65 BuildRequires: libtool >= 1.4-9
67 BuildRequires: serf-devel
69 BuildRequires: neon-devel >= 0.26.0
71 BuildRequires: python >= 2.2
72 BuildRequires: python-modules >= 2.2
74 BuildRequires: python-devel >= 2.2
75 BuildRequires: sed >= 4.0
76 BuildRequires: swig-python >= 1.3.24
78 %{?with_ruby:BuildRequires: ruby-devel}
79 %{?with_ruby:BuildRequires: swig-ruby >= 1.3.24}
80 BuildRequires: texinfo
82 Requires: %{name}-libs = %{version}-%{release}
83 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
85 %define _libexecdir %{_libdir}/svn
86 %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d
87 %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null)
90 The goal of the Subversion project is to build a version control
91 system that is a compelling replacement for CVS in the open source
95 - All current CVS features.
96 - Directories, renames, and file meta-data are versioned.
97 - Symbolic links, etc, are supported
98 - Commits are truly atomic.
99 - Branching and tagging are cheap (constant time) operations
100 - Repeated merges are handled gracefully
101 - Support for plug-in client side diff programs
102 - Natively client/server
103 - Client/server protocol sends diffs in both directions
104 - Costs are proportional to change size, not project size
105 - Internationalization
106 - Progressive multi-lingual support
108 %description -l pl.UTF-8
109 Celem projektu Subversion jest stworzenie systemu kontroli wersji jako
113 - Wszystkie aktualne możliwości CVS.
114 - Katalogi, zmiany nazw oraz metadane plików są wersjonowane.
115 - Obsługa dowiązań symbolicznych itp.
116 - Commity są w pełni atomowe.
117 - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami.
118 - Dobra obsługa powtarzanego łączenia (merge).
119 - Obsługa wtyczek diff po stronie klienta.
120 - Natywny klient/serwer.
121 - Klient/Serwer przesyłają diffy w obu kierunkach.
122 - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu.
123 - Internacjonalizacja.
124 - Postępujące wsparcie dla wielu języków.
126 %description -l pt_BR.UTF-8
127 O objetivo do projeto Subversion é construir um sistema de controle de
128 versões que seja um substituto para o CVS (Concurrent Versioning
129 System) na comunidade opensource, fornecendo grandes melhorias.
132 Summary: Subversion libraries and modules
133 Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły
135 %{!?with_serf:Requires: neon >= 0.26.0}
136 Obsoletes: libsubversion0
139 Subversion libraries and modules.
141 %description libs -l pl.UTF-8
142 Biblioteka subversion oraz ładowalne moduły.
145 Summary: Header files and develpment documentation for subversion
146 Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion
147 Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion
148 Group: Development/Libraries
149 Requires: %{name}-libs = %{version}-%{release}
150 Requires: apr-util-devel >= 1:1.0.0
151 %{!?with_serf:Requires: neon-devel >= 0.26.0}
152 Obsoletes: libsubversion0-devel
155 Header files and develpment documentation for subversion.
157 %description devel -l pl.UTF-8
158 Pliki nagłówkowe i dokumetacja do subversion.
160 %description devel -l pt_BR.UTF-8
161 Este pacote provê os arquivos necessários para desenvolvedores
162 interagirem com o Subversion.
165 Summary: Static subversion library
166 Summary(pl.UTF-8): Biblioteka statyczna subversion
167 Summary(pt_BR.UTF-8): Sistema de versionamento concorrente
168 Group: Development/Libraries
169 Requires: %{name}-devel = %{version}
170 Obsoletes: libsubversion0-static-devel
173 Static subversion library.
175 %description static -l pl.UTF-8
176 Biblioteka statyczna subversion.
178 %description static -l pt_BR.UTF-8
179 Este pacote provê um cliente estático do subversion.
182 Summary: Subversion svnserve
183 Summary(pl.UTF-8): Subversion svnserve
184 Group: Networking/Daemons
185 Requires(post,preun): /sbin/chkconfig
186 Requires(postun): /usr/sbin/groupdel
187 Requires(postun): /usr/sbin/userdel
188 Requires(pre): /bin/id
189 Requires(pre): /usr/bin/getgid
190 Requires(pre): /usr/lib/rpm/user_group.sh
191 Requires(pre): /usr/sbin/groupadd
192 Requires(pre): /usr/sbin/useradd
193 Requires(pre): /usr/sbin/usermod
194 Requires: %{name} = %{version}-%{release}
199 %description svnserve
200 Subversion svnserve server.
202 %description svnserve -l pl.UTF-8
203 Serwer subversion svnserve.
206 Summary: Subversion tools and scripts
207 Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion
208 Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion
210 %pyrequires_eq python
211 Requires: %{name} = %{version}-%{release}
212 Requires: python-rcsparse >= 0.1-0.20031026.0
213 Requires: python-subversion = %{version}
216 Subversion tools and scripts.
218 %description tools -l pl.UTF-8
219 Narzędzia oraz skrypty dla subversion.
221 %package -n bash-completion-subversion
222 Summary: bash completion for subversion
223 Summary(pl.UTF-8): Dopełnienia basha dla subversion
224 Group: Applications/Shells
225 Requires: %{name} = %{version}-%{release}
226 Requires: bash-completion
227 Conflicts: %{name}-tools <= 1.1.0-0.rc6.1
229 %description -n bash-completion-subversion
230 Bash completion for subversion.
232 %description -n bash-completion-subversion -l pl.UTF-8
233 Dopełnienia basha dla subversion.
235 %package -n java-subversion
236 Summary: Subversion Java bindings
237 Summary(pl.UTF-8): Dowiązania do Subversion dla Javy
238 Group: Development/Languages/Java
239 Requires: %{name}-libs = %{version}-%{release}
241 %description -n java-subversion
242 This is a set of Java classes which provide the functionality of
243 subversion-libs, the Subversion libraries. It is useful if you want
244 to, for example, write a Java class that manipulates a Subversion
245 repository or working copy. See the 'subversion' package for more
248 %description -n java-subversion -l pl.UTF-8
249 Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność
250 subversion-libs, czyli bibliotek Subversion. Jest przydatny przy
251 pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię
252 roboczą. Więcej informacji w pakiecie subversion.
254 %package -n python-subversion
255 Summary: Subversion Python bindings
256 Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona
257 Summary(pt_BR.UTF-8): Módulos Python para acessar os recursos do Subversion
258 Group: Development/Languages/Python
259 %pyrequires_eq python
260 Requires: %{name}-libs = %{version}-%{release}
261 Obsoletes: subversion-python
263 %description -n python-subversion
264 Subversion Python bindings.
266 %description -n python-subversion -l pl.UTF-8
267 Dowiązania do Subversion dla Pythona.
269 %description -n python-subversion -l pt_BR.UTF-8
270 Módulos Python para acessar os recursos do Subversion.
272 %package -n perl-subversion
273 Summary: Subversion Perl bindings
274 Summary(pl.UTF-8): Dowiązania do Subversion dla Perla
275 Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion
276 Group: Development/Languages/Perl
277 Requires: %{name}-libs = %{version}-%{release}
278 Obsoletes: subversion-perl
280 %description -n perl-subversion
281 Subversion Perl bindings.
283 %description -n perl-subversion -l pl.UTF-8
284 Dowiązania do Subversion dla Perla.
286 %description -n perl-subversion -l pt_BR.UTF-8
287 Módulos Perl para acessar os recursos do Subversion.
289 %package -n ruby-subversion
290 Summary: Subversion Ruby bindings
291 Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby
292 Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion
293 Group: Development/Languages
294 Requires: %{name}-libs = %{version}-%{release}
295 Obsoletes: subversion-ruby
297 %description -n ruby-subversion
298 Subversion Ruby bindings.
300 %description -n ruby-subversion -l pl.UTF-8
301 Dowiązania do Subversion dla języka Ruby.
303 %description -n ruby-subversion -l pt_BR.UTF-8
304 Módulos Ruby para acessar os recursos do Subversion.
306 %package -n apache-mod_dav_svn
307 Summary: Apache module: Subversion Server
308 Summary(pl.UTF-8): Moduł apache: Serwer Subversion
309 Group: Networking/Daemons
310 Requires: %{name} = %{version}-%{release}
311 Requires: apache(modules-api) = %apache_modules_api
312 Requires: apache-mod_dav
314 %description -n apache-mod_dav_svn
315 Apache module: Subversion Server.
317 %description -n apache-mod_dav_svn -l pl.UTF-8
318 Moduł apache: Serwer Subversion.
320 %package -n apache-mod_authz_svn
321 Summary: Apache module: Subversion Server - path-based authorization
322 Summary(pl.UTF-8): Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion
323 Group: Networking/Daemons
324 Requires: apache(modules-api) = %apache_modules_api
325 Requires: apache-mod_dav_svn = %{version}-%{release}
327 %description -n apache-mod_authz_svn
328 Apache module: Subversion Server - path-based authorization.
330 %description -n apache-mod_authz_svn -l pl.UTF-8
331 Moduł apache: autoryzacja na podstawie ścieżki dla serwera Subversion.
335 rm -rf apr apr-util neon
341 rm subversion/bindings/swig/proxy/*.swg
342 cd subversion/bindings/swig && python "%{SOURCE5}" && cd ../../..
343 cp -f /usr/share/automake/config.sub ac-helpers
344 chmod +x ./autogen.sh && ./autogen.sh
348 --with-zlib=%{_libdir} \
349 %if %{with net_client_only}
353 --without-berkeley-db \
355 --disable-runtime-module-search \
356 --disable-mod-activation \
358 --with-apxs=%{_sbindir}/apxs \
362 --with-berkeley-db=%{_includedir}/db4:%{_libdir} \
364 %if !%{with python} && !%{with perl} && !%{with ruby}
367 --%{?with_javahl:en}%{!?with_javahl:dis}able-javahl \
369 --with-jdk="%{java_home}" \
371 --with-serf=%{_prefix} \
375 --with-neon=%{_prefix} \
376 --disable-neon-version-check \
378 --with-apr=%{_bindir}/apr-1-config \
379 --with-apr-util=%{_bindir}/apu-1-config
383 %if !%{with net_client_only}
387 swig_pydir=%{py_sitedir}/libsvn \
388 swig_pydir_extra=%{py_sitedir}/svn
392 %{__make} swig-pl-lib
394 cd subversion/bindings/swig/perl/native
395 %{__perl} Makefile.PL INSTALLDIRS=vendor
400 %{__make} -j1 javahl \
401 javahl_javadir="%{_javadir}"
412 %{__make} check-swig-py
415 %{__make} check-swig-pl
418 %{__make} check-swig-rb
423 rm -rf $RPM_BUILD_ROOT
424 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \
425 $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \
426 $RPM_BUILD_ROOT%{_examplesdir}/{%{name}-%{version},python-%{name}-%{version}} \
427 $RPM_BUILD_ROOT/home/services/subversion{,/repos}
429 %{__make} install -j1 \
432 javahl_javadir="%{_javadir}" \
434 %if !%{with net_client_only}
439 install-swig-rb install-swig-rb-doc \
442 APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \
443 DESTDIR=$RPM_BUILD_ROOT \
444 swig_pydir=%{py_sitedir}/libsvn \
445 swig_pydir_extra=%{py_sitedir}/svn
447 %if !%{with net_client_only} && %{with perl}
448 %{__make} install-swig-pl-lib \
449 DESTDIR=$RPM_BUILD_ROOT
450 %{__make} -C subversion/bindings/swig/perl/native install \
451 DESTDIR=$RPM_BUILD_ROOT \
452 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
453 LIBDIR=$RPM_BUILD_ROOT%{_libdir}
457 install %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf
458 install %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf
459 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve
460 install %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve
463 %if !%{with net_client_only}
464 install tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup
466 %py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
467 %py_comp $RPM_BUILD_ROOT%{py_sitedir}
468 find $RPM_BUILD_ROOT%{py_sitedir} -name "*.py" -o -name "*.a" -o -name "*.la" | xargs rm -f
469 install tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}
473 install tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name}
474 install tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
478 rm -f $RPM_BUILD_ROOT%{_libdir}/libsvn{javahl,_swig}*.{la,a}
479 rm -f $RPM_BUILD_ROOT%{_libdir}/ruby/site_ruby/svn/ext/*.la
482 rm -rf $RPM_BUILD_ROOT
486 %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn
488 %post libs -p /sbin/ldconfig
489 %postun libs -p /sbin/ldconfig
491 %post devel -p /sbin/postshell
492 -/usr/sbin/fix-info-dir -c %{_infodir}
494 %postun devel -p /sbin/postshell
495 -/usr/sbin/fix-info-dir -c %{_infodir}
497 %post -n perl-subversion -p /sbin/ldconfig
498 %postun -n perl-subversion -p /sbin/ldconfig
500 %post -n python-subversion -p /sbin/ldconfig
501 %postun -n python-subversion -p /sbin/ldconfig
504 /sbin/chkconfig --add svnserve
505 %service svnserve restart "svnserve daemon"
508 if [ "$1" = "0" ]; then
509 %service svnserve stop
510 /sbin/chkconfig --del svnserve
514 if [ "$1" = "0" ]; then
519 %post -n apache-mod_dav_svn
520 %service -q httpd restart
522 %preun -n apache-mod_dav_svn
523 if [ "$1" = "0" ]; then
524 %service -q httpd restart
528 %defattr(644,root,root,755)
529 %doc BUGS CHANGES COPYING INSTALL README
531 %doc tools/hook-scripts/*.{pl,py,example}
532 %doc tools/hook-scripts/mailer/*.{py,example}
534 %attr(755,root,root) %{_bindir}/svn
535 %attr(755,root,root) %{_bindir}/svnadmin
536 %attr(755,root,root) %{_bindir}/svndumpfilter
537 %attr(755,root,root) %{_bindir}/svnlook
538 %attr(755,root,root) %{_bindir}/svnsync
539 %attr(755,root,root) %{_bindir}/svnversion
540 %{_mandir}/man1/svn.1*
541 %{_mandir}/man1/svnadmin.1*
542 %{_mandir}/man1/svndumpfilter.1*
543 %{_mandir}/man1/svnlook.1*
544 %{_mandir}/man1/svnsync.1*
545 %{_mandir}/man1/svnversion.1*
547 %files libs -f %{name}.lang
548 %defattr(644,root,root,755)
549 %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.*
550 %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0
551 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.*
552 %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0
553 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.*
554 %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0
555 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.*
556 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0
557 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.*
558 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0
559 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.*
560 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0
561 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.*
562 %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0
563 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.*
564 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0
565 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.*
566 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0
567 %attr(755,root,root) %{_libdir}/libsvn_ra_neon-1.so.*.*.*
568 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_neon-1.so.0
569 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.*
570 %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0
571 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.*
572 %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0
573 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.*
574 %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0
575 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.*
576 %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0
579 %defattr(644,root,root,755)
580 %attr(755,root,root) %{_libdir}/libsvn_client-1.so
581 %attr(755,root,root) %{_libdir}/libsvn_delta-1.so
582 %attr(755,root,root) %{_libdir}/libsvn_diff-1.so
583 %attr(755,root,root) %{_libdir}/libsvn_fs-1.so
584 %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so
585 %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so
586 %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so
587 %attr(755,root,root) %{_libdir}/libsvn_ra-1.so
588 %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so
589 %attr(755,root,root) %{_libdir}/libsvn_ra_neon-1.so
590 %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so
591 %attr(755,root,root) %{_libdir}/libsvn_repos-1.so
592 %attr(755,root,root) %{_libdir}/libsvn_subr-1.so
593 %attr(755,root,root) %{_libdir}/libsvn_wc-1.so
594 %{_libdir}/libsvn_client-1.la
595 %{_libdir}/libsvn_delta-1.la
596 %{_libdir}/libsvn_diff-1.la
597 %{_libdir}/libsvn_fs-1.la
598 %{_libdir}/libsvn_fs_base-1.la
599 %{_libdir}/libsvn_fs_fs-1.la
600 %{_libdir}/libsvn_fs_util-1.la
601 %{_libdir}/libsvn_ra-1.la
602 %{_libdir}/libsvn_ra_local-1.la
603 %{_libdir}/libsvn_ra_neon-1.la
604 %{_libdir}/libsvn_ra_svn-1.la
605 %{_libdir}/libsvn_repos-1.la
606 %{_libdir}/libsvn_subr-1.la
607 %{_libdir}/libsvn_wc-1.la
608 %{_includedir}/%{name}-1
609 %{_examplesdir}/%{name}-%{version}
612 %defattr(644,root,root,755)
613 %{_libdir}/libsvn_client-1.a
614 %{_libdir}/libsvn_delta-1.a
615 %{_libdir}/libsvn_diff-1.a
616 %{_libdir}/libsvn_fs-1.a
617 %{_libdir}/libsvn_fs_base-1.a
618 %{_libdir}/libsvn_fs_fs-1.a
619 %{_libdir}/libsvn_fs_util-1.a
620 %{_libdir}/libsvn_ra-1.a
621 %{_libdir}/libsvn_ra_local-1.a
622 %{_libdir}/libsvn_ra_neon-1.a
623 %{_libdir}/libsvn_ra_svn-1.a
624 %{_libdir}/libsvn_repos-1.a
625 %{_libdir}/libsvn_subr-1.a
626 %{_libdir}/libsvn_wc-1.a
628 %if !%{with net_client_only}
630 %defattr(644,root,root,755)
631 %attr(755,root,root) %{_bindir}/svnserve
632 %{_mandir}/man5/svnserve.conf.5*
633 %{_mandir}/man8/svnserve.8*
634 %dir %attr(750,svn,svn) /home/services/subversion
635 %dir %attr(750,svn,svn) /home/services/subversion/repos
637 %attr(754,root,root) /etc/rc.d/init.d/svnserve
638 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve
642 %defattr(644,root,root,755)
643 %attr(755,root,root) %{_bindir}/svn-hot-backup
645 %files -n bash-completion-subversion
646 %defattr(644,root,root,755)
647 /etc/bash_completion.d/%{name}
650 %files -n java-subversion
651 %defattr(644,root,root,755)
652 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.*
653 %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0
654 %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so
655 %{_javadir}/svn-javahl.jar
659 %files -n python-subversion
660 %defattr(644,root,root,755)
661 %doc tools/backup/*.py tools/examples/*.py
662 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.*
663 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0
664 %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so
665 %dir %{py_sitedir}/libsvn
666 %{py_sitedir}/libsvn/*.py[co]
667 %dir %{py_sitedir}/svn
668 %{py_sitedir}/svn/*.py[co]
669 %attr(755,root,root) %{py_sitedir}/libsvn/*.so
670 %{_examplesdir}/python-%{name}-%{version}
674 %files -n perl-subversion
675 %defattr(644,root,root,755)
676 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.*
677 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0
678 %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so
679 %{perl_vendorarch}/SVN
680 %dir %{perl_vendorarch}/auto/SVN
681 %dir %{perl_vendorarch}/auto/SVN/*
682 %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so
683 %{perl_vendorarch}/auto/SVN/*/*.bs
684 %{_mandir}/man3/*.3pm*
688 %files -n ruby-subversion
689 %defattr(644,root,root,755)
690 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.*
691 %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0
692 %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so
693 %dir %{_libdir}/ruby/site_ruby/svn
694 %{_libdir}/ruby/site_ruby/svn/*.rb
695 %dir %{_libdir}/ruby/site_ruby/svn/ext
696 %attr(755,root,root) %{_libdir}/ruby/site_ruby/svn/ext/*.so
697 %{_datadir}/ri/*.*/system/OptionParser
698 %{_datadir}/ri/*.*/system/Svn
699 %{_datadir}/ri/*.*/system/Time
700 %{_datadir}/ri/*.*/system/Uconv
701 %{_datadir}/ri/*.*/system/*.rid
702 %{_datadir}/ri/*.*/system/Kernel/*
706 %files -n apache-mod_dav_svn
707 %defattr(644,root,root,755)
708 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf
709 %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so
711 %files -n apache-mod_authz_svn
712 %defattr(644,root,root,755)
713 %doc subversion/mod_authz_svn/INSTALL
714 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf
715 %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so
718 %endif # net_client_only