]>
Commit | Line | Data |
---|---|---|
dc6cf723 | 1 | # |
07259352 | 2 | # TODO: |
3 | # - build requires jni.h (from package compatible with installed jdk) | |
4 | # | |
02a3d505 | 5 | # Conditional build: |
51d887d5 | 6 | %bcond_without java # with Java bindings |
07cca1fc JB |
7 | %bcond_without perl # without Perl bindings |
8 | %bcond_without ruby # without Ruby bindings | |
667af7e7 | 9 | %bcond_without static_libs # don't build static libraries |
02a3d505 | 10 | # |
71f74d66 | 11 | %ifnarch i586 i686 pentium3 pentium4 athlon %{x8664} |
0f35014b | 12 | %undefine with_java |
13 | %endif | |
14 | # | |
07259352 | 15 | %include /usr/lib/rpm/macros.perl |
07259352 | 16 | # |
02a3d505 | 17 | Summary: Quick Database Manager |
4e571bed | 18 | Summary(pl.UTF-8): Quick Database Manager - szybki silnik bazy danych |
02a3d505 | 19 | Name: qdbm |
2c595763 | 20 | Version: 1.8.78 |
afa12449 | 21 | Release: 4 |
6db22676 | 22 | License: LGPL v2.1+ |
dc6cf723 | 23 | Group: Libraries |
71b0088b | 24 | Source0: http://fallabs.com/qdbm/%{name}-%{version}.tar.gz |
2c595763 | 25 | # Source0-md5: 66b3bd69a651316b8d6adc2f21cf3225 |
667af7e7 | 26 | Patch0: %{name}-am_ac.patch |
b16e2c52 | 27 | Patch1: %{name}-Makefile.patch |
17117249 | 28 | Patch2: %{name}-ruby1.9.patch |
2c595763 | 29 | URL: http://fallabs.com/qdbm/ |
667af7e7 | 30 | BuildRequires: autoconf |
31 | BuildRequires: automake | |
07259352 | 32 | %{?with_java:BuildRequires: jdk} |
07cca1fc | 33 | BuildRequires: libstdc++-devel |
71b0088b | 34 | BuildRequires: libtool >= 2:1.5 |
9adf755d | 35 | %if %{with perl} |
07259352 | 36 | BuildRequires: perl-devel >= 1:5.8.0 |
37 | BuildRequires: rpm-perlprov >= 4.1-13 | |
9adf755d | 38 | %endif |
39 | %{?with_ruby:BuildRequires: ruby-devel} | |
5eddad46 | 40 | %{?with_ruby:BuildConflicts: qdbm-devel} |
02a3d505 | 41 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
42 | ||
9adf755d | 43 | %define _libexecdir %{_libdir}/qdbm |
02a3d505 | 44 | |
45 | %description | |
46 | QDBM is an embeded database library compatible with GDBM and NDBM. It | |
47 | features hash database and B+ tree database and is developed referring | |
48 | to GDBM for the purpose of the following three points: higher | |
49 | processing speed, smaller size of a database file, and simpler API. | |
dc6cf723 JB |
50 | This package includes API for C; APIs for C++, Java and CGI scripts |
51 | are contained in appropriate subpackages. APIs for Perl and Ruby | |
52 | should be installed with a source package. | |
53 | ||
c5e507c9 | 54 | %description -l pl.UTF-8 |
dc6cf723 | 55 | QDBM to biblioteka wbudowanej bazy danych kompatybilnej z GDBM i NDBM. |
c5e507c9 JR |
56 | Obsługuje bazy danych oparte na haszach oraz B+ drzewach; jest |
57 | tworzona na wzór GDBM-a mając na celu następujące trzy punkty: wyższą | |
58 | szybkość przetwarzania, mniejszy rozmiar pliku bazy danych i prostsze | |
dc6cf723 | 59 | API. Ten pakiet zawiera API dla C; API dla C++ i Javy oraz skrypty CGI |
c5e507c9 JR |
60 | znajdują się w odpowiednich podpakietach. API dla Perla i Ruby'ego |
61 | można doinstalować z pakietu źródłowego. | |
02a3d505 | 62 | |
63 | %package devel | |
dc6cf723 | 64 | Summary: Header files, utilities and documentation for QDBM |
4e571bed | 65 | Summary(pl.UTF-8): Pliki nagłówkowe, narzędzia i dokumentacja dla QDBM-a |
02a3d505 | 66 | Group: Development/Libraries |
67 | Requires: %{name} = %{version}-%{release} | |
68 | ||
69 | %description devel | |
dc6cf723 JB |
70 | This package contains header files needed to develop programs using |
71 | the QDBM library. Some utility commands are also provided. | |
72 | ||
c5e507c9 JR |
73 | %description devel -l pl.UTF-8 |
74 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z | |
75 | użyciem biblioteki QDBM. Dołączone jest także trochę programów | |
76 | narzędziowych. | |
02a3d505 | 77 | |
78 | %package static | |
dc6cf723 | 79 | Summary: QDBM static library |
4e571bed | 80 | Summary(pl.UTF-8): Biblioteka statyczna QDBM |
02a3d505 | 81 | Group: Development/Libraries |
82 | Requires: %{name}-devel = %{version}-%{release} | |
83 | ||
84 | %description static | |
dc6cf723 JB |
85 | QDBM static library. |
86 | ||
c5e507c9 | 87 | %description static -l pl.UTF-8 |
dc6cf723 | 88 | Biblioteka statyczna QDBM. |
02a3d505 | 89 | |
90 | %package plus | |
91 | Summary: C++ bindings for QDBM | |
4e571bed | 92 | Summary(pl.UTF-8): Wiązania C++ dla QDBM-a |
02a3d505 | 93 | Group: Libraries |
94 | Requires: %{name} = %{version}-%{release} | |
95 | ||
96 | %description plus | |
97 | QDBM C++ bindings. | |
98 | ||
c5e507c9 JR |
99 | %description plus -l pl.UTF-8 |
100 | Wiązania C++ dla QDBM-a. | |
dc6cf723 | 101 | |
02a3d505 | 102 | %package plus-devel |
dc6cf723 | 103 | Summary: Header files for QDBM C++ bindings |
4e571bed | 104 | Summary(pl.UTF-8): Pliki nagłówkowe wiązań C++ dla QDBM-a |
02a3d505 | 105 | Group: Development/Libraries |
07cca1fc | 106 | Requires: %{name}-devel = %{version}-%{release} |
02a3d505 | 107 | Requires: %{name}-plus = %{version}-%{release} |
07cca1fc | 108 | Requires: libstdc++-devel |
02a3d505 | 109 | |
110 | %description plus-devel | |
dc6cf723 JB |
111 | This package contains header files needed to develop programs using |
112 | the QDBM C++ bindings. | |
113 | ||
c5e507c9 JR |
114 | %description plus-devel -l pl.UTF-8 |
115 | Ten pakiet zawiera pliki nagłówkowe potrzebne do tworzenia programów z | |
116 | użyciem wiązań C++ QDBM-a. | |
02a3d505 | 117 | |
118 | %package plus-static | |
dc6cf723 | 119 | Summary: C++ static library for QDBM |
4e571bed | 120 | Summary(pl.UTF-8): Statyczna biblioteka C++ QDBM-a |
02a3d505 | 121 | Group: Development/Libraries |
122 | Requires: %{name}-plus-devel = %{version}-%{release} | |
123 | ||
124 | %description plus-static | |
dc6cf723 JB |
125 | This package contains static library to develop programs using the |
126 | QDBM C++ bindings. | |
127 | ||
c5e507c9 JR |
128 | %description plus-static -l pl.UTF-8 |
129 | Ten pakiet zawiera bibliotekę statyczną do tworzenia programów z | |
130 | użyciem wiązań C++ QDBM-a. | |
02a3d505 | 131 | |
9adf755d | 132 | %package cgi |
133 | Summary: CGI scripts with QDBM | |
4e571bed | 134 | Summary(pl.UTF-8): Skrypty CGI dla QDBM-a |
9adf755d | 135 | Group: Applications/Databases |
136 | Requires: %{name} = %{version}-%{release} | |
137 | ||
138 | %description cgi | |
139 | This package contains CGI scripts with QDBM, for administration of | |
140 | databases, file uploading, and full-text search. | |
141 | ||
c5e507c9 JR |
142 | %description cgi -l pl.UTF-8 |
143 | Ten pakiet zawiera skrypty CGI dla QDBM-a służące do administrowania | |
144 | bazami danych, przesyłania plików i wyszukiwania pełnotekstowego. | |
9adf755d | 145 | |
02a3d505 | 146 | %package java |
147 | Summary: Java libraries for QDBM | |
71b0088b | 148 | Summary(pl.UTF-8): Wiązania Javy do QDBM-a |
02a3d505 | 149 | Group: Libraries |
150 | Requires: %{name} = %{version}-%{release} | |
151 | ||
152 | %description java | |
153 | QDBM Java bindings. | |
154 | ||
c5e507c9 | 155 | %description java -l pl.UTF-8 |
71b0088b | 156 | Wiązania Javy do QDBM-a. |
dc6cf723 | 157 | |
02a3d505 | 158 | %package java-devel |
dc6cf723 | 159 | Summary: Java development library for QDBM and documentation |
4e571bed | 160 | Summary(pl.UTF-8): Biblioteka programistyczna Javy dla QDBM-a i dokumentacja |
02a3d505 | 161 | Group: Development/Libraries |
162 | Requires: %{name}-java = %{version}-%{release} | |
163 | ||
164 | %description java-devel | |
dc6cf723 | 165 | This package contains development library needed to develop programs |
02a3d505 | 166 | using the QDBM Java bindings. |
167 | ||
c5e507c9 JR |
168 | %description java-devel -l pl.UTF-8 |
169 | Ten pakiet zawiera bibliotekę programistyczną potrzebną do tworzenia | |
170 | programów z użyciem wiązań Javy QDBM-a. | |
dc6cf723 | 171 | |
9adf755d | 172 | %package perl |
173 | Summary: Perl libraries for QDBM | |
71b0088b | 174 | Summary(pl.UTF-8): Wiązania Perla do QDBM-a |
9adf755d | 175 | Group: Libraries |
02a3d505 | 176 | Requires: %{name} = %{version}-%{release} |
177 | ||
9adf755d | 178 | %description perl |
179 | QDBM Perl bindings. | |
02a3d505 | 180 | |
c5e507c9 | 181 | %description perl -l pl.UTF-8 |
71b0088b | 182 | Wiązania Perla do QDBM-a. |
9adf755d | 183 | |
184 | %package ruby | |
185 | Summary: Ruby libraries for QDBM | |
71b0088b | 186 | Summary(pl.UTF-8): Wiązania języka Ruby do QDBM-a |
9adf755d | 187 | Group: Libraries |
188 | Requires: %{name} = %{version}-%{release} | |
189 | %ruby_ver_requires_eq | |
190 | ||
191 | %description ruby | |
192 | QDBM Ruby bindings. | |
193 | ||
c5e507c9 | 194 | %description ruby -l pl.UTF-8 |
71b0088b | 195 | Wiązania języka Ruby do QDBM-a. |
dc6cf723 | 196 | |
02a3d505 | 197 | %prep |
198 | %setup -q | |
9adf755d | 199 | %patch0 -p1 |
b16e2c52 | 200 | %patch1 -p1 |
17117249 | 201 | %patch2 -p1 |
02a3d505 | 202 | |
203 | %build | |
667af7e7 | 204 | %{__libtoolize} |
205 | %{__aclocal} | |
9adf755d | 206 | %{__autoconf} |
667af7e7 | 207 | %{__automake} |
208 | %configure \ | |
71b0088b | 209 | --enable-static%{!?with_static_libs:=no} |
3ab01ba9 | 210 | %{__make} -j1 |
02a3d505 | 211 | |
212 | cd plus | |
667af7e7 | 213 | %{__libtoolize} |
214 | %{__aclocal} | |
9adf755d | 215 | %{__autoconf} |
667af7e7 | 216 | %{__automake} |
217 | %configure \ | |
71b0088b | 218 | --enable-static%{!?with_static_libs:=no} |
3ab01ba9 | 219 | %{__make} -j1 |
02a3d505 | 220 | cd .. |
221 | ||
222 | %if %{with java} | |
223 | cd java | |
667af7e7 | 224 | %{__libtoolize} |
225 | %{__aclocal} | |
9adf755d | 226 | %{__autoconf} |
667af7e7 | 227 | %{__automake} |
228 | %configure \ | |
71b0088b | 229 | --disable-static |
3ab01ba9 | 230 | %{__make} -j1 |
9adf755d | 231 | cd .. |
232 | %endif | |
233 | ||
234 | %if %{with perl} | |
235 | cd perl | |
236 | %{__autoconf} | |
237 | %configure | |
3ab01ba9 | 238 | %{__make} -j1 \ |
9adf755d | 239 | INSTALLDIRS=vendor \ |
240 | OPTIMIZE="%{rpmcflags}" | |
241 | cd .. | |
242 | %endif | |
243 | ||
244 | %if %{with ruby} | |
245 | cd ruby | |
246 | %{__autoconf} | |
02a3d505 | 247 | %configure |
3ab01ba9 | 248 | %{__make} -j1 |
02a3d505 | 249 | cd .. |
250 | %endif | |
251 | ||
252 | cd cgi | |
667af7e7 | 253 | %{__aclocal} |
254 | %{__aclocal} | |
9adf755d | 255 | %{__autoconf} |
667af7e7 | 256 | %{__automake} |
07259352 | 257 | %configure |
3ab01ba9 | 258 | %{__make} -j1 |
02a3d505 | 259 | cd .. |
260 | ||
261 | %install | |
262 | rm -rf $RPM_BUILD_ROOT | |
263 | ||
3ab01ba9 | 264 | %{__make} -j1 install \ |
9adf755d | 265 | DESTDIR=$RPM_BUILD_ROOT |
02a3d505 | 266 | |
3ab01ba9 | 267 | %{__make} -j1 -C plus install \ |
dc6cf723 | 268 | DESTDIR=$RPM_BUILD_ROOT |
02a3d505 | 269 | |
3ab01ba9 | 270 | %{__make} -j1 -C cgi install \ |
9adf755d | 271 | DESTDIR=$RPM_BUILD_ROOT |
272 | ||
02a3d505 | 273 | %if %{with java} |
3ab01ba9 | 274 | %{__make} -j1 -C java install \ |
dc6cf723 | 275 | DESTDIR=$RPM_BUILD_ROOT |
02a3d505 | 276 | %endif |
277 | ||
9adf755d | 278 | %if %{with perl} |
3ab01ba9 | 279 | %{__make} -j1 -C perl install \ |
dc6cf723 | 280 | DESTDIR=$RPM_BUILD_ROOT |
9adf755d | 281 | %endif |
282 | ||
283 | %if %{with ruby} | |
3ab01ba9 | 284 | %{__make} -j1 -C ruby install \ |
9adf755d | 285 | DESTDIR=$RPM_BUILD_ROOT |
286 | %endif | |
dc6cf723 | 287 | |
71b0088b JB |
288 | # packaged as %doc |
289 | %if %{with perl} | |
290 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/qdbm/perl/{plapidoc,*.html} | |
291 | %endif | |
292 | %if %{with ruby} | |
293 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/qdbm/ruby/{rbapidoc,*.html} | |
294 | %endif | |
295 | ||
dc6cf723 JB |
296 | %clean |
297 | rm -rf $RPM_BUILD_ROOT | |
02a3d505 | 298 | |
299 | %post -p /sbin/ldconfig | |
300 | %postun -p /sbin/ldconfig | |
301 | ||
302 | %post plus -p /sbin/ldconfig | |
303 | %postun plus -p /sbin/ldconfig | |
304 | ||
305 | %post java -p /sbin/ldconfig | |
306 | %postun java -p /sbin/ldconfig | |
307 | ||
02a3d505 | 308 | %files |
309 | %defattr(644,root,root,755) | |
310 | %doc ChangeLog NEWS README THANKS | |
311 | %attr(755,root,root) %{_libdir}/libqdbm.so.*.*.* | |
71b0088b | 312 | %attr(755,root,root) %ghost %{_libdir}/libqdbm.so.13 |
02a3d505 | 313 | |
314 | %files devel | |
315 | %defattr(644,root,root,755) | |
2c595763 | 316 | %doc doc/spex.html |
317 | %lang(ja) %doc doc/spex-ja.html | |
02a3d505 | 318 | %attr(755,root,root) %{_bindir}/dpmgr |
319 | %attr(755,root,root) %{_bindir}/dptest | |
320 | %attr(755,root,root) %{_bindir}/dptsv | |
321 | %attr(755,root,root) %{_bindir}/crmgr | |
322 | %attr(755,root,root) %{_bindir}/crtest | |
323 | %attr(755,root,root) %{_bindir}/crtsv | |
324 | %attr(755,root,root) %{_bindir}/rlmgr | |
325 | %attr(755,root,root) %{_bindir}/rltest | |
326 | %attr(755,root,root) %{_bindir}/hvmgr | |
327 | %attr(755,root,root) %{_bindir}/hvtest | |
328 | %attr(755,root,root) %{_bindir}/cbtest | |
329 | %attr(755,root,root) %{_bindir}/cbcodec | |
330 | %attr(755,root,root) %{_bindir}/vlmgr | |
331 | %attr(755,root,root) %{_bindir}/vltest | |
332 | %attr(755,root,root) %{_bindir}/vltsv | |
333 | %attr(755,root,root) %{_bindir}/odmgr | |
334 | %attr(755,root,root) %{_bindir}/odtest | |
335 | %attr(755,root,root) %{_bindir}/odidx | |
458b5f8f | 336 | %attr(755,root,root) %{_bindir}/qmttest |
dc6cf723 | 337 | %attr(755,root,root) %{_libdir}/libqdbm.so |
07cca1fc | 338 | %{_libdir}/libqdbm.la |
dc6cf723 JB |
339 | %{_includedir}/depot.h |
340 | %{_includedir}/curia.h | |
341 | %{_includedir}/relic.h | |
342 | %{_includedir}/hovel.h | |
343 | %{_includedir}/cabin.h | |
344 | %{_includedir}/villa.h | |
345 | %{_includedir}/vista.h | |
346 | %{_includedir}/odeum.h | |
347 | %{_pkgconfigdir}/qdbm.pc | |
02a3d505 | 348 | %{_mandir}/man1/dpmgr.1* |
349 | %{_mandir}/man1/dptest.1* | |
350 | %{_mandir}/man1/dptsv.1* | |
351 | %{_mandir}/man1/crmgr.1* | |
352 | %{_mandir}/man1/crtest.1* | |
353 | %{_mandir}/man1/crtsv.1* | |
354 | %{_mandir}/man1/rlmgr.1* | |
355 | %{_mandir}/man1/rltest.1* | |
356 | %{_mandir}/man1/hvmgr.1* | |
357 | %{_mandir}/man1/hvtest.1* | |
358 | %{_mandir}/man1/cbtest.1* | |
359 | %{_mandir}/man1/cbcodec.1* | |
360 | %{_mandir}/man1/vlmgr.1* | |
361 | %{_mandir}/man1/vltest.1* | |
362 | %{_mandir}/man1/vltsv.1* | |
363 | %{_mandir}/man1/odmgr.1* | |
364 | %{_mandir}/man1/odtest.1* | |
365 | %{_mandir}/man1/odidx.1* | |
458b5f8f | 366 | %{_mandir}/man1/qmttest.1* |
dc6cf723 JB |
367 | %{_mandir}/man3/qdbm.3* |
368 | %{_mandir}/man3/depot.3* | |
369 | %{_mandir}/man3/dpopen.3* | |
370 | %{_mandir}/man3/curia.3* | |
371 | %{_mandir}/man3/cropen.3* | |
372 | %{_mandir}/man3/relic.3* | |
373 | %{_mandir}/man3/hovel.3* | |
374 | %{_mandir}/man3/cabin.3* | |
375 | %{_mandir}/man3/villa.3* | |
376 | %{_mandir}/man3/vlopen.3* | |
377 | %{_mandir}/man3/vista.3* | |
378 | %{_mandir}/man3/odeum.3* | |
379 | %{_mandir}/man3/odopen.3* | |
02a3d505 | 380 | |
667af7e7 | 381 | %if %{with static_libs} |
02a3d505 | 382 | %files static |
383 | %defattr(644,root,root,755) | |
384 | %{_libdir}/libqdbm.a | |
667af7e7 | 385 | %endif |
02a3d505 | 386 | |
387 | %files plus | |
388 | %defattr(644,root,root,755) | |
389 | %attr(755,root,root) %{_libdir}/libxqdbm.so.*.*.* | |
71b0088b | 390 | %attr(755,root,root) %ghost %{_libdir}/libxqdbm.so.3 |
02a3d505 | 391 | |
392 | %files plus-devel | |
393 | %defattr(644,root,root,755) | |
394 | %doc plus/*.html plus/xapidoc | |
dc6cf723 JB |
395 | %attr(755,root,root) %{_bindir}/xdptest |
396 | %attr(755,root,root) %{_bindir}/xcrtest | |
397 | %attr(755,root,root) %{_bindir}/xvltest | |
398 | %attr(755,root,root) %{_libdir}/libxqdbm.so | |
07cca1fc | 399 | %{_libdir}/libxqdbm.la |
02a3d505 | 400 | %{_includedir}/xqdbm.h |
401 | %{_includedir}/xadbm.h | |
402 | %{_includedir}/xdepot.h | |
403 | %{_includedir}/xcuria.h | |
404 | %{_includedir}/xvilla.h | |
02a3d505 | 405 | |
667af7e7 | 406 | %if %{with static_libs} |
02a3d505 | 407 | %files plus-static |
408 | %defattr(644,root,root,755) | |
409 | %{_libdir}/libxqdbm.a | |
667af7e7 | 410 | %endif |
02a3d505 | 411 | |
9adf755d | 412 | %files cgi |
413 | %defattr(644,root,root,755) | |
414 | %doc cgi/*.html | |
415 | # don't move cgi binaries to /usr/lib/cgi-bin - write your own wrapper | |
416 | # (shell script) instead, utilize SCRIPT_NAME env. var. and put into | |
417 | # your cgi-bin directory | |
418 | %dir %{_libexecdir} | |
419 | %attr(755,root,root) %{_libexecdir}/qadm.cgi | |
420 | %attr(755,root,root) %{_libexecdir}/qupl.cgi | |
421 | %attr(755,root,root) %{_libexecdir}/qfts.cgi | |
422 | %dir %{_datadir}/qdbm | |
423 | %dir %{_datadir}/qdbm/cgi | |
424 | # *.conf are config templates not real configs - don't mark them with | |
425 | # %%config, don't move it to /etc | |
426 | %{_datadir}/qdbm/cgi/qadm.conf | |
427 | %{_datadir}/qdbm/cgi/qupl.conf | |
428 | %{_datadir}/qdbm/cgi/qfts.conf | |
429 | ||
02a3d505 | 430 | %if %{with java} |
431 | %files java | |
432 | %defattr(644,root,root,755) | |
433 | %attr(755,root,root) %{_libdir}/libjqdbm.so.*.*.* | |
71b0088b | 434 | %attr(755,root,root) %ghost %{_libdir}/libjqdbm.so.1 |
02a3d505 | 435 | %{_libdir}/qdbm.jar |
436 | ||
437 | %files java-devel | |
438 | %defattr(644,root,root,755) | |
9adf755d | 439 | %doc java/jspex.html java/japidoc |
440 | %lang(ja) %doc java/jspex-ja.html | |
02a3d505 | 441 | %attr(755,root,root) %{_libdir}/libjqdbm.so |
458b5f8f | 442 | %{_libdir}/libjqdbm.la |
02a3d505 | 443 | %endif |
444 | ||
9adf755d | 445 | %if %{with perl} |
446 | %files perl | |
02a3d505 | 447 | %defattr(644,root,root,755) |
9adf755d | 448 | %doc perl/plspex.html perl/plapidoc |
449 | %lang(ja) %doc perl/plspex-ja.html | |
450 | %attr(755,root,root) %{_bindir}/plcrtest | |
451 | %attr(755,root,root) %{_bindir}/pldptest | |
452 | %attr(755,root,root) %{_bindir}/plvltest | |
453 | %{perl_vendorarch}/Curia.pm | |
454 | %{perl_vendorarch}/Depot.pm | |
455 | %{perl_vendorarch}/Villa.pm | |
10f9e982 | 456 | %dir %{perl_vendorarch}/auto/Curia |
9adf755d | 457 | %{perl_vendorarch}/auto/Curia/Curia.bs |
458 | %attr(755,root,root) %{perl_vendorarch}/auto/Curia/Curia.so | |
10f9e982 | 459 | %dir %{perl_vendorarch}/auto/Depot |
9adf755d | 460 | %{perl_vendorarch}/auto/Depot/Depot.bs |
461 | %attr(755,root,root) %{perl_vendorarch}/auto/Depot/Depot.so | |
10f9e982 | 462 | %dir %{perl_vendorarch}/auto/Villa |
9adf755d | 463 | %{perl_vendorarch}/auto/Villa/Villa.bs |
464 | %attr(755,root,root) %{perl_vendorarch}/auto/Villa/Villa.so | |
465 | %endif | |
466 | ||
467 | %if %{with ruby} | |
468 | %files ruby | |
469 | %defattr(644,root,root,755) | |
470 | %doc ruby/rbspex.html ruby/rbapidoc | |
471 | %lang(ja) %doc ruby/rbspex-ja.html | |
472 | %attr(755,root,root) %{_bindir}/rbcrtest | |
473 | %attr(755,root,root) %{_bindir}/rbdptest | |
474 | %attr(755,root,root) %{_bindir}/rbvltest | |
475 | %{ruby_sitelibdir}/curia.rb | |
476 | %{ruby_sitelibdir}/depot.rb | |
477 | %{ruby_sitelibdir}/villa.rb | |
478 | %attr(755,root,root) %{ruby_sitearchdir}/mod_curia.so | |
479 | %attr(755,root,root) %{ruby_sitearchdir}/mod_depot.so | |
480 | %attr(755,root,root) %{ruby_sitearchdir}/mod_villa.so | |
481 | %endif |