]>
Commit | Line | Data |
---|---|---|
8d40da51 | 1 | # |
bab73684 | 2 | # Conditional build: |
ebe67b1a JB |
3 | %bcond_with net_client_only # only net client (disables: apache db swig java csvn gnome kde) |
4 | %bcond_without swig # swig-based bindings (perl python ruby) | |
5 | %bcond_without python # Python bindings (any) | |
6 | %bcond_without python2 # CPython 2.x bindings | |
7 | %bcond_without python3 # CPython 3.x bindings | |
8 | %bcond_without csvn # Python csvn bindings | |
9 | %bcond_without swigpy # Python swig bindings | |
10 | %bcond_without perl # Perl bindings | |
11 | %bcond_with ruby # Ruby bindings | |
12 | %bcond_without apache # Apache support (webdav, etc) | |
13 | %bcond_without java # javahl support (Java high-level bindings) | |
14 | %bcond_with tests # "make check" tests | |
15 | %bcond_without kwallet # KDE5 wallet support | |
16 | %bcond_without kde # KDE5 support (alias for kwallet) | |
17 | %bcond_without gnome # GNOME keyring support | |
18 | %bcond_without db # Subversion Berkeley DB based filesystem library | |
28b85877 | 19 | %bcond_with db6 # allow BDB6 (not tested by upstream, released on AGPL) |
c077d6a5 | 20 | %bcond_without static_libs # static libraries |
12c96b58 | 21 | |
298f7114 ER |
22 | %if %{with net_client_only} |
23 | %undefine with_apache | |
24 | %undefine with_db | |
25 | %undefine with_swig | |
15e0d824 | 26 | %undefine with_java |
eeba69cd ER |
27 | %undefine with_csvn |
28 | %undefine with_gnome | |
29 | %undefine with_kde | |
298f7114 | 30 | %endif |
298f7114 ER |
31 | %if %{without swig} |
32 | %undefine with_perl | |
298f7114 | 33 | %undefine with_ruby |
ebe67b1a | 34 | %undefine with_swigpy |
298f7114 | 35 | %endif |
d9d66e02 | 36 | %if %{without kde} |
3c200272 JB |
37 | %undefine with_kwallet |
38 | %endif | |
ebe67b1a JB |
39 | %if %{without python} |
40 | %undefine with_python2 | |
41 | %undefine with_python3 | |
42 | %undefine with_csvn | |
43 | %undefine with_swigpy | |
44 | %endif | |
45 | %if %{without swigpy} && %{without perl} && %{without ruby} | |
e2c40ca2 | 46 | %undefine with_swig |
298f7114 ER |
47 | %endif |
48 | ||
49 | %define apxs /usr/sbin/apxs | |
50 | %define pdir SVN | |
51 | %define pnam _Core | |
52 | ||
2d5591a1 | 53 | %{?with_java:%{?use_default_jdk}} |
e8554eb9 | 54 | |
67cb9518 | 55 | Summary: A Concurrent Versioning system similar to but better than CVS |
abe3c421 ER |
56 | Summary(pl.UTF-8): System kontroli wersji podobny, ale lepszy, niż CVS |
57 | Summary(pt_BR.UTF-8): Sistema de versionamento concorrente | |
93b78127 | 58 | Name: subversion |
0dfb67af JP |
59 | Version: 1.14.3 |
60 | Release: 1 | |
8df86594 | 61 | License: Apache v2.0 |
93b78127 | 62 | Group: Development/Version Control |
4e48afb2 | 63 | Source0: https://www.apache.org/dist/subversion/%{name}-%{version}.tar.bz2 |
0dfb67af | 64 | # Source0-md5: 19756a5ceb32a022698a66e48616ef6b |
93b78127 | 65 | Source1: %{name}-dav_svn.conf |
65318afa | 66 | Source2: %{name}-authz_svn.conf |
b56474ff AM |
67 | Source3: %{name}-svnserve.init |
68 | Source4: %{name}-svnserve.sysconfig | |
ed6210a2 | 69 | Patch0: %{name}-home_etc.patch |
d46e45ba | 70 | Patch1: %{name}-DESTDIR.patch |
00664663 | 71 | Patch2: %{name}-ruby-datadir-path.patch |
1cfe7af2 | 72 | Patch3: %{name}-tests.patch |
7923efca | 73 | Patch4: x32-libdir.patch |
1aac8b6c | 74 | Patch5: %{name}-sh.patch |
ebe67b1a JB |
75 | Patch6: %{name}-ctypes.patch |
76 | Patch7: %{name}-perl.patch | |
77 | Patch8: %{name}-swig-py.patch | |
dc8fcc41 | 78 | URL: http://subversion.apache.org/ |
f9c8674f | 79 | %{?with_apache:BuildRequires: apache-devel >= 2.4.14} |
32509ffb | 80 | BuildRequires: apr-devel >= 1:1.4 |
8d40da51 | 81 | BuildRequires: apr-util-devel >= 1:1.3 |
4323aab4 | 82 | BuildRequires: apr-util-crypto-openssl |
b0a7a5b2 | 83 | BuildRequires: autoconf >= 2.59 |
86250f0b | 84 | BuildRequires: automake |
79d8c53c | 85 | BuildRequires: bison |
dfeb8a3c | 86 | BuildRequires: cyrus-sasl-devel |
86250f0b JB |
87 | %if %{with kwallet} || %{with gnome} |
88 | BuildRequires: dbus-devel | |
89 | %endif | |
7937f96a | 90 | %{!?with_db6:BuildRequires: db-devel < 6} |
b98707c2 | 91 | BuildRequires: db-devel >= 4.1.25 |
93b78127 | 92 | BuildRequires: expat-devel |
b4f033d9 | 93 | BuildRequires: gettext-tools |
8d40da51 | 94 | %{?with_gnome:BuildRequires: glib2-devel >= 2.0} |
60036f0a | 95 | %{?with_kde:BuildRequires: kf5-kdelibs4support-devel} |
99500116 | 96 | %{?with_kwallet:BuildRequires: kf5-kwallet-devel} |
5f328a6e | 97 | %{?with_gnome:BuildRequires: libgnome-keyring-devel} |
fdee3c2c | 98 | %{?with_gnome:BuildRequires: libsecret-devel} |
86250f0b | 99 | BuildRequires: libmagic-devel |
a70bbcf5 | 100 | BuildRequires: libtool >= 2:2 |
ca1e2bce | 101 | BuildRequires: libutf8proc-devel >= 1.3.1-4 |
62313a20 | 102 | BuildRequires: lz4-devel |
54271075 | 103 | BuildRequires: pkgconfig |
ebe67b1a | 104 | %if %{with python2} |
1aac8b6c JB |
105 | BuildRequires: python >= 1:2.7 |
106 | %{?with_csvn:BuildRequires: python-ctypesgen >= 1.0.2} | |
0e353228 | 107 | %{?with_swigpy:BuildRequires: python-modules >= 1:2.7} |
ebe67b1a JB |
108 | %endif |
109 | %if %{with python3} | |
110 | BuildRequires: python3 >= 1:3.2 | |
111 | %{?with_csvn:BuildRequires: python3-ctypesgen >= 1.0.2} | |
0e353228 | 112 | %{?with_swigpy:BuildRequires: python3-modules >= 1:3.2} |
ebe67b1a | 113 | %endif |
1aac8b6c | 114 | BuildRequires: rpm-build >= 4.6 |
c01720ea | 115 | BuildRequires: rpm-pythonprov |
2d5591a1 | 116 | BuildRequires: rpmbuild(macros) >= 2.021 |
a562165a | 117 | BuildRequires: sed >= 4.0 |
8d40da51 | 118 | BuildRequires: serf-devel >= 1.3.4 |
62313a20 | 119 | BuildRequires: sqlite3-devel >= 3.8.11.1 |
a562165a JB |
120 | BuildRequires: texinfo |
121 | BuildRequires: which | |
62313a20 | 122 | BuildRequires: zlib-devel >= 1.2 |
15e0d824 | 123 | %if %{with java} |
2d5591a1 | 124 | %buildrequires_jdk |
a70bbcf5 | 125 | BuildRequires: libstdc++-devel >= 6:4.7 |
86250f0b JB |
126 | %endif |
127 | %if %{with perl} | |
128 | BuildRequires: perl-devel >= 1:5.8.0 | |
129 | BuildRequires: rpm-perlprov >= 4.1-13 | |
130 | BuildRequires: swig-perl >= 1.3.24 | |
131 | %endif | |
ebe67b1a | 132 | %if %{with python2} || %{with python3} |
69c6af4b | 133 | BuildRequires: py3c |
ebe67b1a JB |
134 | %endif |
135 | %if %{with python2} | |
136 | BuildRequires: python-devel >= 1:2.7 | |
b1c8f82b AM |
137 | BuildRequires: swig3-python >= 3.0.12 |
138 | BuildRequires: swig3-python < 4.0.0 | |
86250f0b | 139 | %endif |
ebe67b1a JB |
140 | %if %{with python3} |
141 | BuildRequires: python3-devel >= 1:3.2 | |
142 | BuildRequires: swig-python >= 4.0.0 | |
143 | %endif | |
86250f0b | 144 | %if %{with ruby} |
1d7939c9 | 145 | BuildRequires: rpm-rubyprov |
38c0314f | 146 | BuildRequires: ruby-devel >= 1:1.8.2 |
8942083b | 147 | BuildRequires: ruby-irb |
86250f0b | 148 | BuildRequires: ruby-rubygems |
1aac8b6c | 149 | BuildRequires: swig-ruby >= 3.0.9 |
e3ad24ea | 150 | %endif |
027f8ebe | 151 | Requires: %{name}-libs = %{version}-%{release} |
93b78127 AM |
152 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
153 | ||
f4070f5f | 154 | %define _libexecdir %{_libdir}/svn |
1af5e34d ER |
155 | %define apacheconfdir %(%{apxs} -q SYSCONFDIR 2>/dev/null)/conf.d |
156 | %define apachelibdir %(%{apxs} -q LIBEXECDIR 2>/dev/null) | |
93b78127 | 157 | |
ebe67b1a | 158 | %define skip_post_check_so libsvn_swig_py-1.so.* libsvn_swig_py2-1.so.* libsvn_swig_perl-1.so.* libsvn_fs_x-1.so.* |
58f4b627 | 159 | |
93b78127 AM |
160 | %description |
161 | The goal of the Subversion project is to build a version control | |
162 | system that is a compelling replacement for CVS in the open source | |
163 | community. | |
164 | ||
165 | Our goals are: | |
166 | - All current CVS features. | |
167 | - Directories, renames, and file meta-data are versioned. | |
168 | - Symbolic links, etc, are supported | |
169 | - Commits are truly atomic. | |
170 | - Branching and tagging are cheap (constant time) operations | |
171 | - Repeated merges are handled gracefully | |
172 | - Support for plug-in client side diff programs | |
173 | - Natively client/server | |
174 | - Client/server protocol sends diffs in both directions | |
175 | - Costs are proportional to change size, not project size | |
176 | - Internationalization | |
177 | - Progressive multi-lingual support | |
178 | ||
aa59005f | 179 | %description -l pl.UTF-8 |
93b78127 AM |
180 | Celem projektu Subversion jest stworzenie systemu kontroli wersji jako |
181 | zamiennika dla CVS. | |
182 | ||
183 | Cele projektu to: | |
aa59005f | 184 | - Wszystkie aktualne możliwości CVS. |
24406120 JB |
185 | - Katalogi, zmiany nazw oraz metadane plików są wersjonowane. |
186 | - Obsługa dowiązań symbolicznych itp. | |
aa59005f JR |
187 | - Commity są w pełni atomowe. |
188 | - Branchowanie oraz tagowanie są tanimi (stałymi w czasie) operacjami. | |
24406120 JB |
189 | - Dobra obsługa powtarzanego łączenia (merge). |
190 | - Obsługa wtyczek diff po stronie klienta. | |
93b78127 | 191 | - Natywny klient/serwer. |
aa59005f | 192 | - Klient/Serwer przesyłają diffy w obu kierunkach. |
93b78127 AM |
193 | - Koszty proporcjonalne do rozmiaru zmiany, a nie rozmiaru projektu. |
194 | - Internacjonalizacja. | |
aa59005f | 195 | - Postępujące wsparcie dla wielu języków. |
93b78127 | 196 | |
aa59005f JR |
197 | %description -l pt_BR.UTF-8 |
198 | O objetivo do projeto Subversion é construir um sistema de controle de | |
199 | versões que seja um substituto para o CVS (Concurrent Versioning | |
92066deb | 200 | System) na comunidade opensource, fornecendo grandes melhorias. |
201 | ||
f4e6a380 AM |
202 | %package libs |
203 | Summary: Subversion libraries and modules | |
abe3c421 | 204 | Summary(pl.UTF-8): Biblioteka subversion oraz ładowalne moduły |
f4e6a380 | 205 | Group: Libraries |
32509ffb | 206 | Requires: apr >= 1:1.4 |
8d40da51 JB |
207 | Requires: apr-util >= 1:1.3 |
208 | Requires: serf >= 1.3.4 | |
9aa66564 | 209 | %requires_ge_to sqlite3-libs sqlite3-devel |
62313a20 | 210 | Requires: zlib >= 1.2 |
2f648011 | 211 | Obsoletes: libsubversion0 < 1 |
f4e6a380 AM |
212 | |
213 | %description libs | |
214 | Subversion libraries and modules. | |
215 | ||
aa59005f JR |
216 | %description libs -l pl.UTF-8 |
217 | Biblioteka subversion oraz ładowalne moduły. | |
f4e6a380 | 218 | |
93b78127 AM |
219 | %package devel |
220 | Summary: Header files and develpment documentation for subversion | |
abe3c421 ER |
221 | Summary(pl.UTF-8): Pliki nagłówkowe i dokumetacja do subversion |
222 | Summary(pt_BR.UTF-8): Arquivos de desenvolvimento para o Subversion | |
93b78127 | 223 | Group: Development/Libraries |
9cb7e099 | 224 | Requires: %{name}-libs = %{version}-%{release} |
8d40da51 | 225 | Requires: apr-util-devel >= 1:1.3 |
567d54df | 226 | Requires: libutf8proc-devel >= 1.3.1-4 |
8d40da51 | 227 | Requires: serf-devel >= 1.3.4 |
2f648011 | 228 | Obsoletes: libsubversion0-devel < 1 |
93b78127 AM |
229 | |
230 | %description devel | |
231 | Header files and develpment documentation for subversion. | |
232 | ||
aa59005f JR |
233 | %description devel -l pl.UTF-8 |
234 | Pliki nagłówkowe i dokumetacja do subversion. | |
93b78127 | 235 | |
aa59005f JR |
236 | %description devel -l pt_BR.UTF-8 |
237 | Este pacote provê os arquivos necessários para desenvolvedores | |
92066deb | 238 | interagirem com o Subversion. |
239 | ||
93b78127 AM |
240 | %package static |
241 | Summary: Static subversion library | |
abe3c421 ER |
242 | Summary(pl.UTF-8): Biblioteka statyczna subversion |
243 | Summary(pt_BR.UTF-8): Sistema de versionamento concorrente | |
93b78127 AM |
244 | Group: Development/Libraries |
245 | Requires: %{name}-devel = %{version} | |
2f648011 | 246 | Obsoletes: libsubversion0-static-devel < 1 |
93b78127 AM |
247 | |
248 | %description static | |
249 | Static subversion library. | |
250 | ||
aa59005f | 251 | %description static -l pl.UTF-8 |
93b78127 AM |
252 | Biblioteka statyczna subversion. |
253 | ||
aa59005f JR |
254 | %description static -l pt_BR.UTF-8 |
255 | Este pacote provê um cliente estático do subversion. | |
92066deb | 256 | |
b56474ff AM |
257 | %package svnserve |
258 | Summary: Subversion svnserve | |
abe3c421 | 259 | Summary(pl.UTF-8): Subversion svnserve |
b56474ff | 260 | Group: Networking/Daemons |
3817faf5 | 261 | Requires(post,preun): /sbin/chkconfig |
93f1d402 | 262 | Requires(postun): /usr/sbin/groupdel |
263 | Requires(postun): /usr/sbin/userdel | |
264 | Requires(pre): /bin/id | |
265 | Requires(pre): /usr/bin/getgid | |
266 | Requires(pre): /usr/lib/rpm/user_group.sh | |
267 | Requires(pre): /usr/sbin/groupadd | |
268 | Requires(pre): /usr/sbin/useradd | |
269 | Requires(pre): /usr/sbin/usermod | |
9cb7e099 | 270 | Requires: %{name} = %{version}-%{release} |
7b27380f | 271 | Requires: rc-scripts |
a1bac09d MŁ |
272 | Provides: group(svn) |
273 | Provides: user(svn) | |
b56474ff AM |
274 | |
275 | %description svnserve | |
276 | Subversion svnserve server. | |
277 | ||
aa59005f | 278 | %description svnserve -l pl.UTF-8 |
b56474ff AM |
279 | Serwer subversion svnserve. |
280 | ||
4bbdbbf8 AM |
281 | %package tools |
282 | Summary: Subversion tools and scripts | |
abe3c421 ER |
283 | Summary(pl.UTF-8): Narzędzia oraz skrypty dla subversion |
284 | Summary(pt_BR.UTF-8): Módulos python para acessar os recursos do Subversion | |
ebe67b1a | 285 | Group: Development/Version Control |
7b27380f | 286 | Requires: %{name} = %{version}-%{release} |
4bbdbbf8 AM |
287 | |
288 | %description tools | |
289 | Subversion tools and scripts. | |
290 | ||
aa59005f JR |
291 | %description tools -l pl.UTF-8 |
292 | Narzędzia oraz skrypty dla subversion. | |
4bbdbbf8 | 293 | |
fe5bb6bb | 294 | %package -n bash-completion-subversion |
295 | Summary: bash completion for subversion | |
abe3c421 | 296 | Summary(pl.UTF-8): Dopełnienia basha dla subversion |
fe5bb6bb | 297 | Group: Applications/Shells |
e30588c4 | 298 | Requires: %{name} = %{version}-%{release} |
53855fbf | 299 | Requires: bash-completion |
e30588c4 | 300 | Conflicts: %{name}-tools <= 1.1.0-0.rc6.1 |
90db6d36 | 301 | BuildArch: noarch |
fe5bb6bb | 302 | |
303 | %description -n bash-completion-subversion | |
304 | Bash completion for subversion. | |
305 | ||
aa59005f JR |
306 | %description -n bash-completion-subversion -l pl.UTF-8 |
307 | Dopełnienia basha dla subversion. | |
fe5bb6bb | 308 | |
1cc7453a | 309 | %package -n java-subversion |
65c1d4bd JB |
310 | Summary: Subversion Java bindings |
311 | Summary(pl.UTF-8): Dowiązania do Subversion dla Javy | |
1cc7453a | 312 | Group: Development/Languages/Java |
313 | Requires: %{name}-libs = %{version}-%{release} | |
314 | ||
315 | %description -n java-subversion | |
316 | This is a set of Java classes which provide the functionality of | |
317 | subversion-libs, the Subversion libraries. It is useful if you want | |
318 | to, for example, write a Java class that manipulates a Subversion | |
319 | repository or working copy. See the 'subversion' package for more | |
320 | information. | |
321 | ||
65c1d4bd JB |
322 | %description -n java-subversion -l pl.UTF-8 |
323 | Ten pakiet zawiera zestaw klas Javy udostępniających funkcjonalność | |
324 | subversion-libs, czyli bibliotek Subversion. Jest przydatny przy | |
d46e45ba AM |
325 | pisaniu klas Javy np. modyfikujących repozytorium Subversion lub kopię |
326 | roboczą. Więcej informacji w pakiecie subversion. | |
65c1d4bd | 327 | |
fa3ff1b2 | 328 | %package -n python-subversion |
ebe67b1a JB |
329 | Summary: Subversion Python 2 bindings |
330 | Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona 2 | |
331 | Summary(pt_BR.UTF-8): Módulos Python 2 para acessar os recursos do Subversion | |
f4e6a380 | 332 | Group: Development/Languages/Python |
9cb7e099 | 333 | Requires: %{name}-libs = %{version}-%{release} |
ebe67b1a | 334 | Requires: python-modules >= 1:2.7 |
2f648011 | 335 | Obsoletes: subversion-python < 0.14.1 |
f4e6a380 | 336 | |
fa3ff1b2 | 337 | %description -n python-subversion |
ebe67b1a | 338 | Subversion Python 2 bindings. |
f4e6a380 | 339 | |
aa59005f | 340 | %description -n python-subversion -l pl.UTF-8 |
ebe67b1a | 341 | Dowiązania do Subversion dla Pythona 2. |
f4e6a380 | 342 | |
aa59005f | 343 | %description -n python-subversion -l pt_BR.UTF-8 |
ebe67b1a | 344 | Módulos Python 2 para acessar os recursos do Subversion. |
92066deb | 345 | |
137fcafd | 346 | %package -n python-csvn |
ebe67b1a JB |
347 | Summary: CTypes Subversion Python 2 bindings |
348 | Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona 2 | |
349 | Summary(pt_BR.UTF-8): Módulos Python 2 para acessar os recursos do Subversion | |
137fcafd | 350 | Group: Development/Languages/Python |
137fcafd | 351 | Requires: %{name}-libs = %{version}-%{release} |
ebe67b1a | 352 | Requires: python-modules >= 1:2.7 |
137fcafd AM |
353 | |
354 | %description -n python-csvn | |
ebe67b1a | 355 | Subversion CTypes Python 2 bindings. |
137fcafd AM |
356 | |
357 | %description -n python-csvn -l pl.UTF-8 | |
ebe67b1a | 358 | Dowiązania do Subversion dla Pythona 2 używające CTypes. |
137fcafd AM |
359 | |
360 | %description -n python-csvn -l pt_BR.UTF-8 | |
ebe67b1a JB |
361 | Módulos Python 2 para acessar os recursos do Subversion. |
362 | ||
363 | %package -n python3-subversion | |
364 | Summary: Subversion Python 3 bindings | |
365 | Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona 3 | |
366 | Summary(pt_BR.UTF-8): Módulos Python 3 para acessar os recursos do Subversion | |
367 | Group: Development/Languages/Python | |
368 | Requires: %{name}-libs = %{version}-%{release} | |
369 | Requires: python3-modules >= 1:3.2 | |
370 | Obsoletes: subversion-python < 0.14.1 | |
371 | ||
372 | %description -n python3-subversion | |
373 | Subversion Python 3 bindings. | |
374 | ||
375 | %description -n python3-subversion -l pl.UTF-8 | |
376 | Dowiązania do Subversion dla Pythona 3. | |
377 | ||
378 | %description -n python3-subversion -l pt_BR.UTF-8 | |
379 | Módulos Python 3 para acessar os recursos do Subversion. | |
380 | ||
381 | %package -n python3-csvn | |
382 | Summary: CTypes Subversion Python 3 bindings | |
383 | Summary(pl.UTF-8): Dowiązania do Subversion dla Pythona 3 | |
384 | Summary(pt_BR.UTF-8): Módulos Python 3 para acessar os recursos do Subversion | |
385 | Group: Development/Languages/Python | |
386 | Requires: %{name}-libs = %{version}-%{release} | |
387 | Requires: python3-modules >= 1:3.2 | |
388 | ||
389 | %description -n python3-csvn | |
390 | Subversion CTypes Python 3 bindings. | |
391 | ||
392 | %description -n python3-csvn -l pl.UTF-8 | |
393 | Dowiązania do Subversion dla Pythona 3 używające CTypes. | |
394 | ||
395 | %description -n python3-csvn -l pt_BR.UTF-8 | |
396 | Módulos Python 3 para acessar os recursos do Subversion. | |
137fcafd | 397 | |
b56474ff | 398 | %package -n perl-subversion |
65c1d4bd JB |
399 | Summary: Subversion Perl bindings |
400 | Summary(pl.UTF-8): Dowiązania do Subversion dla Perla | |
401 | Summary(pt_BR.UTF-8): Módulos Perl para acessar os recursos do Subversion | |
b56474ff | 402 | Group: Development/Languages/Perl |
9cb7e099 | 403 | Requires: %{name}-libs = %{version}-%{release} |
2f648011 | 404 | Obsoletes: subversion-perl < 0.33.1-2 |
b56474ff AM |
405 | |
406 | %description -n perl-subversion | |
65c1d4bd | 407 | Subversion Perl bindings. |
b56474ff | 408 | |
aa59005f | 409 | %description -n perl-subversion -l pl.UTF-8 |
65c1d4bd | 410 | Dowiązania do Subversion dla Perla. |
b56474ff | 411 | |
aa59005f | 412 | %description -n perl-subversion -l pt_BR.UTF-8 |
65c1d4bd | 413 | Módulos Perl para acessar os recursos do Subversion. |
b56474ff | 414 | |
d46e45ba AM |
415 | %package -n ruby-subversion |
416 | Summary: Subversion Ruby bindings | |
d2bf70bf | 417 | Summary(pl.UTF-8): Dowiązania do Subversion dla języka Ruby |
d46e45ba AM |
418 | Summary(pt_BR.UTF-8): Módulos Ruby para acessar os recursos do Subversion |
419 | Group: Development/Languages | |
420 | Requires: %{name}-libs = %{version}-%{release} | |
2f648011 | 421 | Obsoletes: subversion-ruby < 1.5.0-1 |
d46e45ba AM |
422 | |
423 | %description -n ruby-subversion | |
424 | Subversion Ruby bindings. | |
425 | ||
426 | %description -n ruby-subversion -l pl.UTF-8 | |
d2bf70bf | 427 | Dowiązania do Subversion dla języka Ruby. |
d46e45ba AM |
428 | |
429 | %description -n ruby-subversion -l pt_BR.UTF-8 | |
430 | Módulos Ruby para acessar os recursos do Subversion. | |
431 | ||
93b78127 AM |
432 | %package -n apache-mod_dav_svn |
433 | Summary: Apache module: Subversion Server | |
ba084299 | 434 | Summary(pl.UTF-8): Moduł Apache'a: serwer Subversion |
93b78127 | 435 | Group: Networking/Daemons |
7b27380f | 436 | Requires: %{name} = %{version}-%{release} |
53855fbf | 437 | Requires: apache(modules-api) = %apache_modules_api |
7887b1ac | 438 | Requires: apache-mod_dav |
93b78127 AM |
439 | |
440 | %description -n apache-mod_dav_svn | |
441 | Apache module: Subversion Server. | |
442 | ||
aa59005f | 443 | %description -n apache-mod_dav_svn -l pl.UTF-8 |
ba084299 | 444 | Moduł Apache'a: serwer Subversion. |
93b78127 | 445 | |
65318afa AF |
446 | %package -n apache-mod_authz_svn |
447 | Summary: Apache module: Subversion Server - path-based authorization | |
ba084299 | 448 | Summary(pl.UTF-8): Moduł Apache'a: autoryzacja na podstawie ścieżki dla serwera Subversion |
65318afa | 449 | Group: Networking/Daemons |
38c0314f | 450 | Requires: %{name}-libs = %{version}-%{release} |
53855fbf | 451 | Requires: apache(modules-api) = %apache_modules_api |
9cb7e099 | 452 | Requires: apache-mod_dav_svn = %{version}-%{release} |
65318afa AF |
453 | |
454 | %description -n apache-mod_authz_svn | |
455 | Apache module: Subversion Server - path-based authorization. | |
456 | ||
aa59005f | 457 | %description -n apache-mod_authz_svn -l pl.UTF-8 |
ba084299 JB |
458 | Moduł Apache'a: autoryzacja na podstawie ścieżki dla serwera |
459 | Subversion. | |
e23909be | 460 | |
53bea8b1 AM |
461 | %package -n apache-mod_dontdothat_svn |
462 | Summary: Apache module: Allows you to block specific svn requests | |
ba084299 | 463 | Summary(pl.UTF-8): Moduł Apache'a pozwalający na blokowanie pewnych zapytań svn |
53bea8b1 AM |
464 | Group: Networking/Daemons |
465 | Requires: %{name}-libs = %{version}-%{release} | |
466 | Requires: apache(modules-api) = %apache_modules_api | |
467 | Requires: apache-mod_dav_svn = %{version}-%{release} | |
468 | ||
469 | %description -n apache-mod_dontdothat_svn | |
470 | Apache module: Allows you to block specific svn requests. | |
471 | ||
472 | %description -n apache-mod_dontdothat_svn -l pl.UTF-8 | |
ba084299 | 473 | Moduł Apache'a pozwalający na blokowanie pewnych zapytań svn. |
53bea8b1 | 474 | |
1429fa1c | 475 | %package -n gnome-keyring-subversion |
fe242fac JB |
476 | Summary: GNOME Keyring authentication provider for Subversion |
477 | Summary(pl.UTF-8): Moduł uwierzytelniający GNOME Keyring dla Subversion | |
1429fa1c | 478 | Group: X11/Applications |
38c0314f | 479 | Requires: %{name}-libs = %{version}-%{release} |
1429fa1c AM |
480 | |
481 | %description -n gnome-keyring-subversion | |
fe242fac JB |
482 | Authentication provider module for Subversion which allows SVN client |
483 | to authenticate using GNOME Keyring. | |
1429fa1c AM |
484 | |
485 | %description -n gnome-keyring-subversion -l pl.UTF-8 | |
fe242fac JB |
486 | Moduł uwierzytelniający dla Subversion pozwalający klientom SVN |
487 | uwierzytelniać się przy użyciu mechanizmu GNOME Keyring. | |
1429fa1c | 488 | |
99500116 | 489 | %package -n kde5-kwallet-subversion |
fe242fac JB |
490 | Summary: KDE Wallet authentication provider for Subversion |
491 | Summary(pl.UTF-8): Moduł uwierzytelniający dla Subversion wykorzystujący Portfel KDE | |
1429fa1c | 492 | Group: X11/Applications |
38c0314f | 493 | Requires: %{name}-libs = %{version}-%{release} |
1429fa1c | 494 | |
99500116 | 495 | %description -n kde5-kwallet-subversion |
fe242fac JB |
496 | Authentication provider module for Subversion which allows SVN client |
497 | to authenticate using KDE Wallet. | |
1429fa1c | 498 | |
99500116 | 499 | %description -n kde5-kwallet-subversion -l pl.UTF-8 |
fe242fac JB |
500 | Moduł uwierzytelniający dla Subversion pozwalający klientom SVN |
501 | uwierzytelniać się przy użyciu Portfela KDE. | |
1429fa1c | 502 | |
93b78127 | 503 | %prep |
0c6e93f6 | 504 | %setup -q |
ed6210a2 | 505 | %patch0 -p0 |
d4bccc60 | 506 | %patch1 -p1 |
00664663 | 507 | %patch2 -p0 |
1cfe7af2 | 508 | %patch3 -p1 |
7923efca | 509 | %patch4 -p1 |
1aac8b6c | 510 | %patch5 -p1 |
ebe67b1a JB |
511 | %patch6 -p1 |
512 | %patch7 -p1 | |
513 | %patch8 -p1 | |
514 | ||
515 | %{__sed} -i -e 's#serf_prefix/lib#serf_prefix/%{_lib}#g' build/ac-macros/serf.m4 | |
a510fada | 516 | |
ebe67b1a | 517 | %{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' tools/backup/hot-backup.py.in |
b1c8f82b | 518 | |
93b78127 | 519 | %build |
ebe67b1a JB |
520 | # FIXME: don't hide autotools invocation |
521 | # (but this script could do more, e.g. swig regeneration) | |
67cb9518 | 522 | chmod +x ./autogen.sh && ./autogen.sh |
ebe67b1a JB |
523 | %if %{with python2} |
524 | install -d builddir-python2 | |
525 | cd builddir-python2 | |
526 | ../%configure \ | |
527 | ac_cv_path_RUBY=none \ | |
528 | --disable-javahl \ | |
529 | --disable-mod-activation \ | |
c077d6a5 | 530 | %{__enable_disable static_libs static} \ |
ebe67b1a JB |
531 | --without-apxs \ |
532 | --without-berkeley-db \ | |
533 | %if %{with csvn} | |
534 | --with-ctypesgen=%{_bindir}/ctypesgen-2 \ | |
535 | %endif | |
536 | --without-gnome-keyring \ | |
537 | --without-kwallet \ | |
538 | --with-serf=%{_prefix} \ | |
539 | --with-swig=/usr/bin/swig-3 \ | |
540 | --with-zlib=%{_libdir} | |
541 | ||
560eaa9b JB |
542 | # required with separate builddir and only some subcomponents |
543 | install -d subversion/{bindings/swig/python,mod_dav_svn/{posts,reports},po} tools/server-side/mod_dontdothat | |
ebe67b1a JB |
544 | |
545 | %if %{with csvn} | |
546 | # Python ctypes bindings | |
560eaa9b | 547 | %{__make} -j1 ctypes-python |
ebe67b1a JB |
548 | %endif |
549 | %if %{with swigpy} | |
550 | # Python swig bindings | |
560eaa9b | 551 | %{__make} -j1 swig-py \ |
ebe67b1a JB |
552 | PY_SUF=2 \ |
553 | swig_pydir=%{py_sitedir}/libsvn \ | |
554 | swig_pydir_extra=%{py_sitedir}/svn | |
555 | %endif | |
556 | ||
557 | %if %{with tests} | |
558 | %if %{with csvn} | |
559 | %{__make} -j1 check-ctypes-python | |
560 | %endif | |
561 | %if %{with swigpy} | |
562 | %{__make} -j1 check-swig-py | |
563 | %endif | |
564 | %endif | |
565 | cd .. | |
566 | %endif | |
567 | ||
568 | install -d builddir | |
569 | cd builddir | |
570 | ../%configure \ | |
571 | PYTHON=%{__python3} \ | |
1aac8b6c JB |
572 | --disable-mod-activation \ |
573 | --disable-runtime-module-search \ | |
c077d6a5 | 574 | %{__enable_disable static_libs static} \ |
1aac8b6c JB |
575 | --with-apr=%{_bindir}/apr-1-config \ |
576 | --with-apr-util=%{_bindir}/apu-1-config \ | |
5dfeafd7 | 577 | --with-editor=vi \ |
1aac8b6c | 578 | --with-serf=%{_prefix} \ |
12ae68c1 | 579 | --with-zlib=%{_libdir} \ |
1aac8b6c JB |
580 | %if %{with apache} |
581 | --with-apache-libexecdir="$(%{_sbindir}/apxs -q LIBEXECDIR)" \ | |
582 | --with-apxs=%{_sbindir}/apxs \ | |
583 | %else | |
584 | --without-apxs \ | |
585 | %endif | |
298f7114 | 586 | %if %{with db} |
ad5c551e | 587 | --with-berkeley-db="db.h:%{_includedir}:%{_libdir}:db" \ |
28b85877 | 588 | %{?with_db6:--enable-bdb6} \ |
298f7114 ER |
589 | %else |
590 | --without-berkeley-db \ | |
591 | %endif | |
ebe67b1a JB |
592 | %if %{with python3} && %{with csvn} |
593 | --with-ctypesgen=%{_bindir}/ctypesgen-3 \ | |
1aac8b6c JB |
594 | %endif |
595 | %if %{with gnome} | |
596 | --with-gnome-keyring \ | |
597 | %endif | |
598 | %if %{with kwallet} | |
599 | --with-kwallet \ | |
0905b458 | 600 | %endif |
298f7114 | 601 | %if %{without swig} |
0905b458 | 602 | --without-swig \ |
5c072a77 | 603 | %endif |
ebe67b1a JB |
604 | %if %{with swigpy} |
605 | --with-swig=/usr/bin/swig \ | |
69c6af4b | 606 | %endif |
dd30c674 ER |
607 | %if %{with ruby} |
608 | svn_cv_ruby_sitedir_libsuffix="" \ | |
609 | svn_cv_ruby_sitedir_archsuffix="" \ | |
610 | --with-ruby-sitedir=%{ruby_vendorarchdir} \ | |
611 | %else | |
5c072a77 | 612 | ac_cv_path_RUBY=none \ |
0905b458 | 613 | %endif |
c3746b64 | 614 | %if %{with java} |
a26edfbd | 615 | --enable-javahl \ |
1cc7453a | 616 | --with-jdk="%{java_home}" \ |
cf2589d0 | 617 | --without-jikes \ |
a26edfbd ER |
618 | %else |
619 | --disable-javahl \ | |
620 | %endif | |
536b3fd3 | 621 | |
75f08d17 | 622 | %{__make} |
536b3fd3 | 623 | |
92bfa7e1 ER |
624 | %{__make} tools |
625 | ||
ebe67b1a | 626 | %if %{with python3} |
5b21aa20 | 627 | %if %{with csvn} |
a26edfbd | 628 | # Python ctypes bindings |
137fcafd | 629 | %{__make} ctypes-python |
5b21aa20 | 630 | %endif |
ebe67b1a | 631 | %if %{with swigpy} |
a26edfbd | 632 | # Python swig bindings |
86a4919e | 633 | %{__make} swig-py \ |
ebe67b1a JB |
634 | swig_pydir=%{py3_sitedir}/libsvn \ |
635 | swig_pydir_extra=%{py3_sitedir}/svn | |
0905b458 | 636 | %endif |
ebe67b1a JB |
637 | %endif |
638 | ||
0905b458 | 639 | %if %{with perl} |
a26edfbd | 640 | # Perl swig bindings |
ebe67b1a | 641 | %{__make} -j1 swig-pl |
536b3fd3 | 642 | %endif |
c3746b64 | 643 | %if %{with java} |
b445847c | 644 | %{__make} -j1 javahl \ |
1cc7453a | 645 | javahl_javadir="%{_javadir}" |
646 | %endif | |
d46e45ba AM |
647 | # ruby |
648 | %if %{with ruby} | |
649 | %{__make} swig-rb | |
650 | %endif | |
12ae68c1 AM |
651 | |
652 | %if %{with tests} | |
5abe2f77 | 653 | %{__make} -j1 check |
ebe67b1a | 654 | %if %{with python3} && %{with csvn} |
5abe2f77 | 655 | %{__make} -j1 check-ctypes-python |
5b21aa20 | 656 | %endif |
ebe67b1a | 657 | %if %{with python3} && %{with swigpy} |
5abe2f77 | 658 | %{__make} -j1 check-swig-py |
d46e45ba AM |
659 | %endif |
660 | %if %{with perl} | |
5abe2f77 | 661 | %{__make} -j1 check-swig-pl |
d46e45ba AM |
662 | %endif |
663 | %if %{with ruby} | |
6e3aae2d ER |
664 | # disabled, see https://bugs.launchpad.net/pld-linux/+bug/734340 |
665 | #%{__make} check-swig-rb | |
d46e45ba | 666 | %endif |
0905b458 | 667 | %endif |
93b78127 AM |
668 | |
669 | %install | |
670 | rm -rf $RPM_BUILD_ROOT | |
1326bb99 | 671 | install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig,bash_completion.d} \ |
1af5e34d | 672 | $RPM_BUILD_ROOT{%{apacheconfdir},%{apachelibdir},%{_infodir}} \ |
ebe67b1a | 673 | $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} \ |
d9d66e02 | 674 | $RPM_BUILD_ROOT%{_sysconfdir}/%{name} \ |
ebe67b1a | 675 | $RPM_BUILD_ROOT/home/services/subversion/repos |
93b78127 | 676 | |
ebe67b1a JB |
677 | %if %{with python2} |
678 | %if %{with csvn} | |
97454fe4 | 679 | %{__make} -C builddir-python2 -j1 install-lib install-fsmod-lib install-ctypes-python \ |
ebe67b1a | 680 | DESTDIR=$RPM_BUILD_ROOT \ |
bcede8df JB |
681 | PY_INSTALLOPTS="--install-purelib=%{py_sitescriptdir}" \ |
682 | pkgconfig_dir=%{_pkgconfigdir} | |
ebe67b1a JB |
683 | %endif |
684 | ||
685 | %if %{with swigpy} | |
686 | %{__make} -C builddir-python2 -j1 install-swig-py \ | |
687 | DESTDIR=$RPM_BUILD_ROOT \ | |
688 | PY_SUF=2 \ | |
689 | swig_pydir=%{py_sitedir}/libsvn \ | |
690 | swig_pydir_extra=%{py_sitedir}/svn | |
691 | %endif | |
692 | %endif | |
693 | ||
694 | %{__make} -C builddir -j1 install \ | |
9eb45f32 | 695 | pkgconfig_dir=%{_pkgconfigdir} \ |
92bfa7e1 | 696 | toolsdir=%{_bindir} \ |
a26edfbd ER |
697 | DESTDIR=$RPM_BUILD_ROOT \ |
698 | APACHE_LIBEXECDIR="$(%{_sbindir}/apxs -q LIBEXECDIR)" \ | |
c3746b64 | 699 | %if %{with java} |
1cc7453a | 700 | install-javahl \ |
701 | javahl_javadir="%{_javadir}" \ | |
702 | %endif | |
ebe67b1a JB |
703 | %if %{with python3} && %{with csvn} |
704 | install-ctypes-python \ | |
705 | PY_INSTALLOPTS="--install-purelib=%{py3_sitescriptdir}" \ | |
706 | %endif | |
707 | %if %{with python3} && %{with swigpy} | |
0905b458 | 708 | install-swig-py \ |
ebe67b1a JB |
709 | swig_pydir=%{py3_sitedir}/libsvn \ |
710 | swig_pydir_extra=%{py3_sitedir}/svn \ | |
a26edfbd | 711 | %endif |
74465f3c JP |
712 | install-tools |
713 | ||
ebe67b1a | 714 | %if 0 && %{with csvn} |
74465f3c JP |
715 | # manually execute install-ctypes-python target |
716 | cd subversion/bindings/ctypes-python | |
717 | %py_install | |
718 | cd ../../.. | |
d46e45ba | 719 | %endif |
49f25a64 | 720 | |
d46e45ba | 721 | %if %{with ruby} |
ebe67b1a | 722 | %{__make} -C builddir -j1 install-swig-rb install-swig-rb-doc \ |
59894d8a | 723 | SWIG_RB_RI_DATADIR=$RPM_BUILD_ROOT%{ruby_ridir} \ |
9eb45f32 | 724 | DESTDIR=$RPM_BUILD_ROOT |
49f25a64 ER |
725 | |
726 | # not our package | |
49f25a64 ER |
727 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/OptionParser |
728 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/Time | |
b98707c2 | 729 | %if "%{ruby_abi}" >= "2.0" |
59894d8a | 730 | %{__rm} -r $RPM_BUILD_ROOT%{ruby_ridir}/File |
c6918405 | 731 | %endif |
49f25a64 ER |
732 | %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/cache.ri |
733 | %{__rm} $RPM_BUILD_ROOT%{ruby_ridir}/created.rid | |
0905b458 | 734 | %endif |
93b78127 | 735 | |
298f7114 | 736 | %if %{with perl} |
ebe67b1a | 737 | %{__make} -C builddir install-swig-pl \ |
bf539998 | 738 | DESTDIR=$RPM_BUILD_ROOT |
bf539998 AM |
739 | %endif |
740 | ||
0905b458 | 741 | %if %{with apache} |
d9d66e02 ER |
742 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{apacheconfdir}/65_mod_dav_svn.conf |
743 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{apacheconfdir}/66_mod_authz_svn.conf | |
744 | cp -p %{SOURCE4} $RPM_BUILD_ROOT/etc/sysconfig/svnserve | |
745 | install -p %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/svnserve | |
0905b458 | 746 | %endif |
93b78127 | 747 | |
d9d66e02 | 748 | %if %{without net_client_only} |
ebe67b1a | 749 | install -p builddir/tools/backup/hot-backup.py $RPM_BUILD_ROOT%{_bindir}/svn-hot-backup |
298f7114 | 750 | %endif |
92bfa7e1 ER |
751 | |
752 | # rename not to conflict with standard packages. (are these needed at all?) | |
9eb45f32 JB |
753 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{,svn}diff |
754 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{,svn}diff3 | |
755 | %{__mv} $RPM_BUILD_ROOT%{_bindir}/{,svn}diff4 | |
92bfa7e1 | 756 | |
ebe67b1a JB |
757 | %if %{with python2} |
758 | %if %{with swigpy} | |
f4e6a380 AM |
759 | %py_ocomp $RPM_BUILD_ROOT%{py_sitedir} |
760 | %py_comp $RPM_BUILD_ROOT%{py_sitedir} | |
3c200272 | 761 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/libsvn/*.la |
ebe67b1a | 762 | install -d $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version} |
f37da0a1 | 763 | cp -p tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version} |
ebe67b1a JB |
764 | %{__sed} -i -e '1s,/usr/bin/env python$,%{__python},' $RPM_BUILD_ROOT%{_examplesdir}/python-%{name}-%{version}/*.py |
765 | %endif | |
766 | %py_postclean | |
767 | %endif | |
768 | ||
769 | %if %{with python3} && %{with swigpy} | |
770 | %py3_ocomp $RPM_BUILD_ROOT%{py3_sitedir} | |
771 | %py3_comp $RPM_BUILD_ROOT%{py3_sitedir} | |
772 | %{__rm} $RPM_BUILD_ROOT%{py3_sitedir}/libsvn/*.la | |
773 | install -d $RPM_BUILD_ROOT%{_examplesdir}/python3-%{name}-%{version} | |
774 | cp -p tools/examples/*.py $RPM_BUILD_ROOT%{_examplesdir}/python3-%{name}-%{version} | |
775 | %{__sed} -i -e '1s,/usr/bin/env python$,%{__python3},' $RPM_BUILD_ROOT%{_examplesdir}/python3-%{name}-%{version}/*.py | |
536b3fd3 | 776 | %endif |
f4e6a380 | 777 | |
d9d66e02 ER |
778 | cp -p tools/client-side/bash_completion $RPM_BUILD_ROOT/etc/bash_completion.d/%{name} |
779 | cp -p tools/examples/*.c $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
1326bb99 | 780 | |
c3746b64 | 781 | %if %{with java} |
c077d6a5 JP |
782 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.la |
783 | %{?with_static_libs:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvnjavahl*.a} | |
a26edfbd | 784 | %endif |
298f7114 | 785 | %if %{with swig} |
c077d6a5 JP |
786 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.la |
787 | %{?with_static_libs:%{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_swig*.a} | |
5c072a77 | 788 | %if %{with ruby} |
dd30c674 | 789 | %{__rm} $RPM_BUILD_ROOT%{ruby_vendorarchdir}/svn/ext/*.la |
5f328a6e | 790 | %endif |
5c072a77 | 791 | %endif |
fe242fac JB |
792 | %if %{with gnome} || %{with kwallet} |
793 | # dlopened by soname (libsvn_auth_*-1.so.0) | |
535649a6 | 794 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libsvn_auth_*-1.{so,la} |
fe242fac | 795 | %endif |
205a3ddc | 796 | |
fe242fac | 797 | %find_lang %{name} |
a6ecf312 | 798 | |
e23909be JB |
799 | %clean |
800 | rm -rf $RPM_BUILD_ROOT | |
801 | ||
a1bac09d MŁ |
802 | %pre svnserve |
803 | %groupadd -g 86 svn | |
804 | %useradd -u 180 -d /home/services/subversion -c "Subversion svnserve" -g svn svn | |
805 | ||
d2bf70bf JB |
806 | %post libs -p /sbin/ldconfig |
807 | %postun libs -p /sbin/ldconfig | |
808 | ||
809 | %post devel -p /sbin/postshell | |
6f99c3bd | 810 | -/usr/sbin/fix-info-dir -c %{_infodir} |
93b78127 | 811 | |
d2bf70bf | 812 | %postun devel -p /sbin/postshell |
6f99c3bd | 813 | -/usr/sbin/fix-info-dir -c %{_infodir} |
93b78127 | 814 | |
12c96b58 ER |
815 | %post -n java-subversion -p /sbin/ldconfig |
816 | %postun -n java-subversion -p /sbin/ldconfig | |
817 | ||
d2bf70bf JB |
818 | %post -n perl-subversion -p /sbin/ldconfig |
819 | %postun -n perl-subversion -p /sbin/ldconfig | |
820 | ||
821 | %post -n python-subversion -p /sbin/ldconfig | |
822 | %postun -n python-subversion -p /sbin/ldconfig | |
f4e6a380 | 823 | |
3cfba843 JP |
824 | %post -n python3-subversion -p /sbin/ldconfig |
825 | %postun -n python3-subversion -p /sbin/ldconfig | |
826 | ||
12c96b58 ER |
827 | %post -n ruby-subversion -p /sbin/ldconfig |
828 | %postun -n ruby-subversion -p /sbin/ldconfig | |
829 | ||
830 | %post -n gnome-keyring-subversion -p /sbin/ldconfig | |
831 | %postun -n gnome-keyring-subversion -p /sbin/ldconfig | |
832 | ||
ab99ba37 JR |
833 | %post -n kde5-kwallet-subversion -p /sbin/ldconfig |
834 | %postun -n kde5-kwallet-subversion -p /sbin/ldconfig | |
12c96b58 | 835 | |
b56474ff | 836 | %post svnserve |
e8d9186f ER |
837 | /sbin/chkconfig --add svnserve |
838 | %service svnserve restart "svnserve daemon" | |
839 | ||
b56474ff AM |
840 | %preun svnserve |
841 | if [ "$1" = "0" ]; then | |
e8d9186f ER |
842 | %service svnserve stop |
843 | /sbin/chkconfig --del svnserve | |
b56474ff AM |
844 | fi |
845 | ||
a1bac09d MŁ |
846 | %postun svnserve |
847 | if [ "$1" = "0" ]; then | |
12c96b58 ER |
848 | %userremove svn |
849 | %groupremove svn | |
a1bac09d MŁ |
850 | fi |
851 | ||
93b78127 | 852 | %post -n apache-mod_dav_svn |
e8d9186f | 853 | %service -q httpd restart |
93b78127 | 854 | |
ba425c92 | 855 | %postun -n apache-mod_dav_svn |
93b78127 | 856 | if [ "$1" = "0" ]; then |
e8d9186f | 857 | %service -q httpd restart |
93b78127 AM |
858 | fi |
859 | ||
9688ba4c JR |
860 | %post -n apache-mod_authz_svn |
861 | %service -q httpd restart | |
862 | ||
ba425c92 | 863 | %postun -n apache-mod_authz_svn |
9688ba4c JR |
864 | if [ "$1" = "0" ]; then |
865 | %service -q httpd restart | |
866 | fi | |
867 | ||
53bea8b1 AM |
868 | %post -n apache-mod_dontdothat_svn |
869 | %service -q httpd restart | |
870 | ||
871 | %postun -n apache-mod_dontdothat_svn | |
872 | if [ "$1" = "0" ]; then | |
873 | %service -q httpd restart | |
874 | fi | |
875 | ||
93b78127 AM |
876 | %files |
877 | %defattr(644,root,root,755) | |
c5c1593f | 878 | %doc BUGS CHANGES INSTALL README |
d37298dc | 879 | %doc doc/*/*.html |
ebe67b1a JB |
880 | %doc builddir/tools/hook-scripts/*.pl |
881 | %doc tools/hook-scripts/*.{py,example} | |
4bbdbbf8 | 882 | %doc tools/hook-scripts/mailer/*.{py,example} |
1326bb99 | 883 | %doc tools/xslt/* |
535649a6 | 884 | %attr(755,root,root) %{_bindir}/fsfs-stats |
b445847c | 885 | %attr(755,root,root) %{_bindir}/svn |
535649a6 | 886 | %attr(755,root,root) %{_bindir}/svn-mergeinfo-normalizer |
b445847c | 887 | %attr(755,root,root) %{_bindir}/svnadmin |
535649a6 | 888 | %attr(755,root,root) %{_bindir}/svnconflict |
b445847c JB |
889 | %attr(755,root,root) %{_bindir}/svndumpfilter |
890 | %attr(755,root,root) %{_bindir}/svnlook | |
535649a6 | 891 | %attr(755,root,root) %{_bindir}/svnmover |
3d85fab0 | 892 | %attr(755,root,root) %{_bindir}/svnmucc |
1e0ba091 | 893 | %attr(755,root,root) %{_bindir}/svnrdump |
b445847c JB |
894 | %attr(755,root,root) %{_bindir}/svnsync |
895 | %attr(755,root,root) %{_bindir}/svnversion | |
896 | %{_mandir}/man1/svn.1* | |
897 | %{_mandir}/man1/svnadmin.1* | |
898 | %{_mandir}/man1/svndumpfilter.1* | |
c5c1593f | 899 | %{_mandir}/man1/svnrdump.1* |
b445847c | 900 | %{_mandir}/man1/svnlook.1* |
3d85fab0 | 901 | %{_mandir}/man1/svnmucc.1* |
b445847c JB |
902 | %{_mandir}/man1/svnsync.1* |
903 | %{_mandir}/man1/svnversion.1* | |
f4e6a380 | 904 | |
205a3ddc | 905 | %files libs -f %{name}.lang |
f4e6a380 | 906 | %defattr(644,root,root,755) |
d9d66e02 | 907 | %dir %{_sysconfdir}/%{name} |
b445847c JB |
908 | %attr(755,root,root) %{_libdir}/libsvn_client-1.so.*.*.* |
909 | %attr(755,root,root) %ghost %{_libdir}/libsvn_client-1.so.0 | |
910 | %attr(755,root,root) %{_libdir}/libsvn_delta-1.so.*.*.* | |
911 | %attr(755,root,root) %ghost %{_libdir}/libsvn_delta-1.so.0 | |
912 | %attr(755,root,root) %{_libdir}/libsvn_diff-1.so.*.*.* | |
913 | %attr(755,root,root) %ghost %{_libdir}/libsvn_diff-1.so.0 | |
914 | %attr(755,root,root) %{_libdir}/libsvn_fs-1.so.*.*.* | |
915 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs-1.so.0 | |
5f328a6e | 916 | %if %{without net_client_only} |
b445847c JB |
917 | %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so.*.*.* |
918 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_base-1.so.0 | |
5f328a6e | 919 | %endif |
b445847c JB |
920 | %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so.*.*.* |
921 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_fs-1.so.0 | |
922 | %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so.*.*.* | |
923 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_util-1.so.0 | |
f9c8674f AM |
924 | %attr(755,root,root) %{_libdir}/libsvn_fs_x-1.so.*.*.* |
925 | %attr(755,root,root) %ghost %{_libdir}/libsvn_fs_x-1.so.0 | |
b445847c JB |
926 | %attr(755,root,root) %{_libdir}/libsvn_ra-1.so.*.*.* |
927 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra-1.so.0 | |
928 | %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so.*.*.* | |
929 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_local-1.so.0 | |
1e0ba091 AM |
930 | %attr(755,root,root) %{_libdir}/libsvn_ra_serf-1.so.*.*.* |
931 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_serf-1.so.0 | |
b445847c JB |
932 | %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so.*.*.* |
933 | %attr(755,root,root) %ghost %{_libdir}/libsvn_ra_svn-1.so.0 | |
934 | %attr(755,root,root) %{_libdir}/libsvn_repos-1.so.*.*.* | |
935 | %attr(755,root,root) %ghost %{_libdir}/libsvn_repos-1.so.0 | |
936 | %attr(755,root,root) %{_libdir}/libsvn_subr-1.so.*.*.* | |
937 | %attr(755,root,root) %ghost %{_libdir}/libsvn_subr-1.so.0 | |
938 | %attr(755,root,root) %{_libdir}/libsvn_wc-1.so.*.*.* | |
939 | %attr(755,root,root) %ghost %{_libdir}/libsvn_wc-1.so.0 | |
93b78127 AM |
940 | |
941 | %files devel | |
942 | %defattr(644,root,root,755) | |
b445847c JB |
943 | %attr(755,root,root) %{_libdir}/libsvn_client-1.so |
944 | %attr(755,root,root) %{_libdir}/libsvn_delta-1.so | |
945 | %attr(755,root,root) %{_libdir}/libsvn_diff-1.so | |
946 | %attr(755,root,root) %{_libdir}/libsvn_fs-1.so | |
5f328a6e | 947 | %if %{without net_client_only} |
b445847c | 948 | %attr(755,root,root) %{_libdir}/libsvn_fs_base-1.so |
5f328a6e | 949 | %endif |
b445847c JB |
950 | %attr(755,root,root) %{_libdir}/libsvn_fs_fs-1.so |
951 | %attr(755,root,root) %{_libdir}/libsvn_fs_util-1.so | |
f9c8674f | 952 | %attr(755,root,root) %{_libdir}/libsvn_fs_x-1.so |
b445847c JB |
953 | %attr(755,root,root) %{_libdir}/libsvn_ra-1.so |
954 | %attr(755,root,root) %{_libdir}/libsvn_ra_local-1.so | |
1e0ba091 | 955 | %attr(755,root,root) %{_libdir}/libsvn_ra_serf-1.so |
b445847c JB |
956 | %attr(755,root,root) %{_libdir}/libsvn_ra_svn-1.so |
957 | %attr(755,root,root) %{_libdir}/libsvn_repos-1.so | |
958 | %attr(755,root,root) %{_libdir}/libsvn_subr-1.so | |
959 | %attr(755,root,root) %{_libdir}/libsvn_wc-1.so | |
960 | %{_libdir}/libsvn_client-1.la | |
961 | %{_libdir}/libsvn_delta-1.la | |
962 | %{_libdir}/libsvn_diff-1.la | |
963 | %{_libdir}/libsvn_fs-1.la | |
5f328a6e | 964 | %if %{without net_client_only} |
b445847c | 965 | %{_libdir}/libsvn_fs_base-1.la |
5f328a6e | 966 | %endif |
b445847c JB |
967 | %{_libdir}/libsvn_fs_fs-1.la |
968 | %{_libdir}/libsvn_fs_util-1.la | |
f9c8674f | 969 | %{_libdir}/libsvn_fs_x-1.la |
b445847c JB |
970 | %{_libdir}/libsvn_ra-1.la |
971 | %{_libdir}/libsvn_ra_local-1.la | |
1e0ba091 | 972 | %{_libdir}/libsvn_ra_serf-1.la |
b445847c JB |
973 | %{_libdir}/libsvn_ra_svn-1.la |
974 | %{_libdir}/libsvn_repos-1.la | |
975 | %{_libdir}/libsvn_subr-1.la | |
976 | %{_libdir}/libsvn_wc-1.la | |
ff76629a | 977 | %if %{with gnome} |
9eb45f32 JB |
978 | # only for feature check, linking will fail (no libsvn_auth_gnome_keyring.so) |
979 | %{_pkgconfigdir}/libsvn_auth_gnome_keyring.pc | |
ff76629a JP |
980 | %endif |
981 | %if %{with kwallet} | |
9eb45f32 JB |
982 | # only for feature check, linking will fail (no libsvn_auth_kwallet.so) |
983 | %{_pkgconfigdir}/libsvn_auth_kwallet.pc | |
ff76629a | 984 | %endif |
9eb45f32 JB |
985 | %{_pkgconfigdir}/libsvn_client.pc |
986 | %{_pkgconfigdir}/libsvn_delta.pc | |
987 | %{_pkgconfigdir}/libsvn_diff.pc | |
988 | %{_pkgconfigdir}/libsvn_fs.pc | |
f9c8674f | 989 | %if %{without net_client_only} |
9eb45f32 JB |
990 | %{_pkgconfigdir}/libsvn_fs_base.pc |
991 | %endif | |
992 | %{_pkgconfigdir}/libsvn_fs_fs.pc | |
993 | %{_pkgconfigdir}/libsvn_fs_util.pc | |
994 | %{_pkgconfigdir}/libsvn_fs_x.pc | |
995 | %{_pkgconfigdir}/libsvn_ra.pc | |
996 | %{_pkgconfigdir}/libsvn_ra_local.pc | |
997 | %{_pkgconfigdir}/libsvn_ra_serf.pc | |
998 | %{_pkgconfigdir}/libsvn_ra_svn.pc | |
999 | %{_pkgconfigdir}/libsvn_repos.pc | |
1000 | %{_pkgconfigdir}/libsvn_subr.pc | |
1001 | %{_pkgconfigdir}/libsvn_wc.pc | |
b445847c | 1002 | %{_includedir}/%{name}-1 |
1326bb99 | 1003 | %{_examplesdir}/%{name}-%{version} |
93b78127 | 1004 | |
c077d6a5 | 1005 | %if %{with static_libs} |
93b78127 AM |
1006 | %files static |
1007 | %defattr(644,root,root,755) | |
b445847c JB |
1008 | %{_libdir}/libsvn_client-1.a |
1009 | %{_libdir}/libsvn_delta-1.a | |
1010 | %{_libdir}/libsvn_diff-1.a | |
1011 | %{_libdir}/libsvn_fs-1.a | |
5f328a6e | 1012 | %if %{without net_client_only} |
b445847c | 1013 | %{_libdir}/libsvn_fs_base-1.a |
5f328a6e | 1014 | %endif |
b445847c JB |
1015 | %{_libdir}/libsvn_fs_fs-1.a |
1016 | %{_libdir}/libsvn_fs_util-1.a | |
f9c8674f | 1017 | %{_libdir}/libsvn_fs_x-1.a |
b445847c JB |
1018 | %{_libdir}/libsvn_ra-1.a |
1019 | %{_libdir}/libsvn_ra_local-1.a | |
1e0ba091 | 1020 | %{_libdir}/libsvn_ra_serf-1.a |
b445847c JB |
1021 | %{_libdir}/libsvn_ra_svn-1.a |
1022 | %{_libdir}/libsvn_repos-1.a | |
1023 | %{_libdir}/libsvn_subr-1.a | |
1024 | %{_libdir}/libsvn_wc-1.a | |
c077d6a5 | 1025 | %endif |
93b78127 | 1026 | |
bfb248d0 | 1027 | %if %{with gnome} |
1429fa1c AM |
1028 | %files -n gnome-keyring-subversion |
1029 | %defattr(644,root,root,755) | |
1030 | %attr(755,root,root) %{_libdir}/libsvn_auth_gnome_keyring-1.so.*.*.* | |
1031 | %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_gnome_keyring-1.so.0 | |
8d40da51 JB |
1032 | # does anything use it? requires libsvn_auth_gnome_keyring.so |
1033 | #%{_pkgconfigdir}/libsvn_auth_gnome_keyring.pc | |
bfb248d0 | 1034 | %endif |
1429fa1c | 1035 | |
65f2befa | 1036 | %if %{with kwallet} |
ab99ba37 | 1037 | %files -n kde5-kwallet-subversion |
1429fa1c AM |
1038 | %defattr(644,root,root,755) |
1039 | %attr(755,root,root) %{_libdir}/libsvn_auth_kwallet-1.so.*.*.* | |
1040 | %attr(755,root,root) %ghost %{_libdir}/libsvn_auth_kwallet-1.so.0 | |
8d40da51 JB |
1041 | # does anything use it? requires libsvn_auth_kwallet.so |
1042 | #%{_pkgconfigdir}/libsvn_auth_kwallet.pc | |
65f2befa | 1043 | %endif |
1429fa1c | 1044 | |
12c96b58 | 1045 | %if %{without net_client_only} |
b56474ff AM |
1046 | %files svnserve |
1047 | %defattr(644,root,root,755) | |
1048 | %attr(755,root,root) %{_bindir}/svnserve | |
b445847c JB |
1049 | %{_mandir}/man5/svnserve.conf.5* |
1050 | %{_mandir}/man8/svnserve.8* | |
a1bac09d MŁ |
1051 | %dir %attr(750,svn,svn) /home/services/subversion |
1052 | %dir %attr(750,svn,svn) /home/services/subversion/repos | |
0905b458 | 1053 | %if %{with apache} |
b56474ff | 1054 | %attr(754,root,root) /etc/rc.d/init.d/svnserve |
86ea8fde | 1055 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/svnserve |
0905b458 | 1056 | %endif |
b56474ff | 1057 | |
4bbdbbf8 AM |
1058 | %files tools |
1059 | %defattr(644,root,root,755) | |
92bfa7e1 | 1060 | # tools/backup/hot-backup.py |
1326bb99 | 1061 | %attr(755,root,root) %{_bindir}/svn-hot-backup |
fe5bb6bb | 1062 | |
92bfa7e1 ER |
1063 | # tools/diff |
1064 | %attr(755,root,root) %{_bindir}/svndiff | |
1065 | %attr(755,root,root) %{_bindir}/svndiff3 | |
1066 | %attr(755,root,root) %{_bindir}/svndiff4 | |
1067 | ||
1068 | # tools/server-side | |
f9c8674f | 1069 | %attr(755,root,root) %{_bindir}/svnfsfs |
92bfa7e1 | 1070 | %attr(755,root,root) %{_bindir}/svn-populate-node-origins-index |
3d85fab0 | 1071 | %attr(755,root,root) %{_bindir}/svnauthz |
92bfa7e1 ER |
1072 | %attr(755,root,root) %{_bindir}/svnauthz-validate |
1073 | ||
3d85fab0 | 1074 | # tools/client-side |
f9c8674f | 1075 | %attr(755,root,root) %{_bindir}/svnbench |
1e0ba091 | 1076 | |
92bfa7e1 ER |
1077 | # tools/dev/svnraisetreeconflict |
1078 | %attr(755,root,root) %{_bindir}/svnraisetreeconflict | |
1079 | ||
1e0ba091 AM |
1080 | # tools/dev/ |
1081 | %attr(755,root,root) %{_bindir}/fsfs-access-map | |
f9c8674f | 1082 | %attr(755,root,root) %{_bindir}/x509-parser |
1e0ba091 | 1083 | |
fe5bb6bb | 1084 | %files -n bash-completion-subversion |
101e74de | 1085 | %defattr(644,root,root,755) |
1326bb99 | 1086 | /etc/bash_completion.d/%{name} |
536b3fd3 | 1087 | |
f37da0a1 ER |
1088 | %endif # net_client_only |
1089 | ||
c3746b64 | 1090 | %if %{with java} |
1cc7453a | 1091 | %files -n java-subversion |
1092 | %defattr(644,root,root,755) | |
b445847c JB |
1093 | %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so.*.*.* |
1094 | %attr(755,root,root) %ghost %{_libdir}/libsvnjavahl-1.so.0 | |
1095 | %attr(755,root,root) %{_libdir}/libsvnjavahl-1.so | |
1cc7453a | 1096 | %{_javadir}/svn-javahl.jar |
1097 | %endif | |
1098 | ||
ebe67b1a JB |
1099 | %if %{with python2} |
1100 | %if %{with swigpy} | |
fa3ff1b2 | 1101 | %files -n python-subversion |
f4e6a380 | 1102 | %defattr(644,root,root,755) |
ebe67b1a JB |
1103 | %attr(755,root,root) %{_libdir}/libsvn_swig_py2-1.so.*.*.* |
1104 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py2-1.so.0 | |
1105 | %attr(755,root,root) %{_libdir}/libsvn_swig_py2-1.so | |
65318afa | 1106 | %dir %{py_sitedir}/libsvn |
3c200272 | 1107 | %attr(755,root,root) %{py_sitedir}/libsvn/_*.so |
65318afa | 1108 | %{py_sitedir}/libsvn/*.py[co] |
b445847c JB |
1109 | %dir %{py_sitedir}/svn |
1110 | %{py_sitedir}/svn/*.py[co] | |
1326bb99 | 1111 | %{_examplesdir}/python-%{name}-%{version} |
a26edfbd | 1112 | %endif |
137fcafd | 1113 | |
5b21aa20 | 1114 | %if %{with csvn} |
137fcafd AM |
1115 | %files -n python-csvn |
1116 | %defattr(644,root,root,755) | |
1117 | %doc subversion/bindings/ctypes-python/{README,TODO} | |
1118 | %doc subversion/bindings/ctypes-python/examples/*.py | |
ebe67b1a | 1119 | %{py_sitescriptdir}/csvn |
3c200272 | 1120 | %{py_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info |
0905b458 | 1121 | %endif |
ebe67b1a JB |
1122 | %endif |
1123 | ||
1124 | %if %{with python3} | |
1125 | %if %{with swigpy} | |
1126 | %files -n python3-subversion | |
1127 | %defattr(644,root,root,755) | |
1128 | %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so.*.*.* | |
1129 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_py-1.so.0 | |
1130 | %attr(755,root,root) %{_libdir}/libsvn_swig_py-1.so | |
1131 | %dir %{py3_sitedir}/libsvn | |
1132 | %attr(755,root,root) %{py3_sitedir}/libsvn/_*.so | |
1133 | %{py3_sitedir}/libsvn/*.py | |
1134 | %{py3_sitedir}/libsvn/__pycache__ | |
1135 | %dir %{py3_sitedir}/svn | |
1136 | %{py3_sitedir}/svn/*.py | |
1137 | %{py3_sitedir}/svn/__pycache__ | |
1138 | %{_examplesdir}/python3-%{name}-%{version} | |
1139 | %endif | |
1140 | ||
1141 | %if %{with csvn} | |
1142 | %files -n python3-csvn | |
1143 | %defattr(644,root,root,755) | |
1144 | %doc subversion/bindings/ctypes-python/{README,TODO} | |
1145 | %doc subversion/bindings/ctypes-python/examples/*.py | |
1146 | %{py3_sitescriptdir}/csvn | |
1147 | %{py3_sitescriptdir}/svn_ctypes_python_bindings-0.1-py*.egg-info | |
1148 | %endif | |
1149 | %endif | |
f4e6a380 | 1150 | |
0905b458 | 1151 | %if %{with perl} |
b56474ff AM |
1152 | %files -n perl-subversion |
1153 | %defattr(644,root,root,755) | |
b445847c JB |
1154 | %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so.*.*.* |
1155 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_perl-1.so.0 | |
1156 | %attr(755,root,root) %{_libdir}/libsvn_swig_perl-1.so | |
b56474ff AM |
1157 | %{perl_vendorarch}/SVN |
1158 | %dir %{perl_vendorarch}/auto/SVN | |
1159 | %dir %{perl_vendorarch}/auto/SVN/* | |
1160 | %attr(755,root,root) %{perl_vendorarch}/auto/SVN/*/*.so | |
a70bbcf5 | 1161 | %{_mandir}/man3/SVN::*.3pm* |
0905b458 | 1162 | %endif |
b56474ff | 1163 | |
d46e45ba AM |
1164 | %if %{with ruby} |
1165 | %files -n ruby-subversion | |
1166 | %defattr(644,root,root,755) | |
b445847c JB |
1167 | %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so.*.*.* |
1168 | %attr(755,root,root) %ghost %{_libdir}/libsvn_swig_ruby-1.so.0 | |
1169 | %attr(755,root,root) %{_libdir}/libsvn_swig_ruby-1.so | |
dd30c674 ER |
1170 | %dir %{ruby_vendorarchdir}/svn |
1171 | %{ruby_vendorarchdir}/svn/*.rb | |
1172 | %dir %{ruby_vendorarchdir}/svn/ext | |
1173 | %attr(755,root,root) %{ruby_vendorarchdir}/svn/ext/*.so | |
916011ef | 1174 | %{ruby_ridir}/Svn |
d46e45ba AM |
1175 | %endif |
1176 | ||
0905b458 | 1177 | %if %{with apache} |
93b78127 AM |
1178 | %files -n apache-mod_dav_svn |
1179 | %defattr(644,root,root,755) | |
1af5e34d ER |
1180 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_dav_svn.conf |
1181 | %attr(755,root,root) %{apachelibdir}/mod_dav_svn.so | |
65318afa AF |
1182 | |
1183 | %files -n apache-mod_authz_svn | |
1184 | %defattr(644,root,root,755) | |
1185 | %doc subversion/mod_authz_svn/INSTALL | |
1af5e34d ER |
1186 | %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{apacheconfdir}/*_mod_authz_svn.conf |
1187 | %attr(755,root,root) %{apachelibdir}/mod_authz_svn.so | |
53bea8b1 AM |
1188 | |
1189 | %files -n apache-mod_dontdothat_svn | |
1190 | %defattr(644,root,root,755) | |
1191 | %doc tools/server-side/mod_dontdothat/README | |
1192 | %attr(755,root,root) %{apachelibdir}/mod_dontdothat.so | |
536b3fd3 | 1193 | %endif |