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