3 %bcond_without java # don't build Java bindings
4 %bcond_without tcl # don't build Tcl bindings
5 %bcond_without static_libs # don't build static libraries
6 %bcond_with default_db # use this db as default system db
10 %define libver %{major}.0
11 %define ver %{libver}.32
13 Summary: Berkeley DB database library for C
14 Summary(pl.UTF-8): Biblioteka C do obsługi baz Berkeley DB
16 Version: %{ver}.%{patchlevel}
18 License: BSD-like (see LICENSE)
20 #Source0Download: http://www.oracle.com/technetwork/database/berkeleydb/downloads/index-082944.html
21 Source0: http://download.oracle.com/berkeley-db/db-%{ver}.tar.gz
22 # Source0-md5: b63afbd6ab191d0f19e00927f25d66fe
23 URL: http://www.oracle.com/technetwork/database/berkeleydb/downloads/index.html
24 BuildRequires: automake
27 BuildRequires: rpm-javaprov
29 BuildRequires: libstdc++-devel
30 BuildRequires: rpmbuild(macros) >= 1.426
31 BuildRequires: sed >= 4.0
32 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.0}
33 Requires: uname(release) >= 2.6.0
34 %if %{with default_db}
35 Provides: db = %{version}-%{release}
36 Provides: db = %{libver}
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 %if %{without default_db}
42 %define _includedir %{_prefix}/include/db%{libver}
46 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
47 provides embedded database support for both traditional and
48 client/server applications. Berkeley DB is used by many applications,
49 including Python and Perl, so this should be installed on all systems.
51 %description -l pl.UTF-8
52 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
53 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
54 klient-serwer. Berkeley db jest używana w wielu aplikacjach, w tym w
58 Summary: Header files for Berkeley database library
59 Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Berkeley Database
60 Group: Development/Libraries
61 Requires: %{name} = %{version}-%{release}
62 %if %{with default_db}
63 Provides: db-devel = %{version}-%{release}
70 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
71 provides embedded database support for both traditional and
72 client/server applications. Berkeley DB includes B+tree, Extended
73 Linear Hashing, Fixed and Variable-length record access methods,
74 transactions, locking, logging, shared memory caching and database
75 recovery. DB supports C, C++, Java and Perl APIs.
77 This package contains the header files, libraries, and documentation
78 for building programs which use Berkeley DB.
80 %description devel -l pl.UTF-8
81 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
82 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
83 klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i
84 funkcje mieszające ze stałą lub zmienną wielkością rekordu,
85 transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie
86 dla C, C++, Javy i Perla.
88 Ten pakiet zawiera pliki nagłówkowe i dokumentację do budowania
89 programów używających Berkeley DB.
92 Summary: Static libraries for Berkeley database library
93 Summary(pl.UTF-8): Statyczne biblioteki Berkeley Database
94 Group: Development/Libraries
95 Requires: %{name}-devel = %{version}-%{release}
96 %if %{with default_db}
97 Provides: db-static = %{version}-%{release}
100 Obsoletes: db4-static
104 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
105 provides embedded database support for both traditional and
106 client/server applications. Berkeley DB includes B+tree, Extended
107 Linear Hashing, Fixed and Variable-length record access methods,
108 transactions, locking, logging, shared memory caching and database
109 recovery. DB supports C, C++, Java and Perl APIs.
111 This package contains the static libraries for building programs which
114 %description static -l pl.UTF-8
115 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
116 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
117 klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i
118 funkcje mieszające ze stałą lub zmienną wielkością rekordu,
119 transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie
120 dla C, C++, Javy i Perla.
122 Ten pakiet zawiera statyczne biblioteki do budowania programów
123 używających Berkeley DB.
126 Summary: Berkeley database library for C++
127 Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla C++
129 %if %{with default_db}
130 Provides: db-cxx = %{version}-%{release}
135 Berkeley database library for C++.
137 %description cxx -l pl.UTF-8
138 Biblioteka baz danych Berkeley dla C++.
141 Summary: Header files for db-cxx library
142 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki db-cxx
143 Group: Development/Libraries
144 Requires: %{name}-cxx = %{version}-%{release}
145 Requires: %{name}-devel = %{version}-%{release}
146 %if %{with default_db}
147 Provides: db-cxx-devel = %{version}-%{release}
148 Obsoletes: db-cxx-devel
150 Conflicts: db-devel < 4.1.25-3
152 %description cxx-devel
153 Header files for db-cxx library.
155 %description cxx-devel -l pl.UTF-8
156 Pliki nagłówkowe biblioteki db-cxx.
159 Summary: Static version of db-cxx library
160 Summary(pl.UTF-8): Statyczna wersja biblioteki db-cxx
161 Group: Development/Libraries
162 Requires: %{name}-cxx-devel = %{version}-%{release}
163 %if %{with default_db}
164 Provides: db-cxx-static = %{version}-%{release}
165 Obsoletes: db-cxx-static
167 Conflicts: db-static < 4.2.50-1
169 %description cxx-static
170 Static version of db-cxx library.
172 %description cxx-static -l pl.UTF-8
173 Statyczna wersja biblioteki db-cxx.
176 Summary: Berkeley database library for Java
177 Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla Javy
179 Requires: jpackage-utils
180 %if %{with default_db}
181 Provides: db-java = %{version}-%{release}
186 Berkeley database library for Java.
188 %description java -l pl.UTF-8
189 Biblioteka baz danych Berkeley dla Javy.
192 Summary: Development files for db-java library
193 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-java
194 Group: Development/Languages/Java
195 Requires: %{name}-java = %{version}-%{release}
196 %if %{with default_db}
197 Provides: db-java-devel = %{version}-%{release}
198 Obsoletes: db-java-devel
200 Conflicts: db-devel < 4.1.25-3
202 %description java-devel
203 Development files for db-java library.
205 %description java-devel -l pl.UTF-8
206 Pliki programistyczne biblioteki db-java.
209 Summary: Berkeley database library for Tcl
210 Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla Tcl
211 Group: Development/Languages/Tcl
213 %if %{with default_db}
214 Provides: db-tcl = %{version}-%{release}
219 Berkeley database library for Tcl.
221 %description tcl -l pl.UTF-8
222 Biblioteka baz danych Berkeley dla Tcl.
225 Summary: Development files for db-tcl library
226 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-tcl
227 Group: Development/Languages/Tcl
228 Requires: %{name}-tcl = %{version}-%{release}
229 %if %{with default_db}
230 Provides: db-tcl-devel = %{version}-%{release}
231 Obsoletes: db-tcl-devel
233 Conflicts: db-devel < 4.1.25-3
235 %description tcl-devel
236 Development files for db-tcl library.
238 %description tcl-devel -l pl.UTF-8
239 Pliki programistyczne biblioteki db-tcl.
242 Summary: SQL layer for Berkeley database library
243 Summary(pl.UTF-8): Wartstwa SQL dla biblioteki baz danych Berkeley
245 %if %{with default_db}
246 Provides: db-sql = %{version}-%{release}
250 SQL layer for Berkeley database library.
252 %description sql -l pl.UTF-8
253 Warstwa SQL dla biblioteki baz danych Berkeley.
256 Summary: Development files for db-sql library
257 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-sql
258 Group: Development/Libraries
259 Requires: %{name}-sql = %{version}-%{release}
260 %if %{with default_db}
261 Provides: db-sql-devel = %{version}-%{release}
262 Obsoletes: db-sql-devel
265 %description sql-devel
266 Development files for db-sql library.
268 %description sql-devel -l pl.UTF-8
269 Pliki programistyczne biblioteki db-sql.
272 Summary: STL API for Berkeley Database library
273 Summary(pl.UTF-8): API STL dla biblioteki Berkeley Database
275 %if %{with default_db}
276 Provides: db-stl = %{version}-%{release}
280 STL API for Berkeley database library.
282 %description stl -l pl.UTF-8
283 API STL dla biblioteki Berkeley Database.
286 Summary: Development files for db-stl library
287 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-stl
288 Group: Development/Libraries
289 Requires: %{name}-stl = %{version}-%{release}
290 %if %{with default_db}
291 Provides: db-stl-devel = %{version}-%{release}
292 Obsoletes: db-stl-devel
295 %description stl-devel
296 Development files for db-stl library.
298 %description stl-devel -l pl.UTF-8
299 Pliki programistyczne biblioteki db-stl.
302 Summary: Sqlite3 API for Berkeley Database library
303 Summary(pl.UTF-8): API Sqlite3 dla biblioteki Berkeley Database
305 %if %{with default_db}
306 Provides: db-sqlite3 = %{version}-%{release}
310 Sqlite3 API for Berkeley database library.
312 %description sqlite3 -l pl.UTF-8
313 API Sqlite3 dla biblioteki Berkeley Database.
315 %package sqlite3-devel
316 Summary: Development files for db-sqlite3 library
317 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-sqlite3
318 Group: Development/Libraries
319 Requires: %{name}-sqlite3 = %{version}-%{release}
320 %if %{with default_db}
321 Provides: db-sqlite3-devel = %{version}-%{release}
322 Obsoletes: db-sqlite3-devel
325 %description sqlite3-devel
326 Development files for db-sqlite3 library.
328 %description sqlite3-devel -l pl.UTF-8
329 Pliki programistyczne biblioteki db-sqlite3.
332 Summary: Command line tools for managing Berkeley DB databases
333 Summary(pl.UTF-8): Narzędzia do obsługi baz Berkeley DB z linii poleceń
334 Group: Applications/Databases
335 Requires: %{name} = %{version}-%{release}
336 Requires: %{name}-sql = %{version}-%{release}
337 %if %{with default_db}
338 Provides: db-utils = %{version}-%{release}
345 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
346 provides embedded database support for both traditional and
347 client/server applications. Berkeley DB includes B+tree, Extended
348 Linear Hashing, Fixed and Variable-length record access methods,
349 transactions, locking, logging, shared memory caching and database
350 recovery. DB supports C, C++, Java and Perl APIs.
352 This package contains command line tools for managing Berkeley DB
355 %description utils -l pl.UTF-8
356 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
357 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
358 klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i
359 funkcje mieszające ze stałą lub zmienną wielkością rekordu,
360 transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie
361 dla C, C++, Javy i Perla.
363 Ten pakiet zawiera narzędzia do obsługi baz Berkeley DB z linii
367 %setup -q -n db-%{ver}
370 cp -f /usr/share/automake/config.sub dist
372 JAVACFLAGS="-source 1.5 -target 1.5"
375 %if %{with static_libs}
376 cp -a build_unix build_unix.static
382 CFLAGS="%{rpmcflags}"
383 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
384 LDFLAGS="%{rpmcflags} %{rpmldflags}"
385 export CC CXX CFLAGS CXXFLAGS LDFLAGS
394 --enable-posixmutexes
396 # (temporarily?) disabled because of compilation errors:
399 %{__make} library_build
406 --prefix=%{_prefix} \
407 --libdir=%{_libdir} \
414 --enable-posixmutexes \
416 --enable-sql_compat \
417 --enable-sql_codegen \
419 %{?with_java:--enable-java} \
420 %{?with_tcl:--enable-tcl --with-tcl=/usr/lib}
422 %{__make} library_build \
423 TCFLAGS='-I$(builddir) -I%{_includedir}' \
424 LIBSO_LIBS="\$(LIBS)" \
425 LIBTSO_LIBS="\$(LIBS) -ltcl"
428 rm -rf $RPM_BUILD_ROOT
429 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}}
431 install -d $RPM_BUILD_ROOT%{_javadir}
434 %if %{with static_libs}
435 %{__make} -C build_unix.static library_install \
436 DESTDIR=$RPM_BUILD_ROOT \
437 docdir=%{_docdir}/db-%{version}-docs \
438 includedir=%{_includedir}
441 %{__make} -C build_unix library_install \
442 DESTDIR=$RPM_BUILD_ROOT \
443 LIB_INSTALL_FILE_LIST="" \
444 docdir=%{_docdir}/db-%{version}-docs \
445 includedir=%{_includedir}
447 %if %{with default_db}
448 install -d $RPM_BUILD_ROOT/%{_lib}
449 mv $RPM_BUILD_ROOT%{_libdir}/libdb-%{libver}.so $RPM_BUILD_ROOT/%{_lib}
452 cd $RPM_BUILD_ROOT%{_libdir}
453 %if %{with static_libs}
454 mv -f libdb.a libdb-%{libver}.a
455 mv -f libdb_cxx.a libdb_cxx-%{libver}.a
458 mv -f $RPM_BUILD_ROOT%{_libdir}/db.jar $RPM_BUILD_ROOT%{_javadir}/db-%{libver}.jar
460 %if %{with default_db}
461 ln -sf /%{_lib}/libdb-%{libver}.so libdb.so
462 ln -sf /%{_lib}/libdb-%{libver}.so libdb-%{libver}.so
463 ln -sf /%{_lib}/libdb-%{libver}.so libndbm.so
464 ln -sf libdb-%{libver}.la libdb.la
465 ln -sf libdb-%{libver}.la libndbm.la
466 ln -sf libdb_cxx-%{libver}.so libdb_cxx.so
467 ln -sf libdb_cxx-%{libver}.la libdb_cxx.la
469 ln -sf libdb_java-%{libver}.la libdb_java.la
470 ln -sf db-%{libver}.jar $RPM_BUILD_ROOT%{_javadir}/db.jar
473 ln -sf libdb_tcl-%{libver}.so libdb_tcl.so
474 ln -sf libdb_tcl-%{libver}.la libdb_tcl.la
476 %if %{with static_libs}
477 ln -sf libdb-%{libver}.a libdb.a
478 ln -sf libdb-%{libver}.a libndbm.a
479 ln -sf libdb_cxx-%{libver}.a libdb_cxx.a
483 sed -i "s/old_library=''/old_library='libdb-%{libver}.a'/" libdb-%{libver}.la
484 sed -i "s/old_library=''/old_library='libdb_cxx-%{libver}.a'/" libdb_cxx-%{libver}.la
488 cd $RPM_BUILD_ROOT%{_bindir}
489 mv dbsql dbsql-%{libver}
490 %{?with_default_db:ln -sf dbsql-%{libver} dbsql}
492 Fver=$(echo $F|sed 's/db_/db%{libver}_/')
494 %{?with_default_db:ln -sf $Fver $F}
498 # this should be done by configure, but is not
499 sed -i -e 's/ifdef HAVE_DBM/if DB_DBM_HSEARCH != 0/' $RPM_BUILD_ROOT%{_includedir}/db.h
501 rm -f examples_c*/tags
502 install -d $RPM_BUILD_ROOT%{_examplesdir}/db-%{version}
503 cp -rf examples_c/* $RPM_BUILD_ROOT%{_examplesdir}/db-%{version}
505 install -d $RPM_BUILD_ROOT%{_examplesdir}/db-cxx-%{version}
506 cp -rf examples_cxx/* $RPM_BUILD_ROOT%{_examplesdir}/db-cxx-%{version}
509 install -d $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version}
510 cp -rf examples_java/* $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version}
514 %{__rm} $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/{index.html,license/license_db.html}
516 # don't have csharp subpackages yet
517 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/csharp
520 rm -rf $RPM_BUILD_ROOT
522 %post -p /sbin/ldconfig
523 %postun -p /sbin/ldconfig
525 %post tcl -p /sbin/ldconfig
526 %postun tcl -p /sbin/ldconfig
528 %post cxx -p /sbin/ldconfig
529 %postun cxx -p /sbin/ldconfig
531 %post sql -p /sbin/ldconfig
532 %postun sql -p /sbin/ldconfig
534 %post stl -p /sbin/ldconfig
535 %postun stl -p /sbin/ldconfig
538 %defattr(644,root,root,755)
539 %doc LICENSE README docs/index.html docs/license
540 %if %{with default_db}
541 %attr(755,root,root) /%{_lib}/libdb-%{libver}.so
543 %attr(755,root,root) %{_libdir}/libdb-%{libver}.so
547 %defattr(644,root,root,755)
548 %attr(755,root,root) %{_bindir}/db%{libver}_sql_codegen
549 %{_libdir}/libdb-%{libver}.la
550 %if %{with default_db}
551 %attr(755,root,root) %{_bindir}/db_sql_codegen
552 %attr(755,root,root) %{_libdir}/libdb-%{libver}.so
553 %attr(755,root,root) %{_libdir}/libdb-%{major}.so
554 %attr(755,root,root) %{_libdir}/libdb.so
555 %attr(755,root,root) %{_libdir}/libndbm.so
557 %{_libdir}/libndbm.la
562 %{_includedir}/db_185.h
563 %dir %{_docdir}/db-%{version}-docs
564 %dir %{_docdir}/db-%{version}-docs/api_reference
565 %{_docdir}/db-%{version}-docs/api_reference/C
566 %{_docdir}/db-%{version}-docs/articles
567 %dir %{_docdir}/db-%{version}-docs/gsg
568 %{_docdir}/db-%{version}-docs/gsg/C
569 %dir %{_docdir}/db-%{version}-docs/gsg_txn
570 %{_docdir}/db-%{version}-docs/gsg_txn/C
571 %dir %{_docdir}/db-%{version}-docs/gsg_db_rep
572 %{_docdir}/db-%{version}-docs/gsg_db_rep/C
573 %{_docdir}/db-%{version}-docs/installation
574 %{_docdir}/db-%{version}-docs/porting
575 %{_docdir}/db-%{version}-docs/programmer_reference
576 %{_examplesdir}/db-%{version}
578 %if %{with static_libs}
580 %defattr(644,root,root,755)
581 %{_libdir}/libdb-%{libver}.a
582 %if %{with default_db}
589 %defattr(644,root,root,755)
590 %attr(755,root,root) %{_libdir}/libdb_cxx-%{libver}.so
593 %defattr(644,root,root,755)
594 %{_libdir}/libdb_cxx-%{libver}.la
595 %if %{with default_db}
596 %attr(755,root,root) %{_libdir}/libdb_cxx-%{major}.so
597 %attr(755,root,root) %{_libdir}/libdb_cxx.so
598 %{_libdir}/libdb_cxx.la
600 %{_includedir}/db_cxx.h
601 %{_docdir}/db-%{version}-docs/api_reference/CXX
602 %{_docdir}/db-%{version}-docs/api_reference/STL
603 %{_docdir}/db-%{version}-docs/gsg/CXX
604 %{_docdir}/db-%{version}-docs/gsg_txn/CXX
605 %{_docdir}/db-%{version}-docs/gsg_db_rep/CXX
606 %{_examplesdir}/db-cxx-%{version}
608 %if %{with static_libs}
610 %defattr(644,root,root,755)
611 %{_libdir}/libdb_cxx-%{libver}.a
612 %if %{with default_db}
613 %{_libdir}/libdb_cxx.a
619 %defattr(644,root,root,755)
620 %attr(755,root,root) %{_libdir}/libdb_java-%{libver}.so
621 %attr(755,root,root) %{_libdir}/libdb_java-%{libver}_g.so
622 %{_javadir}/db-%{libver}.jar
623 %if %{with default_db}
628 %defattr(644,root,root,755)
629 %{_libdir}/libdb_java-%{libver}.la
630 %if %{with default_db}
631 %attr(755,root,root) %{_libdir}/libdb_java.so
632 %attr(755,root,root) %{_libdir}/libdb_java-%{major}.so
633 %{_libdir}/libdb_java.la
635 %{_docdir}/db-%{version}-docs/collections
636 %{_docdir}/db-%{version}-docs/gsg/JAVA
637 %{_docdir}/db-%{version}-docs/gsg_txn/JAVA
638 %{_docdir}/db-%{version}-docs/gsg_db_rep/JAVA
639 %{_docdir}/db-%{version}-docs/java
640 %{_examplesdir}/db-java-%{version}
645 %defattr(644,root,root,755)
646 %attr(755,root,root) %{_libdir}/libdb_tcl-%{libver}.so
649 %defattr(644,root,root,755)
650 %{_libdir}/libdb_tcl-%{libver}.la
651 %if %{with default_db}
652 %attr(755,root,root) %{_libdir}/libdb_tcl.so
653 %attr(755,root,root) %{_libdir}/libdb_tcl-%{major}.so
654 %{_libdir}/libdb_tcl.la
656 %{_docdir}/db-%{version}-docs/api_reference/TCL
660 %defattr(644,root,root,755)
661 %attr(755,root,root) %{_libdir}/libdb_sql-%{libver}.so
664 %defattr(644,root,root,755)
665 %{_libdir}/libdb_sql-%{libver}.la
666 %if %{with default_db}
667 %attr(755,root,root) %{_libdir}/libdb_sql.so
668 %attr(755,root,root) %{_libdir}/libdb_sql-%{major}.so
670 %{_includedir}/dbsql.h
671 %{_docdir}/db-%{version}-docs/bdb-sql
674 %defattr(644,root,root,755)
675 %attr(755,root,root) %{_libdir}/libdb_stl-%{libver}.so
678 %defattr(644,root,root,755)
679 %{_libdir}/libdb_stl-%{libver}.la
680 %if %{with default_db}
681 %attr(755,root,root) %{_libdir}/libdb_stl.so
682 %attr(755,root,root) %{_libdir}/libdb_stl-%{major}.so
684 %{_includedir}/dbstl_base_iterator.h
685 %{_includedir}/dbstl_common.h
686 %{_includedir}/dbstl_container.h
687 %{_includedir}/dbstl_dbc.h
688 %{_includedir}/dbstl_dbt.h
689 %{_includedir}/dbstl_element_ref.h
690 %{_includedir}/dbstl_exception.h
691 %{_includedir}/dbstl_inner_utility.h
692 %{_includedir}/dbstl_map.h
693 %{_includedir}/dbstl_resource_manager.h
694 %{_includedir}/dbstl_set.h
695 %{_includedir}/dbstl_utility.h
696 %{_includedir}/dbstl_vector.h
699 %defattr(644,root,root,755)
700 %attr(755,root,root) %{_bindir}/sqlite3
701 %attr(755,root,root) %{_libdir}/libsqlite3.so
704 %defattr(644,root,root,755)
705 %{_libdir}/libsqlite3.la
706 %{_includedir}/sqlite3.h
709 %defattr(644,root,root,755)
710 %attr(755,root,root) %{_bindir}/db%{libver}_archive
711 %attr(755,root,root) %{_bindir}/db%{libver}_checkpoint
712 %attr(755,root,root) %{_bindir}/db%{libver}_deadlock
713 %attr(755,root,root) %{_bindir}/db%{libver}_dump
714 %attr(755,root,root) %{_bindir}/db%{libver}_hotbackup
715 %attr(755,root,root) %{_bindir}/db%{libver}_load
716 %attr(755,root,root) %{_bindir}/db%{libver}_log_verify
717 %attr(755,root,root) %{_bindir}/db%{libver}_printlog
718 %attr(755,root,root) %{_bindir}/db%{libver}_recover
719 %attr(755,root,root) %{_bindir}/db%{libver}_stat
720 %attr(755,root,root) %{_bindir}/db%{libver}_upgrade
721 %attr(755,root,root) %{_bindir}/db%{libver}_verify
722 %attr(755,root,root) %{_bindir}/dbsql-%{libver}
723 %if %{with default_db}
724 %attr(755,root,root) %{_bindir}/db_archive
725 %attr(755,root,root) %{_bindir}/db_checkpoint
726 %attr(755,root,root) %{_bindir}/db_deadlock
727 %attr(755,root,root) %{_bindir}/db_dump
728 %attr(755,root,root) %{_bindir}/db_hotbackup
729 %attr(755,root,root) %{_bindir}/db_load
730 %attr(755,root,root) %{_bindir}/db_log_verify
731 %attr(755,root,root) %{_bindir}/db_printlog
732 %attr(755,root,root) %{_bindir}/db_recover
733 %attr(755,root,root) %{_bindir}/db_stat
734 %attr(755,root,root) %{_bindir}/db_upgrade
735 %attr(755,root,root) %{_bindir}/db_verify
736 %attr(755,root,root) %{_bindir}/dbsql