Mailinglist Archive: opensuse-commit (2092 mails)

< Previous Next >
commit libdb-4_4
  • From: root@xxxxxxxxxxxxxxx (h_root)
  • Date: Fri, 03 Aug 2007 16:49:39 +0200
  • Message-id: <20070803144940.03D0367832C@xxxxxxxxxxxxxxx>

Hello community,

here is the log from the commit of package libdb-4_4
checked in at Fri Aug 3 16:49:39 CEST 2007.

--------
--- libdb-4_4/libdb-4_4.changes 2007-05-17 14:53:58.000000000 +0200
+++ /mounts/work_src_done/STABLE/libdb-4_4/libdb-4_4.changes    2007-08-01 17:30:39.000000000 +0200
@@ -1,0 +2,7 @@
+Wed Aug  1 17:13:47 CEST 2007 - max@xxxxxxx
+
+- re-add db_cxx as a subpackage (#295834)
+- skip java documentation
+- some small cleanups to keep rpmlint happy
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ libdb-4_4.spec ++++++
--- /var/tmp/diff_new_pack.S16288/_old  2007-08-03 16:46:19.000000000 +0200
+++ /var/tmp/diff_new_pack.S16288/_new  2007-08-03 16:46:19.000000000 +0200
@@ -11,10 +11,11 @@
 # norootforbuild
 
 Name:           libdb-4_4
+BuildRequires:  gcc-c++
 %define         generic_name db
 Summary:        Berkeley DB Database Library
 Version:        4.4.20
-Release:        1
+Release:        18
 Source:         db-%{version}.tar.bz2
 Patch:          db-%{version}.dif
 Patch1:         patch.4.4.20.1
@@ -25,7 +26,6 @@
 License:        Sleepycat License
 Group:          System/Libraries
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Prefix:         %{_prefix}
 
 %description
 The Berkeley DB Database is a programmatic toolkit that provides
@@ -38,7 +38,6 @@
 %package devel
 Summary:        Include Files and Libraries for the Berkeley DB library
 Group:          Development/Libraries/C and C++
-Prefix:         %{_prefix}
 Requires:       libdb-4_4 = %{version} glibc-devel
 
 %description devel
@@ -50,6 +49,33 @@
 
 
 
+%package -n libdb_cxx-4_4
+Summary:        C++ Interface for the Berkeley DB Database Library
+Group:          System/Libraries
+Requires:       libdb-4_4 = %{version}
+
+%description -n libdb_cxx-4_4
+The Berkeley DB Database is a programmatic toolkit that provides
+database support for applications.
+
+This package contains the C++ runtime libraries.
+
+
+
+%package -n libdb_cxx-4_4-devel
+Summary:        Include Files and Libraries for the C++ Interface to the Berkeley DB library
+Group:          Development/Libraries/C and C++
+Requires:       libdb-4_4-devel = %version libdb_cxx-4_4 = %{version}
+
+%description -n libdb_cxx-4_4-devel
+The Berkeley DB Database is a programmatic toolkit that provides
+database support for applications.
+
+This package contains the header files, libraries, and documentation
+for building C++ programs which use Berkeley DB.
+
+
+
 %prep
 %setup -q -n %{generic_name}-%{version}
 %patch
@@ -71,7 +97,7 @@
 cd ../build_nptl
 ../dist/configure --prefix=%{_prefix} \
         --libdir=%{_libdir} --enable-compat185 --disable-dump185 \
-        --enable-shared --enable-static --enable-rpc --disable-cxx \
+        --enable-shared --enable-static --enable-rpc --enable-cxx \
        --with-mutex="POSIX/pthreads/library" \
         %{_target_cpu}-suse-linux
 # Make sure O_DIRECT is really disabled (build host could have old kernel)
@@ -94,7 +120,6 @@
 mv ${RPM_BUILD_ROOT}%{_includedir}/*.h ${RPM_BUILD_ROOT}%{_includedir}/db44
 echo "#include <db44/db.h>" > ${RPM_BUILD_ROOT}%{_includedir}/db.h
 echo "#include <db44/db_185.h>" > ${RPM_BUILD_ROOT}%{_includedir}/db_185.h
-rm -f ${RPM_BUILD_ROOT}%{_includedir}/db44/db_cxx.h
 # remove dangling tags symlink from examples.
 rm -f examples_cxx/tags
 rm -f examples_c/tags
@@ -107,6 +132,7 @@
 # Remove api documentation for Java and TCL
 rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/db/java
 rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/db/api_java
+rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/db/gsg*/JAVA
 rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/db/api_tcl
 mv $RPM_BUILD_ROOT/%{_defaultdocdir}/db/collections/tutorial $RPM_BUILD_ROOT/%{_defaultdocdir}/db/
 # Remove crappy *.la files
@@ -116,6 +142,10 @@
 rm -fv $RPM_BUILD_ROOT%{_bindir}/*
 rm -rf $RPM_BUILD_ROOT/%{_defaultdocdir}/db/utility
 rm -rf $RPM_BUILD_ROOT%{_libdir}/libdb-4.so
+rm -rf $RPM_BUILD_ROOT%{_libdir}/libdb_cxx-4.so
+# hardlink duplicate .a files.
+ln -f %buildroot/%_libdir/libdb.a %buildroot/%_libdir/libdb-*.a
+ln -f %buildroot/%_libdir/libdb_cxx.a %buildroot/%_libdir/libdb_cxx-*.a
 
 %post -p /sbin/ldconfig
 
@@ -126,34 +156,38 @@
 
 %files
 %defattr(-,root,root)
-%{_libdir}/libdb-4.4.so
+%{_libdir}/libdb-*.so
+
+%files -n libdb_cxx-4_4
+%defattr(-,root,root)
+%_libdir/libdb_cxx-*.so
 
 %files devel
 %defattr(-,root,root)
-%dir %{_defaultdocdir}/db
-%doc %{_defaultdocdir}/db/LICENSE
-%doc %{_defaultdocdir}/db/README
-%doc %{_defaultdocdir}/db/index.html
-%doc %{_defaultdocdir}/db/images
-%doc %{_defaultdocdir}/db/sleepycat
-%doc %{_defaultdocdir}/db/api_c
-%doc %{_defaultdocdir}/db/api_cxx
-%doc %{_defaultdocdir}/db/gsg
-%doc %{_defaultdocdir}/db/gsg_txn
-%doc %{_defaultdocdir}/db/ref
-%doc %{_defaultdocdir}/db/examples_c
-%doc %{_defaultdocdir}/db/examples_cxx
-%doc %{_defaultdocdir}/db/tutorial
-%dir %{_includedir}/db44
-%{_includedir}/db.h
-%{_includedir}/db_185.h
-%{_includedir}/db44/db.h
-%{_includedir}/db44/db_185.h
+%{_defaultdocdir}/db
+%exclude %_defaultdocdir/db/*_cxx
+%exclude %_defaultdocdir/db/gsg*/CXX
+%{_includedir}/*
+%exclude %_includedir/*/*cxx*
 %{_libdir}/libdb.so
-%{_libdir}/libdb.a
-%{_libdir}/libdb-4.4.a
+%{_libdir}/libdb*.a
+%exclude %{_libdir}/libdb_cxx*.a
+
+%files -n libdb_cxx-4_4-devel
+%defattr(-,root,root)
+
+%_defaultdocdir/db/*_cxx
+
+%_defaultdocdir/db/gsg*/CXX
+%_includedir/*/*cxx*
+%_libdir/libdb_cxx.so
+%_libdir/libdb_cxx*.a
 
 %changelog
+* Wed Aug 01 2007 - max@xxxxxxx
+- re-add db_cxx as a subpackage (#295834)
+- skip java documentation
+- some small cleanups to keep rpmlint happy
 * Thu May 17 2007 - ro@xxxxxxx
 - rename package to libdb-4_4 / skip utils subpackage
 * Thu Apr 19 2007 - dmueller@xxxxxxx



++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages