Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
DISCONTINUED:openSUSE:11.1
db1
db1.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File db1.spec of Package db1
# # spec file for package db1 (Version 1.85) # # Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: db1 Summary: Berkeley DB Database Library Version 1.85 Version: 1.85 Release: 225 Source: http://www.sleepycat.com/update/%{version}/db.%{version}.tar.gz Patch0: db.%{version}.patch Patch1: db.%{version}.fPIC.diff Patch2: db.%{version}.nodebug.patch Patch3: db.%{version}.hash.diff Patch4: db.%{version}.__P.diff Url: http://www.sleepycat.com License: BSD 3-Clause Group: System/Libraries PreReq: /sbin/ldconfig BuildRoot: %{_tmppath}/%{name}-%{version}-build Prefix: %{_prefix} Conflicts: glibc < 2.3.2 # bug437293 %ifarch ppc64 Obsoletes: db1-64bit %endif %ifarch ppc Obsoletes: db1-32bit %endif # %package devel License: BSD 3-Clause Summary: Include Files and Libraries for the old Berkeley DB library Version 1.85 Group: Development/Libraries/C and C++ Prefix: %{_prefix} Requires: db1 = %{version} Conflicts: glibc-devel < 2.3.2 %description The Berkeley DB Database is a programmatic toolkit that provides database support for applications. This package contains the necessary runtime libraries for the old 1.85 release. %description 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 programs which need the old Berkeley DB version 1.85. If possible you should convert your program to work with the new Berkeley DB version. This version will be removed in a future release. %prep %setup -q -n db.%{version} %patch0 -p1 %patch1 %patch2 -p1 %patch3 %patch4 %build gzip -9 docs/*.ps cd PORT/linux make OORG="$RPM_OPT_FLAGS -Wall -W -fno-strict-aliasing" %install rm -rf ${RPM_BUILD_ROOT} mkdir -p ${RPM_BUILD_ROOT}%{_prefix}/{include/db1,%{_lib},bin} sed -n '/^\/\*-/,/^ \*\//s/^.\*.\?//p' include/db.h | grep -v '^@.*db\.h' > LICENSE cd PORT/linux sover=`echo libdb.so.* | sed 's/libdb.so.//'` install -m644 libdb.a $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/libdb-%{version}.a ln -sf libdb-%{version}.a $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/libdb1.a install -m755 libdb.so.$sover $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/libdb-%{version}.so /sbin/ldconfig -n $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/ ln -sf libdb-%{version}.so $RPM_BUILD_ROOT/%{_prefix}/%{_lib}/libdb1.so install -m644 ../../include/db.h $RPM_BUILD_ROOT/%{_prefix}/include/db1/ install -m644 ../../include/mpool.h $RPM_BUILD_ROOT/%{_prefix}/include/db1/ install -m755 db_dump185 $RPM_BUILD_ROOT/%{_prefix}/bin/db1_dump185 %clean rm -rf ${RPM_BUILD_ROOT} %post %{run_ldconfig} %postun %{run_ldconfig} %files %defattr(-,root,root,755) %doc README LICENSE %{_prefix}/%{_lib}/libdb-%{version}.so %{_prefix}/%{_lib}/libdb.so.* %{_prefix}/bin/db1_dump185 %files devel %defattr(644,root,root,755) %{_prefix}/include/db1 %{_prefix}/%{_lib}/libdb-%{version}.a %{_prefix}/%{_lib}/libdb1.a %{_prefix}/%{_lib}/libdb1.so %changelog * Tue Dec 09 2008 ro@suse.de - remove ix86 from ifarch statement obsoleting 32bit package * Thu Oct 30 2008 olh@suse.de - obsolete old -XXbit packages (bnc#437293) * Thu Apr 10 2008 ro@suse.de - added baselibs.conf file to build xxbit packages for multilib support * Sun Feb 11 2007 ro@suse.de - fix build as non-root * Wed Jan 25 2006 mls@suse.de - converted neededforbuild to BuildRequires * Sat Sep 11 2004 kukuk@suse.de - Fix usage of __P * Sat Sep 27 2003 kukuk@suse.de - Fix ldconfig warnings * Fri Sep 26 2003 kukuk@suse.de - Initial version (branch from glibc) for compatibility
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor