Accepting request 102917 from home:jengelh:branches:devel:libraries:c_c++
- Name library package according to shlib policy - Update description, source text from GNU homepage OBS-URL: https://build.opensuse.org/request/show/102917 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gdbm?expand=0&rev=17
This commit is contained in:
parent
d8de2f0ce9
commit
0da2a06c13
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 5 17:48:43 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
- Name library package according to shlib policy
|
||||||
|
- Update description, source text from GNU homepage
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Feb 5 16:36:13 UTC 2012 - jengelh@medozas.de
|
Sun Feb 5 16:36:13 UTC 2012 - jengelh@medozas.de
|
||||||
|
|
||||||
|
48
gdbm.spec
48
gdbm.spec
@ -16,6 +16,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
Name: gdbm
|
Name: gdbm
|
||||||
|
%define lname libgdbm3
|
||||||
Url: http://directory.fsf.org/GNU/gdbm.html
|
Url: http://directory.fsf.org/GNU/gdbm.html
|
||||||
#!BuildIgnore: man
|
#!BuildIgnore: man
|
||||||
# bug437293
|
# bug437293
|
||||||
@ -25,7 +26,7 @@ Obsoletes: gdbm-64bit
|
|||||||
#
|
#
|
||||||
Version: 1.8.3
|
Version: 1.8.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: GNU Database Routines
|
Summary: GNU dbm key/data database
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2
|
Source: ftp://prep.ai.mit.edu/gnu/gdbm/gdbm-%{version}.tar.bz2
|
||||||
@ -39,9 +40,46 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
|
|
||||||
%description
|
%description
|
||||||
A static and dynamic library for the GNU database routines.
|
GNU dbm is a library of database functions that use extensible
|
||||||
|
hashing and work similar to the standard UNIX dbm. These routines are
|
||||||
|
provided to a programmer needing to create and manipulate a hashed
|
||||||
|
database.
|
||||||
|
|
||||||
|
The basic use of GDBM is to store key/data pairs in a data file. Each
|
||||||
|
key must be unique and each key is paired with only one data item.
|
||||||
|
|
||||||
|
The library provides primitives for storing key/data pairs, searching
|
||||||
|
and retrieving the data by its key and deleting a key along with its
|
||||||
|
data. It also support sequential iteration over all key/data pairs in
|
||||||
|
a database.
|
||||||
|
|
||||||
|
For compatibility with programs using old UNIX dbm function, the
|
||||||
|
package also provides traditional dbm and ndbm interfaces.
|
||||||
|
|
||||||
|
%package -n %lname
|
||||||
|
Summary: GNU dbm key/data database
|
||||||
|
License: GPL-2.0+
|
||||||
|
Group: System/Libraries
|
||||||
|
# O/P added in 12.2
|
||||||
|
Obsoletes: gdbm < %version-%release
|
||||||
|
Provides: gdbm = %version-%release
|
||||||
|
|
||||||
|
%description -n %lname
|
||||||
|
GNU dbm is a library of database functions that use extensible
|
||||||
|
hashing and work similar to the standard UNIX dbm. These routines are
|
||||||
|
provided to a programmer needing to create and manipulate a hashed
|
||||||
|
database.
|
||||||
|
|
||||||
|
The basic use of GDBM is to store key/data pairs in a data file. Each
|
||||||
|
key must be unique and each key is paired with only one data item.
|
||||||
|
|
||||||
|
The library provides primitives for storing key/data pairs, searching
|
||||||
|
and retrieving the data by its key and deleting a key along with its
|
||||||
|
data. It also support sequential iteration over all key/data pairs in
|
||||||
|
a database.
|
||||||
|
|
||||||
|
For compatibility with programs using old UNIX dbm function, the
|
||||||
|
package also provides traditional dbm and ndbm interfaces.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Include Files and Libraries mandatory for Development
|
Summary: Include Files and Libraries mandatory for Development
|
||||||
@ -97,11 +135,11 @@ echo "/* GNU ld script
|
|||||||
the static library, so try that secondarily. */
|
the static library, so try that secondarily. */
|
||||||
GROUP ( %_libdir/libgdbm.a %_libdir/libgdbm_compat.a )" > $RPM_BUILD_ROOT/%{_libdir}/libndbm.a
|
GROUP ( %_libdir/libgdbm.a %_libdir/libgdbm_compat.a )" > $RPM_BUILD_ROOT/%{_libdir}/libndbm.a
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%postun -p /sbin/ldconfig
|
%postun -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files -n %lname
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING README NEWS
|
%doc COPYING README NEWS
|
||||||
%_libdir/libgdbm.so.3
|
%_libdir/libgdbm.so.3
|
||||||
|
Loading…
Reference in New Issue
Block a user