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 sqlite3 # build Sqlite3 API libraries
7 %bcond_without default_db # don't use this db as default system db [Th uses DB 5.3]
8 %bcond_with rpm_db # install library to rootfs for /bin/rpm
10 %{load:/usr/lib/rpm/macros.d/java}
13 %define libver %{major}.3
14 %define ver %{libver}.28
16 Summary: Berkeley DB database library for C
17 Summary(pl.UTF-8): Biblioteka C do obsługi baz Berkeley DB
19 Version: %{ver}.%{patchlevel}
21 License: BSD-like (see LICENSE)
23 #Source0Download: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
24 Source0: http://download.oracle.com/berkeley-db/db-%{ver}.tar.gz
25 # Source0-md5: b99454564d5b4479750567031d66fe24
26 Patch0: %{name}-link.patch
27 Patch1: %{name}-sql-features.patch
28 Patch2: db-5.3.28-cwd-db_config.patch
29 URL: http://www.oracle.com/technetwork/products/berkeleydb/downloads/index.html
30 BuildRequires: automake
33 BuildRequires: rpm-javaprov
35 BuildRequires: libstdc++-devel
36 BuildRequires: rpmbuild(macros) >= 1.426
37 BuildRequires: sed >= 4.0
38 %{?with_tcl:BuildRequires: tcl-devel >= 8.4.0}
39 Requires: uname(release) >= 2.6.0
40 %if %{with default_db}
41 Provides: db = %{version}-%{release}
42 Provides: db = %{libver}
45 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 %if %{without default_db}
48 %define _includedir %{_prefix}/include/db%{libver}
52 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
53 provides embedded database support for both traditional and
54 client/server applications. Berkeley DB is used by many applications,
55 including Python and Perl, so this should be installed on all systems.
57 %description -l pl.UTF-8
58 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
59 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
60 klient-serwer. Berkeley db jest używana w wielu aplikacjach, w tym w
64 Summary: Header files for Berkeley database library
65 Summary(pl.UTF-8): Pliki nagłówkowe do biblioteki Berkeley Database
66 Group: Development/Libraries
67 Requires: %{name} = %{version}-%{release}
68 %if %{with default_db}
69 Provides: db-devel = %{version}-%{release}
76 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
77 provides embedded database support for both traditional and
78 client/server applications. Berkeley DB includes B+tree, Extended
79 Linear Hashing, Fixed and Variable-length record access methods,
80 transactions, locking, logging, shared memory caching and database
81 recovery. DB supports C, C++, Java and Perl APIs.
83 This package contains the header files, libraries, and documentation
84 for building programs which use Berkeley DB.
86 %description devel -l pl.UTF-8
87 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
88 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
89 klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i
90 funkcje mieszające ze stałą lub zmienną wielkością rekordu,
91 transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie
92 dla C, C++, Javy i Perla.
94 Ten pakiet zawiera pliki nagłówkowe i dokumentację do budowania
95 programów używających Berkeley DB.
98 Summary: Static libraries for Berkeley database library
99 Summary(pl.UTF-8): Statyczne biblioteki Berkeley Database
100 Group: Development/Libraries
101 Requires: %{name}-devel = %{version}-%{release}
102 %if %{with default_db}
103 Provides: db-static = %{version}-%{release}
105 Obsoletes: db3-static
106 Obsoletes: db4-static
110 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
111 provides embedded database support for both traditional and
112 client/server applications. Berkeley DB includes B+tree, Extended
113 Linear Hashing, Fixed and Variable-length record access methods,
114 transactions, locking, logging, shared memory caching and database
115 recovery. DB supports C, C++, Java and Perl APIs.
117 This package contains the static libraries for building programs which
120 %description static -l pl.UTF-8
121 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
122 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
123 klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i
124 funkcje mieszające ze stałą lub zmienną wielkością rekordu,
125 transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie
126 dla C, C++, Javy i Perla.
128 Ten pakiet zawiera statyczne biblioteki do budowania programów
129 używających Berkeley DB.
132 Summary: Berkeley database library for C++
133 Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla C++
135 %if %{with default_db}
136 Provides: db-cxx = %{version}-%{release}
141 Berkeley database library for C++.
143 %description cxx -l pl.UTF-8
144 Biblioteka baz danych Berkeley dla C++.
147 Summary: Header files for db-cxx library
148 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki db-cxx
149 Group: Development/Libraries
150 Requires: %{name}-cxx = %{version}-%{release}
151 Requires: %{name}-devel = %{version}-%{release}
152 %if %{with default_db}
153 Provides: db-cxx-devel = %{version}-%{release}
154 Obsoletes: db-cxx-devel
156 Conflicts: db-devel < 4.1.25-3
158 %description cxx-devel
159 Header files for db-cxx library.
161 %description cxx-devel -l pl.UTF-8
162 Pliki nagłówkowe biblioteki db-cxx.
165 Summary: Static version of db-cxx library
166 Summary(pl.UTF-8): Statyczna wersja biblioteki db-cxx
167 Group: Development/Libraries
168 Requires: %{name}-cxx-devel = %{version}-%{release}
169 %if %{with default_db}
170 Provides: db-cxx-static = %{version}-%{release}
171 Obsoletes: db-cxx-static
173 Conflicts: db-static < 4.2.50-1
175 %description cxx-static
176 Static version of db-cxx library.
178 %description cxx-static -l pl.UTF-8
179 Statyczna wersja biblioteki db-cxx.
182 Summary: Berkeley database library for Java
183 Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla Javy
185 Requires: jpackage-utils
186 %if %{with default_db}
187 Provides: db-java = %{version}-%{release}
192 Berkeley database library for Java.
194 %description java -l pl.UTF-8
195 Biblioteka baz danych Berkeley dla Javy.
198 Summary: Development files for db-java library
199 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-java
200 Group: Development/Languages/Java
201 Requires: %{name}-java = %{version}-%{release}
202 %if %{with default_db}
203 Provides: db-java-devel = %{version}-%{release}
204 Obsoletes: db-java-devel
206 Conflicts: db-devel < 4.1.25-3
208 %description java-devel
209 Development files for db-java library.
211 %description java-devel -l pl.UTF-8
212 Pliki programistyczne biblioteki db-java.
215 Summary: Berkeley database library for Tcl
216 Summary(pl.UTF-8): Biblioteka baz danych Berkeley dla Tcl
217 Group: Development/Languages/Tcl
219 %if %{with default_db}
220 Provides: db-tcl = %{version}-%{release}
225 Berkeley database library for Tcl.
227 %description tcl -l pl.UTF-8
228 Biblioteka baz danych Berkeley dla Tcl.
231 Summary: Development files for db-tcl library
232 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-tcl
233 Group: Development/Languages/Tcl
234 Requires: %{name}-tcl = %{version}-%{release}
235 %if %{with default_db}
236 Provides: db-tcl-devel = %{version}-%{release}
237 Obsoletes: db-tcl-devel
239 Conflicts: db-devel < 4.1.25-3
241 %description tcl-devel
242 Development files for db-tcl library.
244 %description tcl-devel -l pl.UTF-8
245 Pliki programistyczne biblioteki db-tcl.
248 Summary: SQL layer for Berkeley database library
249 Summary(pl.UTF-8): Wartstwa SQL dla biblioteki baz danych Berkeley
251 %if %{with default_db}
252 Provides: db-sql = %{version}-%{release}
256 SQL layer for Berkeley database library.
258 %description sql -l pl.UTF-8
259 Warstwa SQL dla biblioteki baz danych Berkeley.
262 Summary: Development files for db-sql library
263 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-sql
264 Group: Development/Libraries
265 Requires: %{name}-sql = %{version}-%{release}
266 %if %{with default_db}
267 Provides: db-sql-devel = %{version}-%{release}
268 Obsoletes: db-sql-devel
271 %description sql-devel
272 Development files for db-sql library.
274 %description sql-devel -l pl.UTF-8
275 Pliki programistyczne biblioteki db-sql.
278 Summary: STL API for Berkeley Database library
279 Summary(pl.UTF-8): API STL dla biblioteki Berkeley Database
281 %if %{with default_db}
282 Provides: db-stl = %{version}-%{release}
286 STL API for Berkeley database library.
288 %description stl -l pl.UTF-8
289 API STL dla biblioteki Berkeley Database.
292 Summary: Development files for db-stl library
293 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-stl
294 Group: Development/Libraries
295 Requires: %{name}-stl = %{version}-%{release}
296 %if %{with default_db}
297 Provides: db-stl-devel = %{version}-%{release}
298 Obsoletes: db-stl-devel
301 %description stl-devel
302 Development files for db-stl library.
304 %description stl-devel -l pl.UTF-8
305 Pliki programistyczne biblioteki db-stl.
308 Summary: Sqlite3 API for Berkeley Database library
309 Summary(pl.UTF-8): API Sqlite3 dla biblioteki Berkeley Database
311 %if %{with default_db}
312 Provides: db-sqlite3 = %{version}-%{release}
316 Sqlite3 API for Berkeley database library.
318 %description sqlite3 -l pl.UTF-8
319 API Sqlite3 dla biblioteki Berkeley Database.
321 %package sqlite3-devel
322 Summary: Development files for db-sqlite3 library
323 Summary(pl.UTF-8): Pliki programistyczne biblioteki db-sqlite3
324 Group: Development/Libraries
325 Requires: %{name}-sqlite3 = %{version}-%{release}
326 %if %{with default_db}
327 Provides: db-sqlite3-devel = %{version}-%{release}
328 Obsoletes: db-sqlite3-devel
331 %description sqlite3-devel
332 Development files for db-sqlite3 library.
334 %description sqlite3-devel -l pl.UTF-8
335 Pliki programistyczne biblioteki db-sqlite3.
338 Summary: Command line tools for managing Berkeley DB databases
339 Summary(pl.UTF-8): Narzędzia do obsługi baz Berkeley DB z linii poleceń
340 Group: Applications/Databases
341 Requires: %{name} = %{version}-%{release}
342 Requires: %{name}-sql = %{version}-%{release}
343 %if %{with default_db}
344 Provides: db-utils = %{version}-%{release}
351 The Berkeley Database (Berkeley DB) is a programmatic toolkit that
352 provides embedded database support for both traditional and
353 client/server applications. Berkeley DB includes B+tree, Extended
354 Linear Hashing, Fixed and Variable-length record access methods,
355 transactions, locking, logging, shared memory caching and database
356 recovery. DB supports C, C++, Java and Perl APIs.
358 This package contains command line tools for managing Berkeley DB
361 %description utils -l pl.UTF-8
362 Berkeley Database (Berkeley DB) to zestaw narzędzi programistycznych
363 zapewniających obsługę baz danych w aplikacjach tradycyjnych jak i
364 klient-serwer. Berkeley DB obsługuje dostęp do bazy przez B-drzewa i
365 funkcje mieszające ze stałą lub zmienną wielkością rekordu,
366 transakcje, kroniki, pamięć dzieloną i odtwarzanie baz. Ma wsparcie
367 dla C, C++, Javy i Perla.
369 Ten pakiet zawiera narzędzia do obsługi baz Berkeley DB z linii
373 %setup -q -n db-%{ver}
379 cp -f /usr/share/automake/config.sub dist
381 JAVACFLAGS="-source 1.5 -target 1.5"
384 %if %{with static_libs}
385 cp -a build_unix build_unix.static
391 CFLAGS="%{rpmcflags}"
392 CXXFLAGS="%{rpmcflags} -fno-implicit-templates"
393 LDFLAGS="%{rpmcflags} %{rpmldflags}"
394 export CC CXX CFLAGS CXXFLAGS LDFLAGS
403 --enable-posixmutexes
405 # (temporarily?) disabled because of compilation errors:
408 %{__make} library_build
415 --prefix=%{_prefix} \
416 --libdir=%{_libdir} \
423 --enable-posixmutexes \
425 %{?with_sqlite3:--enable-sql_compat} \
426 --enable-sql_codegen \
428 %{?with_java:--enable-java} \
429 %{?with_tcl:--enable-tcl --with-tcl=/usr/lib}
431 %{__make} library_build \
432 TCFLAGS='-I$(builddir) -I%{_includedir}' \
433 LIBSO_LIBS="\$(LIBS)" \
434 LIBTSO_LIBS="\$(LIBS) -ltcl"
437 rm -rf $RPM_BUILD_ROOT
438 install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}}
440 install -d $RPM_BUILD_ROOT%{_javadir}
443 %if %{with static_libs}
444 %{__make} -C build_unix.static library_install \
445 DESTDIR=$RPM_BUILD_ROOT \
446 docdir=%{_docdir}/db-%{version}-docs \
447 includedir=%{_includedir}
450 %{__make} -C build_unix library_install \
451 DESTDIR=$RPM_BUILD_ROOT \
452 LIB_INSTALL_FILE_LIST="" \
453 docdir=%{_docdir}/db-%{version}-docs \
454 includedir=%{_includedir}
457 install -d $RPM_BUILD_ROOT/%{_lib}
458 mv $RPM_BUILD_ROOT%{_libdir}/libdb-%{libver}.so $RPM_BUILD_ROOT/%{_lib}
459 ln -sf /%{_lib}/libdb-%{libver}.so $RPM_BUILD_ROOT%{_libdir}/libdb-%{libver}.so
462 cd $RPM_BUILD_ROOT%{_libdir}
463 %if %{with static_libs}
464 mv -f libdb.a libdb-%{libver}.a
465 mv -f libdb_cxx.a libdb_cxx-%{libver}.a
468 mv -f $RPM_BUILD_ROOT%{_libdir}/db.jar $RPM_BUILD_ROOT%{_javadir}/db-%{libver}.jar
470 %if %{with default_db}
471 ln -sf libdb-%{libver}.so libdb.so
472 ln -sf libdb-%{libver}.so libndbm.so
473 ln -sf libdb-%{libver}.la libdb.la
474 ln -sf libdb-%{libver}.la libndbm.la
475 ln -sf libdb_cxx-%{libver}.so libdb_cxx.so
476 ln -sf libdb_cxx-%{libver}.la libdb_cxx.la
478 ln -sf libdb_java-%{libver}.la libdb_java.la
479 ln -sf db-%{libver}.jar $RPM_BUILD_ROOT%{_javadir}/db.jar
482 ln -sf libdb_tcl-%{libver}.so libdb_tcl.so
483 ln -sf libdb_tcl-%{libver}.la libdb_tcl.la
485 %if %{with static_libs}
486 ln -sf libdb-%{libver}.a libdb.a
487 ln -sf libdb-%{libver}.a libndbm.a
488 ln -sf libdb_cxx-%{libver}.a libdb_cxx.a
495 %{__rm} libdb-%{major}.so
496 %{__rm} libdb_cxx-%{major}.so
497 %{__rm} libdb_sql-%{major}.so
498 %{__rm} libdb_stl-%{major}.so
500 %{__rm} libdb_java.so
501 %{__rm} libdb_java-%{major}.so
505 %{__rm} libdb_tcl-%{major}.so
509 sed -i "s/old_library=''/old_library='libdb-%{libver}.a'/" libdb-%{libver}.la
510 sed -i "s/old_library=''/old_library='libdb_cxx-%{libver}.a'/" libdb_cxx-%{libver}.la
514 cd $RPM_BUILD_ROOT%{_bindir}
515 mv dbsql dbsql-%{libver}
516 %{?with_default_db:ln -sf dbsql-%{libver} dbsql}
518 Fver=$(echo $F|sed 's/db_/db%{libver}_/')
520 %{?with_default_db:ln -sf $Fver $F}
524 install -d $RPM_BUILD_ROOT%{_examplesdir}/db-%{version}
525 cp -a examples/c/* $RPM_BUILD_ROOT%{_examplesdir}/db-%{version}
527 install -d $RPM_BUILD_ROOT%{_examplesdir}/db-cxx-%{version}
528 cp -a examples/cxx/* $RPM_BUILD_ROOT%{_examplesdir}/db-cxx-%{version}
531 install -d $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version}
532 cp -a examples/java/* $RPM_BUILD_ROOT%{_examplesdir}/db-java-%{version}
536 %{__rm} $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/{index.html,license/license_db.html}
538 # don't have csharp subpackages yet
539 %{__rm} -r $RPM_BUILD_ROOT%{_docdir}/db-%{version}-docs/csharp
542 rm -rf $RPM_BUILD_ROOT
544 %post -p /sbin/ldconfig
545 %postun -p /sbin/ldconfig
547 %post tcl -p /sbin/ldconfig
548 %postun tcl -p /sbin/ldconfig
550 %post cxx -p /sbin/ldconfig
551 %postun cxx -p /sbin/ldconfig
553 %post sql -p /sbin/ldconfig
554 %postun sql -p /sbin/ldconfig
556 %post stl -p /sbin/ldconfig
557 %postun stl -p /sbin/ldconfig
560 %defattr(644,root,root,755)
561 %doc LICENSE README docs/index.html docs/license
563 %attr(755,root,root) /%{_lib}/libdb-%{libver}.so
565 %attr(755,root,root) %{_libdir}/libdb-%{libver}.so
569 %defattr(644,root,root,755)
570 %attr(755,root,root) %{_bindir}/db%{libver}_sql_codegen
571 %{_libdir}/libdb-%{libver}.la
573 %attr(755,root,root) %{_libdir}/libdb-%{libver}.so
575 %if %{with default_db}
576 %attr(755,root,root) %{_bindir}/db_sql_codegen
577 %attr(755,root,root) %{_libdir}/libdb-%{major}.so
578 %attr(755,root,root) %{_libdir}/libdb.so
579 %attr(755,root,root) %{_libdir}/libndbm.so
581 %{_libdir}/libndbm.la
586 %{_includedir}/db_185.h
587 %dir %{_docdir}/db-%{version}-docs
588 %dir %{_docdir}/db-%{version}-docs/api_reference
589 %{_docdir}/db-%{version}-docs/api_reference/C
590 %{_docdir}/db-%{version}-docs/articles
591 %dir %{_docdir}/db-%{version}-docs/gsg
592 %{_docdir}/db-%{version}-docs/gsg/C
593 %dir %{_docdir}/db-%{version}-docs/gsg_txn
594 %{_docdir}/db-%{version}-docs/gsg_txn/C
595 %dir %{_docdir}/db-%{version}-docs/gsg_db_rep
596 %{_docdir}/db-%{version}-docs/gsg_db_rep/C
597 %{_docdir}/db-%{version}-docs/installation
598 %{_docdir}/db-%{version}-docs/porting
599 %{_docdir}/db-%{version}-docs/programmer_reference
600 %{_docdir}/db-%{version}-docs/upgrading
601 %{_examplesdir}/db-%{version}
603 %if %{with static_libs}
605 %defattr(644,root,root,755)
606 %{_libdir}/libdb-%{libver}.a
607 %if %{with default_db}
614 %defattr(644,root,root,755)
615 %attr(755,root,root) %{_libdir}/libdb_cxx-%{libver}.so
618 %defattr(644,root,root,755)
619 %{_libdir}/libdb_cxx-%{libver}.la
620 %if %{with default_db}
621 %attr(755,root,root) %{_libdir}/libdb_cxx-%{major}.so
622 %attr(755,root,root) %{_libdir}/libdb_cxx.so
623 %{_libdir}/libdb_cxx.la
625 %{_includedir}/db_cxx.h
626 %{_docdir}/db-%{version}-docs/api_reference/CXX
627 %{_docdir}/db-%{version}-docs/api_reference/STL
628 %{_docdir}/db-%{version}-docs/gsg/CXX
629 %{_docdir}/db-%{version}-docs/gsg_txn/CXX
630 %{_docdir}/db-%{version}-docs/gsg_db_rep/CXX
631 %{_examplesdir}/db-cxx-%{version}
633 %if %{with static_libs}
635 %defattr(644,root,root,755)
636 %{_libdir}/libdb_cxx-%{libver}.a
637 %if %{with default_db}
638 %{_libdir}/libdb_cxx.a
644 %defattr(644,root,root,755)
645 %attr(755,root,root) %{_libdir}/libdb_java-%{libver}.so
646 %attr(755,root,root) %{_libdir}/libdb_java-%{libver}_g.so
647 %{_javadir}/db-%{libver}.jar
648 %if %{with default_db}
653 %defattr(644,root,root,755)
654 %{_libdir}/libdb_java-%{libver}.la
655 %if %{with default_db}
656 %attr(755,root,root) %{_libdir}/libdb_java.so
657 %attr(755,root,root) %{_libdir}/libdb_java-%{major}.so
658 %{_libdir}/libdb_java.la
660 %{_docdir}/db-%{version}-docs/collections
661 %{_docdir}/db-%{version}-docs/gsg/JAVA
662 %{_docdir}/db-%{version}-docs/gsg_txn/JAVA
663 %{_docdir}/db-%{version}-docs/gsg_db_rep/JAVA
664 %{_docdir}/db-%{version}-docs/java
665 %{_examplesdir}/db-java-%{version}
670 %defattr(644,root,root,755)
671 %attr(755,root,root) %{_libdir}/libdb_tcl-%{libver}.so
674 %defattr(644,root,root,755)
675 %{_libdir}/libdb_tcl-%{libver}.la
676 %if %{with default_db}
677 %attr(755,root,root) %{_libdir}/libdb_tcl.so
678 %attr(755,root,root) %{_libdir}/libdb_tcl-%{major}.so
679 %{_libdir}/libdb_tcl.la
681 %{_docdir}/db-%{version}-docs/api_reference/TCL
685 %defattr(644,root,root,755)
686 %attr(755,root,root) %{_libdir}/libdb_sql-%{libver}.so
689 %defattr(644,root,root,755)
690 %{_libdir}/libdb_sql-%{libver}.la
691 %if %{with default_db}
692 %attr(755,root,root) %{_libdir}/libdb_sql.so
693 %attr(755,root,root) %{_libdir}/libdb_sql-%{major}.so
695 %{_includedir}/dbsql.h
696 %{_docdir}/db-%{version}-docs/bdb-sql
699 %defattr(644,root,root,755)
700 %attr(755,root,root) %{_libdir}/libdb_stl-%{libver}.so
703 %defattr(644,root,root,755)
704 %{_libdir}/libdb_stl-%{libver}.la
705 %if %{with default_db}
706 %attr(755,root,root) %{_libdir}/libdb_stl.so
707 %attr(755,root,root) %{_libdir}/libdb_stl-%{major}.so
709 %{_includedir}/dbstl_base_iterator.h
710 %{_includedir}/dbstl_common.h
711 %{_includedir}/dbstl_container.h
712 %{_includedir}/dbstl_dbc.h
713 %{_includedir}/dbstl_dbt.h
714 %{_includedir}/dbstl_element_ref.h
715 %{_includedir}/dbstl_exception.h
716 %{_includedir}/dbstl_inner_utility.h
717 %{_includedir}/dbstl_map.h
718 %{_includedir}/dbstl_resource_manager.h
719 %{_includedir}/dbstl_set.h
720 %{_includedir}/dbstl_utility.h
721 %{_includedir}/dbstl_vector.h
725 %defattr(644,root,root,755)
726 %attr(755,root,root) %{_bindir}/sqlite3
727 %attr(755,root,root) %{_libdir}/libsqlite3.so
730 %defattr(644,root,root,755)
731 %{_libdir}/libsqlite3.la
732 %{_includedir}/sqlite3.h
736 %defattr(644,root,root,755)
737 %attr(755,root,root) %{_bindir}/db%{libver}_archive
738 %attr(755,root,root) %{_bindir}/db%{libver}_checkpoint
739 %attr(755,root,root) %{_bindir}/db%{libver}_deadlock
740 %attr(755,root,root) %{_bindir}/db%{libver}_dump
741 %attr(755,root,root) %{_bindir}/db%{libver}_hotbackup
742 %attr(755,root,root) %{_bindir}/db%{libver}_load
743 %attr(755,root,root) %{_bindir}/db%{libver}_log_verify
744 %attr(755,root,root) %{_bindir}/db%{libver}_printlog
745 %attr(755,root,root) %{_bindir}/db%{libver}_recover
746 %attr(755,root,root) %{_bindir}/db%{libver}_replicate
747 %attr(755,root,root) %{_bindir}/db%{libver}_stat
748 %attr(755,root,root) %{_bindir}/db%{libver}_tuner
749 %attr(755,root,root) %{_bindir}/db%{libver}_upgrade
750 %attr(755,root,root) %{_bindir}/db%{libver}_verify
751 %attr(755,root,root) %{_bindir}/dbsql-%{libver}
752 %if %{with default_db}
753 %attr(755,root,root) %{_bindir}/db_archive
754 %attr(755,root,root) %{_bindir}/db_checkpoint
755 %attr(755,root,root) %{_bindir}/db_deadlock
756 %attr(755,root,root) %{_bindir}/db_dump
757 %attr(755,root,root) %{_bindir}/db_hotbackup
758 %attr(755,root,root) %{_bindir}/db_load
759 %attr(755,root,root) %{_bindir}/db_log_verify
760 %attr(755,root,root) %{_bindir}/db_printlog
761 %attr(755,root,root) %{_bindir}/db_recover
762 %attr(755,root,root) %{_bindir}/db_replicate
763 %attr(755,root,root) %{_bindir}/db_stat
764 %attr(755,root,root) %{_bindir}/db_tuner
765 %attr(755,root,root) %{_bindir}/db_upgrade
766 %attr(755,root,root) %{_bindir}/db_verify
767 %attr(755,root,root) %{_bindir}/dbsql