]>
Commit | Line | Data |
---|---|---|
46524cf3 AM |
1 | # |
2 | # Conditional build: | |
3369d01e JB |
3 | %bcond_without java # don't build java bindings |
4 | %bcond_without tcl # don't build Tcl bindings | |
5 | %bcond_with pmutex # use POSIX mutexes (only process-private with linuxthreads) | |
6 | %bcond_without nptl # don't use process-shared POSIX mutexes (NPTL provides full interface) | |
46524cf3 AM |
7 | %bcond_without static_libs # don't build static libraries |
8 | # | |
9 | %{?with_nptl:%define with_pmutex 1} | |
3369d01e JB |
10 | %ifnarch i586 i686 athlon pentium3 pentium4 %{x8664} |
11 | %undefine with_java | |
12 | %endif | |
46524cf3 AM |
13 | %define mver 4.5 |
14 | Summary: Berkeley DB database library for C | |
fa25b87f | 15 | Summary(pl.UTF-8): Biblioteka C do obsługi baz Berkeley DB |
3369d01e | 16 | Name: db4.5 |
46524cf3 | 17 | Version: %{mver}.20 |
9d1f647d | 18 | Release: 3 |
46524cf3 AM |
19 | Epoch: 0 |
20 | License: Sleepycat public license (GPL-like, see LICENSE) | |
21 | Group: Libraries | |
22 | # alternative site (sometimes working): http://www.berkeleydb.com/ | |
23 | Source0: http://download.oracle.com/berkeley-db/db-%{version}.tar.gz | |
24 | # Source0-md5: b0f1c777708cb8e9d37fb47e7ed3312d | |
d4304af1 AM |
25 | Patch0: patch.4.5.20.1 |
26 | Patch1: patch.4.5.20.2 | |
46524cf3 AM |
27 | URL: http://www.oracle.com/technology/products/berkeley-db/index.html |
28 | BuildRequires: autoconf | |
29 | BuildRequires: automake | |
30 | BuildRequires: ed | |
31 | %{?with_java:BuildRequires: jdk} | |
32 | BuildRequires: libstdc++-devel | |
33 | BuildRequires: libtool | |
34 | BuildRequires: sed >= 4.0 | |
35 | %{?with_tcl:BuildRequires: tcl-devel >= 8.4.0} | |
36 | Provides: db = %{version}-%{release} | |
37 | Obsoletes: db4 | |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
39 | ||
46524cf3 AM |
40 | %description |
41 | The Berkeley Database (Berkeley DB) is a programmatic toolkit that | |
42 | provides embedded database support for both traditional and | |
43 | client/server applications. Berkeley DB is used by many applications, | |
44 | including Python and Perl, so this should be installed on all systems. | |
45 | ||
08a6ad78 JR |
46 | %description -l pl.UTF-8 |
47 | Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych | |
48 | zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i | |
49 | klient-serwer. Berkeley db jest używana w wielu aplikacjach, w tym w | |
46524cf3 AM |
50 | Pythonie i Perlu. |
51 | ||
52 | %package devel | |
53 | Summary: Header files for Berkeley database library | |
fa25b87f | 54 | Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Berkeley Database |
46524cf3 AM |
55 | Group: Development/Libraries |
56 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
57 | Provides: db-devel = %{version}-%{release} | |
58 | Obsoletes: db3-devel | |
59 | Obsoletes: db4-devel | |
60 | ||
61 | %description devel | |
62 | The Berkeley Database (Berkeley DB) is a programmatic toolkit that | |
63 | provides embedded database support for both traditional and | |
64 | client/server applications. Berkeley DB includes B+tree, Extended | |
65 | Linear Hashing, Fixed and Variable-length record access methods, | |
66 | transactions, locking, logging, shared memory caching and database | |
67 | recovery. DB supports C, C++, Java and Perl APIs. | |
68 | ||
69 | This package contains the header files, libraries, and documentation | |
70 | for building programs which use Berkeley DB. | |
71 | ||
08a6ad78 JR |
72 | %description devel -l pl.UTF-8 |
73 | Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych | |
74 | zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i | |
75 | klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i | |
76 | funkcje mieszające ze stałą lub zmienną wielkością rekordu, | |
77 | transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie | |
46524cf3 AM |
78 | dla C, C++, Javy i Perla. |
79 | ||
08a6ad78 JR |
80 | Ten pakiet zawiera pliki nagłówkowe i dokumentację do budowania |
81 | programów używających Berkeley DB. | |
46524cf3 AM |
82 | |
83 | %package static | |
84 | Summary: Static libraries for Berkeley database library | |
fa25b87f | 85 | Summary(pl.UTF-8): Statyczne biblioteki Berkeley Database |
46524cf3 AM |
86 | Group: Development/Libraries |
87 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
88 | Provides: db-static = %{version}-%{release} | |
89 | Obsoletes: db3-static | |
90 | Obsoletes: db4-static | |
91 | ||
92 | %description static | |
93 | The Berkeley Database (Berkeley DB) is a programmatic toolkit that | |
94 | provides embedded database support for both traditional and | |
95 | client/server applications. Berkeley DB includes B+tree, Extended | |
96 | Linear Hashing, Fixed and Variable-length record access methods, | |
97 | transactions, locking, logging, shared memory caching and database | |
98 | recovery. DB supports C, C++, Java and Perl APIs. | |
99 | ||
100 | This package contains the static libraries for building programs which | |
101 | use Berkeley DB. | |
102 | ||
08a6ad78 JR |
103 | %description static -l pl.UTF-8 |
104 | Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych | |
105 | zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i | |
106 | klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i | |
107 | funkcje mieszające ze stałą lub zmienną wielkością rekordu, | |
108 | transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie | |
46524cf3 AM |
109 | dla C, C++, Javy i Perla. |
110 | ||
08a6ad78 JR |
111 | Ten pakiet zawiera statyczne biblioteki do budowania programów |
112 | używających Berkeley DB. | |
46524cf3 AM |
113 | |
114 | %package cxx | |
115 | Summary: Berkeley database library for C++ | |
fa25b87f | 116 | Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla C++ |
46524cf3 AM |
117 | Group: Libraries |
118 | Provides: db-cxx = %{version}-%{release} | |
119 | Obsoletes: db4-cxx | |
120 | ||
121 | %description cxx | |
122 | Berkeley database library for C++. | |
123 | ||
08a6ad78 | 124 | %description cxx -l pl.UTF-8 |
46524cf3 AM |
125 | Biblioteka baz danych Berkeley dla C++. |
126 | ||
127 | %package cxx-devel | |
128 | Summary: Header files for db-cxx library | |
fa25b87f | 129 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki db-cxx |
46524cf3 AM |
130 | Group: Development/Libraries |
131 | Requires: %{name}-cxx = %{epoch}:%{version}-%{release} | |
132 | Requires: %{name}-devel = %{epoch}:%{version}-%{release} | |
133 | Provides: db-cxx-devel = %{version}-%{release} | |
134 | Conflicts: db-devel < 4.1.25-3 | |
135 | ||
136 | %description cxx-devel | |
137 | Header files for db-cxx library. | |
138 | ||
08a6ad78 JR |
139 | %description cxx-devel -l pl.UTF-8 |
140 | Pliki nagłówkowe biblioteki db-cxx. | |
46524cf3 AM |
141 | |
142 | %package cxx-static | |
143 | Summary: Static version of db-cxx library | |
fa25b87f | 144 | Summary(pl.UTF-8): Statyczna wersja biblioteki db-cxx |
46524cf3 AM |
145 | Group: Development/Libraries |
146 | Requires: %{name}-cxx-devel = %{epoch}:%{version}-%{release} | |
147 | Provides: db-cxx-static = %{version}-%{release} | |
148 | Conflicts: db-static < 4.2.50-1 | |
149 | ||
150 | %description cxx-static | |
151 | Static version of db-cxx library. | |
152 | ||
08a6ad78 | 153 | %description cxx-static -l pl.UTF-8 |
46524cf3 AM |
154 | Statyczna wersja biblioteki db-cxx. |
155 | ||
156 | %package java | |
157 | Summary: Berkeley database library for Java | |
fa25b87f | 158 | Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla Javy |
46524cf3 AM |
159 | Group: Libraries |
160 | Requires: jre | |
161 | Provides: db-java = %{version}-%{release} | |
162 | ||
163 | %description java | |
164 | Berkeley database library for Java. | |
165 | ||
08a6ad78 | 166 | %description java -l pl.UTF-8 |
46524cf3 AM |
167 | Biblioteka baz danych Berkeley dla Javy. |
168 | ||
169 | %package java-devel | |
170 | Summary: Development files for db-java library | |
fa25b87f | 171 | Summary(pl.UTF-8): Pliki programistyczne biblioteki db-java |
46524cf3 AM |
172 | Group: Development/Languages/Java |
173 | Requires: %{name}-java = %{epoch}:%{version}-%{release} | |
174 | Provides: db-java-devel = %{version}-%{release} | |
175 | Conflicts: db-devel < 4.1.25-3 | |
176 | ||
177 | %description java-devel | |
178 | Development files for db-java library. | |
179 | ||
08a6ad78 | 180 | %description java-devel -l pl.UTF-8 |
46524cf3 AM |
181 | Pliki programistyczne biblioteki db-java. |
182 | ||
183 | %package tcl | |
184 | Summary: Berkeley database library for Tcl | |
fa25b87f | 185 | Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla Tcl |
46524cf3 AM |
186 | Group: Development/Languages/Tcl |
187 | Requires: tcl | |
188 | Provides: db-tcl = %{version}-%{release} | |
189 | Obsoletes: db4-tcl | |
190 | ||
191 | %description tcl | |
192 | Berkeley database library for Tcl. | |
193 | ||
08a6ad78 | 194 | %description tcl -l pl.UTF-8 |
46524cf3 AM |
195 | Biblioteka baz danych Berkeley dla Tcl. |
196 | ||
197 | %package tcl-devel | |
198 | Summary: Development files for db-tcl library | |
fa25b87f | 199 | Summary(pl.UTF-8): Pliki programistyczne biblioteki db-tcl |
46524cf3 AM |
200 | Group: Development/Languages/Tcl |
201 | Requires: %{name}-tcl = %{epoch}:%{version}-%{release} | |
202 | Provides: db-tcl-devel = %{version}-%{release} | |
203 | Conflicts: db-devel < 4.1.25-3 | |
204 | ||
205 | %description tcl-devel | |
206 | Development files for db-tcl library. | |
207 | ||
08a6ad78 | 208 | %description tcl-devel -l pl.UTF-8 |
46524cf3 AM |
209 | Pliki programistyczne biblioteki db-tcl. |
210 | ||
211 | %package utils | |
212 | Summary: Command line tools for managing Berkeley DB databases | |
fa25b87f | 213 | Summary(pl.UTF-8): Narzędzia do obsługi baz Berkeley DB z linii poleceń |
46524cf3 AM |
214 | Group: Applications/Databases |
215 | Requires: %{name} = %{epoch}:%{version}-%{release} | |
216 | Provides: db-utils = %{version}-%{release} | |
217 | Obsoletes: db4-utils | |
218 | # obsolete Ra package | |
219 | Obsoletes: db3-utils | |
220 | ||
221 | %description utils | |
222 | The Berkeley Database (Berkeley DB) is a programmatic toolkit that | |
223 | provides embedded database support for both traditional and | |
224 | client/server applications. Berkeley DB includes B+tree, Extended | |
225 | Linear Hashing, Fixed and Variable-length record access methods, | |
226 | transactions, locking, logging, shared memory caching and database | |
227 | recovery. DB supports C, C++, Java and Perl APIs. | |
228 | ||
229 | This package contains command line tools for managing Berkeley DB | |
230 | databases. | |
231 | ||
08a6ad78 JR |
232 | %description utils -l pl.UTF-8 |
233 | Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych | |
234 | zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i | |
235 | klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i | |
236 | funkcje mieszające ze stałą lub zmienną wielkością rekordu, | |
237 | transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie | |
46524cf3 AM |
238 | dla C, C++, Javy i Perla. |
239 | ||
08a6ad78 JR |
240 | Ten pakiet zawiera narzędzia do obsługi baz Berkeley DB z linii |
241 | poleceń. | |
46524cf3 AM |
242 | |
243 | %prep | |
244 | %setup -q -n db-%{version} | |
d4304af1 AM |
245 | %patch0 -p0 |
246 | %patch1 -p0 | |
46524cf3 | 247 | |
1f9bf16a | 248 | %if !%{with nptl} |
46524cf3 AM |
249 | sed -i -e 's,AM_PTHREADS_SHARED("POSIX/.*,:,' dist/aclocal/mutex.ac |
250 | %endif | |
251 | ||
252 | %build | |
253 | cd dist | |
254 | cp -f /usr/share/aclocal/libtool.m4 aclocal/libtool.ac | |
255 | cp -f /usr/share/automake/config.sub . | |
256 | cp -f /usr/share/libtool/ltmain.sh . | |
257 | sh s_config | |
258 | cd .. | |
259 | ||
260 | %if %{with static_libs} | |
261 | cp -a build_unix build_unix.static | |
262 | ||
263 | cd build_unix.static | |
264 | ||
265 | CC="%{__cc}" | |
266 | CXX="%{__cxx}" | |
267 | CFLAGS="%{rpmcflags}" | |
268 | CXXFLAGS="%{rpmcflags} -fno-implicit-templates" | |
f476f5d1 | 269 | LDFLAGS="%{rpmcflags} %{rpmldflags}" |
46524cf3 AM |
270 | export CC CXX CFLAGS CXXFLAGS LDFLAGS |
271 | ||
272 | ../dist/%configure \ | |
273 | --enable-compat185 \ | |
274 | --disable-shared \ | |
275 | --enable-static \ | |
276 | --enable-rpc \ | |
277 | --%{?with_pmutex:en}%{!?with_pmutex:dis}able-posixmutexes \ | |
278 | --enable-cxx | |
279 | ||
280 | # (temporarily?) disabled because of compilation errors: | |
281 | # --enable-dump185 \ | |
282 | ||
283 | %{__make} library_build | |
284 | cd .. | |
285 | %endif | |
286 | ||
287 | cd build_unix | |
288 | ||
289 | ../dist/%configure \ | |
290 | --prefix=%{_prefix} \ | |
291 | --libdir=%{_libdir} \ | |
292 | --enable-compat185 \ | |
293 | --enable-rpc \ | |
294 | --%{?with_pmutex:en}%{!?with_pmutex:dis}able-posixmutexes \ | |
295 | --enable-cxx \ | |
296 | %{?with_tcl:--enable-tcl} \ | |
297 | %{?with_tcl:--with-tcl=/usr/lib} \ | |
298 | %{?with_java:--enable-java} \ | |
299 | --disable-static \ | |
300 | --enable-shared | |
301 | ||
302 | %{__make} library_build \ | |
303 | TCFLAGS='-I$(builddir) -I%{_includedir}' \ | |
304 | LIBSO_LIBS="\$(LIBS)" \ | |
305 | LIBTSO_LIBS="\$(LIBS) -ltcl" | |
306 | ||
307 | %install | |
308 | rm -rf $RPM_BUILD_ROOT | |
309 | install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir},/%{_lib}} | |
310 | %if %{with java} | |
311 | install -d $RPM_BUILD_ROOT%{_javadir} | |
312 | %endif | |
313 | ||
314 | %if %{with static_libs} | |
315 | %{__make} -C build_unix.static library_install \ | |
316 | docdir=%{_docdir}/db-%{version}-docs \ | |
317 | DESTDIR=$RPM_BUILD_ROOT | |
318 | %endif | |
319 | ||
320 | %{__make} -C build_unix library_install \ | |
321 | docdir=%{_docdir}/db-%{version}-docs \ | |
322 | DESTDIR=$RPM_BUILD_ROOT \ | |
323 | LIB_INSTALL_FILE_LIST="" | |
324 | ||
325 | mv $RPM_BUILD_ROOT%{_libdir}/libdb-%{mver}.so $RPM_BUILD_ROOT/%{_lib} | |
326 | ||
327 | cd $RPM_BUILD_ROOT%{_libdir} | |
328 | ln -sf /%{_lib}/libdb-%{mver}.so libdb.so | |
329 | ln -sf /%{_lib}/libdb-%{mver}.so libdb4.so | |
330 | ln -sf /%{_lib}/libdb-%{mver}.so libdb-%{mver}.so | |
331 | ln -sf /%{_lib}/libdb-%{mver}.so libndbm.so | |
332 | ln -sf libdb-%{mver}.la libdb.la | |
333 | ln -sf libdb-%{mver}.la libdb4.la | |
334 | ln -sf libdb-%{mver}.la libndbm.la | |
335 | %if %{with java} | |
336 | ln -sf libdb_java-%{mver}.la libdb_java.la | |
337 | mv -f $RPM_BUILD_ROOT%{_libdir}/*.jar $RPM_BUILD_ROOT%{_javadir} | |
338 | %endif | |
339 | %if %{with tcl} | |
340 | ln -sf libdb_tcl-%{mver}.so libdb_tcl.so | |
341 | ln -sf libdb_tcl-%{mver}.la libdb_tcl.la | |
342 | %endif | |
343 | ln -sf libdb_cxx-%{mver}.la libdb_cxx.la | |
344 | %if %{with static_libs} | |
345 | mv -f libdb.a libdb-%{mver}.a | |
346 | ln -sf libdb-%{mver}.a libdb.a | |
347 | ln -sf libdb-%{mver}.a libdb4.a | |
348 | ln -sf libdb-%{mver}.a libndbm.a | |
349 | mv -f libdb_cxx.a libdb_cxx-%{mver}.a | |
350 | ln -sf libdb_cxx-%{mver}.a libdb_cxx.a | |
351 | %endif | |
352 | ln -sf libdb_cxx-%{mver}.so libdb_cxx.so | |
353 | ||
354 | sed -i "s/old_library=''/old_library='libdb-%{mver}.a'/" libdb-%{mver}.la | |
355 | sed -i "s/old_library=''/old_library='libdb_cxx-%{mver}.a'/" libdb_cxx-%{mver}.la | |
356 | ||
357 | cd - | |
358 | rm -f examples_c*/tags | |
359 | install -d $RPM_BUILD_ROOT%{_examplesdir}/db-%{version} | |
360 | cp -rf examples_c/* $RPM_BUILD_ROOT%{_examplesdir}/db-%{version} | |
361 | ||
362 | install -d $RPM_BUILD_ROOT%{_examplesdir}/db-cxx-%{version} | |
363 | cp -rf examples_cxx/* $RPM_BUILD_ROOT%{_examplesdir}/db-cxx-%{version} | |
364 | ||
365 | %if %{with java} | |
366 | install -d $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version} | |
367 | cp -rf examples_java/* $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version} | |
368 | %endif | |
369 | ||
370 | %clean | |
371 | rm -rf $RPM_BUILD_ROOT | |
372 | ||
373 | %post -p /sbin/ldconfig | |
374 | %postun -p /sbin/ldconfig | |
375 | ||
376 | %post tcl -p /sbin/ldconfig | |
377 | %postun tcl -p /sbin/ldconfig | |
378 | ||
379 | %post cxx -p /sbin/ldconfig | |
380 | %postun cxx -p /sbin/ldconfig | |
381 | ||
382 | %files | |
383 | %defattr(644,root,root,755) | |
384 | %doc LICENSE README | |
385 | %attr(755,root,root) /%{_lib}/libdb-%{mver}.so | |
386 | %dir %{_docdir}/db-%{version}-docs | |
387 | %{_docdir}/db-%{version}-docs/index.html | |
388 | ||
389 | %files devel | |
390 | %defattr(644,root,root,755) | |
391 | %attr(755,root,root) %{_libdir}/libdb-%{mver}.so | |
392 | %attr(755,root,root) %{_libdir}/libdb4.so | |
393 | %attr(755,root,root) %{_libdir}/libdb.so | |
394 | %attr(755,root,root) %{_libdir}/libndbm.so | |
395 | %{_libdir}/libdb-%{mver}.la | |
396 | %{_libdir}/libdb4.la | |
397 | %{_libdir}/libdb.la | |
398 | %{_libdir}/libndbm.la | |
399 | %{_includedir}/db.h | |
400 | %{_includedir}/db_185.h | |
401 | %{_docdir}/db-%{version}-docs/api_c | |
402 | %dir %{_docdir}/db-%{version}-docs/gsg | |
403 | %{_docdir}/db-%{version}-docs/gsg/C | |
404 | %dir %{_docdir}/db-%{version}-docs/gsg_txn | |
405 | %{_docdir}/db-%{version}-docs/gsg_txn/C | |
406 | %dir %{_docdir}/db-%{version}-docs/gsg_db_rep | |
407 | %{_docdir}/db-%{version}-docs/gsg_db_rep/C | |
408 | %{_docdir}/db-%{version}-docs/images | |
409 | %{_docdir}/db-%{version}-docs/ref | |
410 | %{_examplesdir}/db-%{version} | |
411 | ||
412 | %if %{with static_libs} | |
413 | %files static | |
414 | %defattr(644,root,root,755) | |
415 | %{_libdir}/libdb-%{mver}.a | |
416 | %{_libdir}/libdb4.a | |
417 | %{_libdir}/libdb.a | |
418 | %{_libdir}/libndbm.a | |
419 | %endif | |
420 | ||
421 | %files cxx | |
422 | %defattr(644,root,root,755) | |
423 | %attr(755,root,root) %{_libdir}/libdb_cxx-%{mver}.so | |
424 | ||
425 | %files cxx-devel | |
426 | %defattr(644,root,root,755) | |
427 | %attr(755,root,root) %{_libdir}/libdb_cxx.so | |
428 | %{_libdir}/libdb_cxx-%{mver}.la | |
429 | %{_libdir}/libdb_cxx.la | |
430 | %{_includedir}/db_cxx.h | |
431 | %{_docdir}/db-%{version}-docs/api_cxx | |
432 | %{_docdir}/db-%{version}-docs/gsg/CXX | |
433 | %{_docdir}/db-%{version}-docs/gsg_txn/CXX | |
434 | %{_docdir}/db-%{version}-docs/gsg_db_rep/CXX | |
435 | %{_examplesdir}/db-cxx-%{version} | |
436 | ||
437 | %if %{with static_libs} | |
438 | %files cxx-static | |
439 | %defattr(644,root,root,755) | |
440 | %{_libdir}/libdb_cxx-%{mver}.a | |
441 | %{_libdir}/libdb_cxx.a | |
442 | %endif | |
443 | ||
444 | %if %{with java} | |
445 | %files java | |
446 | %defattr(644,root,root,755) | |
447 | %attr(755,root,root) %{_libdir}/libdb_java-%{mver}.so | |
448 | %{_javadir}/db.jar | |
449 | ||
450 | %files java-devel | |
451 | %defattr(644,root,root,755) | |
452 | %attr(755,root,root) %{_libdir}/libdb_java.so | |
453 | %{_libdir}/libdb_java-%{mver}.la | |
454 | %{_libdir}/libdb_java.la | |
455 | %{_docdir}/db-%{version}-docs/collections | |
456 | %{_docdir}/db-%{version}-docs/gsg/JAVA | |
457 | %{_docdir}/db-%{version}-docs/gsg_txn/JAVA | |
458 | %{_docdir}/db-%{version}-docs/gsg_db_rep/JAVA | |
459 | %{_docdir}/db-%{version}-docs/java | |
460 | %{_examplesdir}/db-java-%{version} | |
461 | %endif | |
462 | ||
463 | %if %{with tcl} | |
464 | %files tcl | |
465 | %defattr(644,root,root,755) | |
466 | %attr(755,root,root) %{_libdir}/libdb_tcl-%{mver}.so | |
467 | ||
468 | %files tcl-devel | |
469 | %defattr(644,root,root,755) | |
470 | %attr(755,root,root) %{_libdir}/libdb_tcl.so | |
471 | %{_libdir}/libdb_tcl-%{mver}.la | |
472 | %{_libdir}/libdb_tcl.la | |
473 | %{_docdir}/db-%{version}-docs/api_tcl | |
474 | %endif | |
475 | ||
476 | %files utils | |
477 | %defattr(644,root,root,755) | |
478 | %attr(755,root,root) %{_bindir}/berkeley_db_svc | |
479 | %attr(755,root,root) %{_bindir}/db*_archive | |
480 | %attr(755,root,root) %{_bindir}/db*_checkpoint | |
481 | %attr(755,root,root) %{_bindir}/db*_deadlock | |
482 | %attr(755,root,root) %{_bindir}/db*_dump | |
483 | #%attr(755,root,root) %{_bindir}/db*_dump185 | |
484 | %attr(755,root,root) %{_bindir}/db*_hotbackup | |
485 | %attr(755,root,root) %{_bindir}/db*_load | |
486 | %attr(755,root,root) %{_bindir}/db*_printlog | |
487 | %attr(755,root,root) %{_bindir}/db*_recover | |
488 | %attr(755,root,root) %{_bindir}/db*_stat | |
489 | %attr(755,root,root) %{_bindir}/db*_upgrade | |
490 | %attr(755,root,root) %{_bindir}/db*_verify | |
491 | %{_docdir}/db-%{version}-docs/utility |