This commit is contained in:
parent
2fc560c599
commit
4055660b93
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 26 17:57:10 CET 2007 - crrodriguez@suse.de
|
||||
|
||||
- both libgdbm.la and libgdbm_compat.la had empty dependency_libs
|
||||
and has been removed.
|
||||
- fix library-without-ldconfig-post* errors
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jan 25 21:30:17 CET 2006 - mls@suse.de
|
||||
|
||||
|
63
gdbm.spec
63
gdbm.spec
@ -1,27 +1,28 @@
|
||||
#
|
||||
# spec file for package gdbm (Version 1.8.3)
|
||||
#
|
||||
# Copyright (c) 2005 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# This file and all modifications and additions to the pristine
|
||||
# package are under the same license as the package itself.
|
||||
#
|
||||
# Please submit bugfixes or comments via http://www.suse.de/feedback/
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
Name: gdbm
|
||||
Name: gdbm
|
||||
Url: http://directory.fsf.org/GNU/gdbm.html
|
||||
#!BuildIgnore: man
|
||||
Prefix: /usr
|
||||
License: GPL
|
||||
Group: System/Libraries
|
||||
Autoreqprov: on
|
||||
Version: 1.8.3
|
||||
Release: 231
|
||||
Summary: GNU database routines
|
||||
Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2
|
||||
Patch: gdbm-%{version}.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Prefix: /usr
|
||||
License: GPL v2 or later
|
||||
Group: System/Libraries
|
||||
AutoReqProv: on
|
||||
Version: 1.8.3
|
||||
Release: 313
|
||||
Summary: GNU Database Routines
|
||||
Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2
|
||||
Patch: gdbm-%{version}.dif
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
A static and dynamic library for the GNU database routines.
|
||||
@ -29,12 +30,12 @@ A static and dynamic library for the GNU database routines.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: gdbm = %{version}
|
||||
Provides: gdbm:/usr/lib/libgdbm.so
|
||||
PreReq: %install_info_prereq
|
||||
Autoreqprov: on
|
||||
Summary: Include Files and Libraries mandatory for Development.
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: gdbm = %{version}
|
||||
Provides: gdbm:/usr/lib/libgdbm.so
|
||||
PreReq: %install_info_prereq
|
||||
AutoReqProv: on
|
||||
|
||||
%description devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
@ -48,21 +49,20 @@ Authors:
|
||||
Phil Nelson <phil@unicorn.wwu.edu>
|
||||
|
||||
%prep
|
||||
%setup
|
||||
%setup -q
|
||||
%patch
|
||||
|
||||
%build
|
||||
%{suse_update_config -f}
|
||||
aclocal
|
||||
autoreconf --force --install
|
||||
%ifarch sparc64
|
||||
export CC="gcc -m64"
|
||||
%endif
|
||||
CFLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack" ./configure --prefix=%{_prefix} --libdir=%{_libdir} --mandir=%{_mandir} --infodir=%{_infodir}
|
||||
export CFLAGS="$RPM_OPT_FLAGS -Wa,--noexecstack"
|
||||
%configure
|
||||
make
|
||||
|
||||
%install
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
make install INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
make install-compat INSTALL_ROOT=$RPM_BUILD_ROOT
|
||||
echo "/* GNU ld script
|
||||
@ -77,6 +77,10 @@ GROUP ( /usr/%{_lib}/libgdbm.a /usr/%{_lib}/libgdbm_compat.a )" > $RPM_BUILD_ROO
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc COPYING README NEWS
|
||||
@ -90,16 +94,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_prefix}/include/dbm.h
|
||||
%{_prefix}/include/gdbm.h
|
||||
%{_prefix}/include/ndbm.h
|
||||
%doc %{_infodir}/gdbm.info.gz
|
||||
%{_infodir}/gdbm.info.gz
|
||||
%{_prefix}/%{_lib}/libgdbm.a
|
||||
%{_prefix}/%{_lib}/libgdbm.so
|
||||
%{_prefix}/%{_lib}/libgdbm.la
|
||||
%{_prefix}/%{_lib}/libgdbm_compat.a
|
||||
%{_prefix}/%{_lib}/libgdbm_compat.so
|
||||
%{_prefix}/%{_lib}/libgdbm_compat.la
|
||||
%{_prefix}/%{_lib}/libndbm.a
|
||||
%{_prefix}/%{_lib}/libndbm.so
|
||||
%doc %{_mandir}/man3/gdbm.3.gz
|
||||
%{_mandir}/man3/gdbm.3.gz
|
||||
%exclude %{_libdir}/*.la
|
||||
|
||||
%post devel
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
@ -107,7 +110,11 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%postun devel
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
||||
|
||||
%changelog -n gdbm
|
||||
%changelog
|
||||
* Wed Dec 26 2007 - crrodriguez@suse.de
|
||||
- both libgdbm.la and libgdbm_compat.la had empty dependency_libs
|
||||
and has been removed.
|
||||
- fix library-without-ldconfig-post* errors
|
||||
* Wed Jan 25 2006 - mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Wed Aug 24 2005 - kukuk@suse.de
|
||||
|
Loading…
Reference in New Issue
Block a user