1 Summary: A Concurrent Versioning system similar to but better than CVS.
2 Summary(pl): System Concurrent Versioning System ale lepszy ni¿ CVS
6 License: Apache/BSD Style
7 Group: Development/Version Control
8 Source0: http://subversion.tigris.org/%{name}-r%{version}.tar.gz
9 Source1: %{name}-dav_svn.conf
10 Patch0: %{name}-lib.patch
11 Patch1: %{name}-apache2.patch
12 URL: http://subversion.tigris.org/
13 BuildRequires: db4-devel >= 4.0.14
14 BuildRequires: apache-devel >= 2.0.35
15 BuildRequires: neon-devel >= 0.19.2
16 BuildRequires: expat-devel
17 BuildRequires: python >= 2.0
19 BuildRequires: texinfo
20 BuildRequires: autoconf >= 2.53
21 BuildRequires: libtool >= 1.4
22 Requires(post): /usr/sbin/fix-info-dir
23 Requires(post): /sbin/ldconfig
24 Requires(postun): /sbin/ldconfig
25 Requires(postun): /usr/sbin/fix-info-dir
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 %define _libexecdir /usr/lib/apache
31 The goal of the Subversion project is to build a version control
32 system that is a compelling replacement for CVS in the open source
36 - All current CVS features.
37 - Directories, renames, and file meta-data are versioned.
38 - Symbolic links, etc, are supported
39 - Commits are truly atomic.
40 - Branching and tagging are cheap (constant time) operations
41 - Repeated merges are handled gracefully
42 - Support for plug-in client side diff programs
43 - Natively client/server
44 - Client/server protocol sends diffs in both directions
45 - Costs are proportional to change size, not project size
46 - Internationalization
47 - Progressive multi-lingual support
50 Celem projektu Subversion jest stworzenie systemu kontroli wersji jako
54 - Wszystkie aktualne mo¿liwo¶ci CVS.
55 - Katalogi, zmiany nazw oraz meta-dane plików s± wersjonowane.
56 - Wsparcie dla linków symbolicznych itp.
57 - Commity s± w pe³ni atomowe.
58 - Branchowanie oraz tagowanie s± tanimi (sta³ymi w czasie) operacjami.
60 - Wsparcie dla pluginów diff'a po stronie klienta.
61 - Natywny klient/serwer.
62 - Klient/Serwer przesy³aj± diffy w obu kierunkach.
63 - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu.
64 - Internacjonalizacja.
65 - Postêpuj±ce wsparcie dla wielu jêzyków.
68 Summary: Header files and develpment documentation for subversion
69 Summary(pl): Pliki nag³ówkowe i dokumetacja do subversion
70 Group: Development/Libraries
71 Requires: %{name} = %{version}
74 Header files and develpment documentation for subversion.
76 %description devel -l pl
77 Pliki nag³ówkowe i dokumetacja do subversion.
80 Summary: Static subversion library
81 Summary(pl): Biblioteka statyczna subversion
82 Group: Development/Libraries
83 Requires: %{name}-devel = %{version}
86 Static subversion library.
88 %description static -l pl
89 Biblioteka statyczna subversion.
91 %package -n apache-mod_dav_svn
92 Summary: Apache module: Subversion Server
93 Summary(pl): Modu³ apache: Serwer Subversion
94 Group: Networking/Daemons
95 Requires: apache(EAPI) >= 2.0.35
96 Requires: apache-mod_dav >= 2.0.35
97 Requires(post): %{_sbindir}/apxs
98 Requires(preun):%{_sbindir}/apxs
100 %description -n apache-mod_dav_svn
101 Apache module: Subversion Server.
103 %description -n apache-mod_dav_svn
104 Modu³ apache: Serwer Subversion.
107 %setup -q -n %{name}-r%{version}
113 # EXPAT is external so get rid of all except (patched) xmlparse.h
114 rm -rf expat-lite/[a-w]*.[ch] expat-lite/xmldef.h expat-lite/xmlparse.c
115 rm -rf expat-lite/xmlrole* expat-lite/xmltok* neon apr
119 --with-apr=%{_sbindir}/apr-config \
120 --with-apxs=%{_sbindir}/apxs \
121 --with-berkeley-db=%{_includedir}/db4:%{_libdir}
125 rm -rf $RPM_BUILD_ROOT
126 install -d $RPM_BUILD_ROOT{%{_sysconfdir}/httpd,%{_libexecdir}}
130 [ "$i" = "2" ] && find . -name "*.la" -exec rm -f "{}" ";"
132 INSTALL_MOD_SHARED=echo \
133 DESTDIR=$RPM_BUILD_ROOT \
134 libdir=$RPM_BUILD_ROOT%{_libdir} \
135 fs_libdir=$RPM_BUILD_ROOT%{_libdir} \
136 base_libdir=$RPM_BUILD_ROOT%{_libdir} \
137 bindir=$RPM_BUILD_ROOT%{_bindir} \
138 fs_bindir=$RPM_BUILD_ROOT%{_bindir} \
139 includedir=$RPM_BUILD_ROOT%{_includedir}/svn
142 install subversion/mod_dav_svn/.libs/*.so $RPM_BUILD_ROOT%{_libexecdir}
143 install %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/mod_dav_svn.conf
145 gzip -9nf BUGS CHANGES IDEAS INSTALL README
149 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
153 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
155 %post -n apache-mod_dav_svn
156 %{_sbindir}/apxs -e -a -n dav_svn %{_libexecdir}/libmod_dav_svn.so 1>&2
157 if [ -f /etc/httpd/httpd.conf ] && ! grep -q "^Include.*mod_dav_svn.conf" /etc/httpd/httpd.conf; then
158 echo "Include /etc/httpd/mod_dav_svn.conf" >> /etc/httpd/httpd.conf
160 if [ -f /var/lock/subsys/httpd ]; then
161 /etc/rc.d/init.d/httpd restart 1>&2
163 echo "Run \"/etc/rc.d/init.d/httpd start\" to start apache http daemon."
166 %preun -n apache-mod_dav_svn
167 if [ "$1" = "0" ]; then
168 %{_sbindir}/apxs -e -A -n dav_svn %{_libexecdir}/libmod_dav_svn.so 1>&2
169 grep -v "^Include.*mod_dav_svn.conf" /etc/httpd/httpd.conf > \
170 /etc/httpd/httpd.conf.tmp
171 mv -f /etc/httpd/httpd.conf.tmp /etc/httpd/httpd.conf
172 if [ -f /var/lock/subsys/httpd ]; then
173 /etc/rc.d/init.d/httpd restart 1>&2
178 rm -rf $RPM_BUILD_ROOT
181 %defattr(644,root,root,755)
183 %attr(755,root,root) %{_bindir}/*
184 %attr(755,root,root) %{_libdir}/lib*.so.*
189 %defattr(644,root,root,755)
191 %attr(755,root,root) %{_libdir}/lib*.so
192 %attr(755,root,root) %{_libdir}/lib*.la
195 %defattr(644,root,root,755)
198 %files -n apache-mod_dav_svn
199 %defattr(644,root,root,755)
200 %attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/httpd/mod_dav_svn.conf
201 %attr(755,root,root) %{_libexecdir}/*.so