2009-04-17 10:40:56 +00:00
|
|
|
Summary: A GNU set of database routines which use extensible hashing
|
2004-09-09 05:00:44 +00:00
|
|
|
Name: gdbm
|
2010-03-10 14:58:34 +00:00
|
|
|
Version: 1.8.3
|
2010-03-11 12:44:48 +00:00
|
|
|
Release: 4%{?dist}
|
2009-04-17 10:40:56 +00:00
|
|
|
Source: http://ftp.gnu.org/gnu/gdbm/gdbm-%{version}.tar.gz
|
2010-03-10 14:58:34 +00:00
|
|
|
# Prevent gdbm from storing uninitialized memory content
|
|
|
|
# to database files.
|
|
|
|
# The change allows Valgrind users to debug their packages without
|
|
|
|
# dealing with gdbm-related noise. It also improves security, as
|
|
|
|
# the uninitialized memory might contain sensitive informations
|
|
|
|
# from other applications. The patch is taken from Debian.
|
|
|
|
# See https://bugzilla.redhat.com/show_bug.cgi?id=4457
|
|
|
|
# See http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=208927
|
|
|
|
Patch0: gdbm-1.8.3-zeroheaders.patch
|
|
|
|
# Make gdbm buildable.
|
|
|
|
Patch1: gdbm-1.8.3-fhs.patch
|
|
|
|
# Make gdbm handle read(2) returning less data than it was asked for.
|
|
|
|
# http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=274417
|
|
|
|
Patch2: gdbm-1.8.3-shortread.patch
|
2008-07-21 15:27:09 +00:00
|
|
|
License: GPLv2+
|
2004-09-09 05:01:34 +00:00
|
|
|
URL: http://www.gnu.org/software/gdbm/
|
2004-09-09 05:00:44 +00:00
|
|
|
Group: System Environment/Libraries
|
2010-03-10 14:58:34 +00:00
|
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
2004-09-09 05:03:14 +00:00
|
|
|
BuildRequires: libtool
|
2004-09-09 05:00:44 +00:00
|
|
|
|
2010-03-11 12:15:15 +00:00
|
|
|
# Temporary
|
2010-03-11 12:44:48 +00:00
|
|
|
%ifarch x86_64
|
|
|
|
Provides: libgdbm.so.2()(64bit)
|
|
|
|
%else
|
2010-03-11 12:15:15 +00:00
|
|
|
Provides: libgdbm.so.2
|
2010-03-11 12:44:48 +00:00
|
|
|
%endif
|
2010-03-11 12:15:15 +00:00
|
|
|
|
2004-09-09 05:00:44 +00:00
|
|
|
%description
|
|
|
|
Gdbm is a GNU database indexing library, including routines which use
|
|
|
|
extensible hashing. Gdbm works in a similar way to standard UNIX dbm
|
|
|
|
routines. Gdbm is useful for developers who write C applications and
|
|
|
|
need access to a simple and efficient database or who are building C
|
|
|
|
applications which will use such a database.
|
|
|
|
|
|
|
|
If you're a C developer and your programs need access to simple
|
|
|
|
database routines, you should install gdbm. You'll also need to
|
|
|
|
install gdbm-devel.
|
|
|
|
|
|
|
|
%package devel
|
2009-04-17 10:40:56 +00:00
|
|
|
Summary: Development libraries and header files for the gdbm library
|
2004-09-09 05:00:44 +00:00
|
|
|
Group: Development/Libraries
|
2009-04-17 10:40:56 +00:00
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
Requires(post): info
|
|
|
|
Requires(preun): info
|
2004-09-09 05:00:44 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
Gdbm-devel contains the development libraries and header files for
|
|
|
|
gdbm, the GNU database system. These libraries and header files are
|
|
|
|
necessary if you plan to do development using the gdbm database.
|
|
|
|
|
|
|
|
Install gdbm-devel if you are developing C programs which will use the
|
|
|
|
gdbm database library. You'll also need to install the gdbm package.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2010-03-10 14:58:34 +00:00
|
|
|
%patch0 -p1 -b .zeroheaders
|
2009-04-17 10:40:56 +00:00
|
|
|
%patch1 -p1 -b .fhs
|
2010-03-10 14:58:34 +00:00
|
|
|
%patch2 -p1 -b .shortread
|
2004-09-09 05:00:44 +00:00
|
|
|
|
|
|
|
%build
|
2004-09-09 05:01:34 +00:00
|
|
|
libtoolize --force --copy
|
2004-09-09 05:01:04 +00:00
|
|
|
aclocal
|
2009-02-27 18:21:25 +00:00
|
|
|
autoconf
|
2004-09-09 05:00:44 +00:00
|
|
|
%configure
|
2009-02-27 18:21:25 +00:00
|
|
|
make
|
2004-09-09 05:00:44 +00:00
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
%makeinstall install-compat
|
2009-02-27 18:21:25 +00:00
|
|
|
ln -sf gdbm/gdbm.h $RPM_BUILD_ROOT/%{_includedir}/gdbm.h
|
2010-03-11 12:15:15 +00:00
|
|
|
|
|
|
|
# Temporary
|
|
|
|
ln -sf libgdbm.so.3.0.0 $RPM_BUILD_ROOT/%{_libdir}/libgdbm.so.2
|
|
|
|
ln -sf libgdbm.so.3.0.0 $RPM_BUILD_ROOT/%{_libdir}/libgdbm.so.2.0.0
|
|
|
|
|
2006-01-24 07:20:15 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm.la
|
2010-03-10 14:58:34 +00:00
|
|
|
rm -f $RPM_BUILD_ROOT/%{_libdir}/libgdbm_compat.la
|
2006-01-24 07:20:15 +00:00
|
|
|
|
2004-09-09 05:00:44 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post devel
|
2009-04-17 10:40:56 +00:00
|
|
|
/sbin/install-info %{_infodir}/gdbm.info.gz %{_infodir}/dir \
|
|
|
|
--entry="* gdbm: (gdbm). The GNU Database." || :
|
2004-09-09 05:00:44 +00:00
|
|
|
|
|
|
|
%preun devel
|
|
|
|
if [ $1 = 0 ]; then
|
2009-04-17 10:40:56 +00:00
|
|
|
/sbin/install-info --delete %{_infodir}/gdbm.info.gz %{_infodir}/dir \
|
|
|
|
--entry="* gdbm: (gdbm). The GNU Database." || :
|
2004-09-09 05:00:44 +00:00
|
|
|
fi
|
|
|
|
|
|
|
|
%files
|
2009-04-17 10:40:56 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 05:01:07 +00:00
|
|
|
%doc COPYING NEWS README
|
2010-03-11 12:15:15 +00:00
|
|
|
%{_libdir}/libgdbm.so.2*
|
2010-03-10 16:49:17 +00:00
|
|
|
%{_libdir}/libgdbm.so.3*
|
|
|
|
%{_libdir}/libgdbm_compat.so.3*
|
2004-09-09 05:00:44 +00:00
|
|
|
|
|
|
|
%files devel
|
2009-04-17 10:40:56 +00:00
|
|
|
%defattr(-,root,root,-)
|
2004-09-09 05:00:44 +00:00
|
|
|
%{_libdir}/libgdbm.so
|
|
|
|
%{_libdir}/libgdbm.a
|
2010-03-10 14:58:34 +00:00
|
|
|
%{_libdir}/libgdbm_compat.so
|
|
|
|
%{_libdir}/libgdbm_compat.a
|
2009-02-27 18:21:25 +00:00
|
|
|
%{_includedir}/gdbm*
|
2004-09-09 05:00:44 +00:00
|
|
|
%{_infodir}/*.info*
|
|
|
|
%{_mandir}/man3/*
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
|
|
|
|
|
|
|
%changelog
|
2010-03-11 12:44:48 +00:00
|
|
|
* Thu Mar 11 2010 Karel Klic <kklic@redhat.com> - 1.8.3-4
|
|
|
|
- Provides: libgdbm.so.2()(64bit) for x86_64 architecture
|
|
|
|
|
2010-03-11 12:15:15 +00:00
|
|
|
* Thu Mar 11 2010 Karel Klic <kklic@redhat.com> - 1.8.3-3
|
|
|
|
- Added temporary symlinks to retain compatibility with gdbm 1.8.0
|
|
|
|
|
2010-03-10 16:49:17 +00:00
|
|
|
* Wed Mar 10 2010 Rex Dieter <rdieter@fedoraproject.org> - 1.8.3-2
|
|
|
|
- %%files: track shlib sonames, so abi breaks are less of a surprise
|
|
|
|
|
2010-03-10 14:58:34 +00:00
|
|
|
* Tue Mar 09 2010 Karel Klic <kklic@redhat.com> - 1.8.3-1
|
|
|
|
- Newer upstream release
|
|
|
|
- Removed gdbm-1.8.0-64offset.patch, because it was merged by the upstream
|
|
|
|
- `jbj' patch extended and renamed to `zeroheaders'
|
|
|
|
- Added shortread patch from Debian
|
|
|
|
|
2009-07-24 23:40:30 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-33
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Fri Apr 17 2009 Stepan Kasal <skasal@redhat.com> - 1.8.0-32
|
|
|
|
- Clean up the spec, for merge review.
|
|
|
|
|
2009-02-27 18:21:25 +00:00
|
|
|
* Fri Feb 27 2009 Stepan Kasal <skasal@redhat.com> - 1.8.0-31
|
|
|
|
- drop *-cflags.patch, move all makefile fixes to *-fhs.patch
|
|
|
|
- propagate libdir to Makefile; no need to set it on cmdline
|
|
|
|
|
2009-02-24 20:00:47 +00:00
|
|
|
* Tue Feb 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.0-30
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-07-21 15:27:09 +00:00
|
|
|
* Mon Jul 21 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.8.0-29
|
|
|
|
- fix license tag
|
|
|
|
|
2008-02-19 10:06:36 +00:00
|
|
|
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.8.0-28
|
|
|
|
- Autorebuild for GCC 4.3
|
|
|
|
|
2007-04-03 12:10:59 +00:00
|
|
|
* Tue Apr 3 2007 Ondrej Dvoracek <odvorace@redhat.com> - 1.8.0-27
|
|
|
|
- made install-info use in scriptlets safe (#223688)
|
|
|
|
|
2006-07-12 05:53:58 +00:00
|
|
|
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 1.8.0-26.2.1
|
|
|
|
- rebuild
|
|
|
|
|
2006-02-11 02:50:40 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 1.8.0-26.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 11:44:46 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 1.8.0-26.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-01-24 07:20:15 +00:00
|
|
|
* Tue Jan 24 2006 Warren Togami <wtogami@redhat.com> 1.8.0-26
|
|
|
|
- remove .la (#171535)
|
|
|
|
|
2005-12-09 22:40:32 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-04-09 05:28:58 +00:00
|
|
|
* Sat Apr 09 2005 Florian La Roche <laroche@redhat.com>
|
|
|
|
- rebuild
|
|
|
|
|
2004-09-09 05:03:14 +00:00
|
|
|
* Sun Aug 8 2004 Alan Cox <alan@redhat.com> 1.8.0-24
|
|
|
|
- Close bug #125319
|
|
|
|
|
2004-09-09 05:03:10 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 05:03:06 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 05:02:35 +00:00
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 05:02:13 +00:00
|
|
|
* Wed Jan 22 2003 Tim Powers <timp@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Oct 4 2002 Nalin Dahyabhai <nalin@redhat.com> 1.8.0-19
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Fri Sep 13 2002 Nalin Dahyabhai <nalin@redhat.com> 1.8.0-18.1
|
|
|
|
- run make with libdir overridden so that it has the value passed to configure
|
|
|
|
instead of $(prefix)/lib
|
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Wed Jul 24 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.8.0-18
|
2004-09-09 05:02:07 +00:00
|
|
|
- Remove cflags for large database support - not compatible
|
|
|
|
with databases without it
|
|
|
|
|
2004-09-09 05:01:58 +00:00
|
|
|
* Fri Jun 21 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
|
|
|
* Thu May 23 2002 Tim Powers <timp@redhat.com>
|
|
|
|
- automated rebuild
|
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Thu Apr 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.8.0-15
|
2004-09-09 05:01:58 +00:00
|
|
|
- Use 64bit offset
|
|
|
|
- Patch to make the above not break from downsj@downsj.com (#63980)
|
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Tue Feb 26 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.8.0-14
|
2004-09-09 05:01:34 +00:00
|
|
|
- Rebuild
|
2004-09-09 05:01:28 +00:00
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Fri Jan 25 2002 Trond Eivind Glomsrød <teg@redhat.com> 1.8.0-13
|
2004-09-09 05:01:34 +00:00
|
|
|
- Update location
|
|
|
|
- auto* changes to make it build
|
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Wed Oct 17 2001 Trond Eivind Glomsrød <teg@redhat.com> 1.8.0-11
|
2004-09-09 05:01:34 +00:00
|
|
|
- Add URL (# 54607)
|
2004-09-09 05:01:19 +00:00
|
|
|
|
2004-09-09 05:01:07 +00:00
|
|
|
* Mon Jun 25 2001 Nalin Dahyabhai <nalin@redhat.com>
|
|
|
|
- s/Copyright:/License:/g
|
|
|
|
- include text docs in binary package
|
|
|
|
|
2004-09-09 05:01:04 +00:00
|
|
|
* Tue Jun 12 2001 Than Ngo <than@redhat.com>
|
|
|
|
- fix to build against new libtool
|
|
|
|
|
2009-04-17 10:40:56 +00:00
|
|
|
* Mon Mar 19 2001 Trond Eivind Glomsrød <teg@redhat.com>
|
2004-09-09 05:01:04 +00:00
|
|
|
- Make it respect RPM_OPT_FLAGS/CFLAGS - #32242.
|
|
|
|
Patch from dan@D00M.cmc.msu.ru
|
|
|
|
|
2004-09-09 05:00:44 +00:00
|
|
|
* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
|
|
|
|
- automatic rebuild
|
|
|
|
|
|
|
|
* Mon Jun 5 2000 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- FHS packaging.
|
|
|
|
|
|
|
|
* Mon Feb 7 2000 Bill Nottingham <notting@redhat.com>
|
|
|
|
- handle compressed manpages
|
|
|
|
|
|
|
|
* Tue Aug 10 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- make sure created database header is initialized (#4457).
|
|
|
|
|
|
|
|
* Tue Jun 1 1999 Jeff Johnson <jbj@redhat.com>
|
|
|
|
- update to 1.8.0.
|
|
|
|
- repackage to include /usr/include/gdbm/*dbm.h compatibility includes.
|
|
|
|
|
|
|
|
* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- auto rebuild in the new build environment (release 19)
|
|
|
|
|
|
|
|
* Thu Dec 17 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- build against glibc 2.1
|
|
|
|
|
|
|
|
* Thu May 07 1998 Prospector System <bugs@redhat.com>
|
|
|
|
- translations modified for de, fr, tr
|
|
|
|
|
|
|
|
* Thu Apr 30 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- gdbm-devel moved to Development/Libraries
|
|
|
|
|
|
|
|
* Wed Apr 08 1998 Cristian Gafton <gafton@redhat.com>
|
|
|
|
- buildroot and built for Manhattan
|
|
|
|
|
|
|
|
* Tue Oct 14 1997 Donnie Barnes <djb@redhat.com>
|
|
|
|
- spec file cleanups
|
|
|
|
|
|
|
|
* Thu Jun 12 1997 Erik Troan <ewt@redhat.com>
|
|
|
|
- built against glibc
|