- Rename package to tdb and add an independent libtdb1 subpackage.
- Rename rpmlintrc file from libtdb1 to tdb-tools. - Remove bogus requires to itself from libtdb1 package. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/tdb?expand=0&rev=9
This commit is contained in:
parent
ad1bd51414
commit
1920162d01
@ -1,3 +1,10 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Jun 2 14:32:09 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
- Rename package to tdb and add an independent libtdb1 subpackage.
|
||||
- Rename rpmlintrc file from libtdb1 to tdb-tools.
|
||||
- Remove bogus requires to itself from libtdb1 package.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 31 14:13:31 UTC 2012 - lmuelle@suse.com
|
||||
|
||||
|
63
tdb.spec
63
tdb.spec
@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package libtdb1 (Version 1.2.10)
|
||||
# spec file for package tdb (Version 1.2.10)
|
||||
#
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@ -19,7 +19,39 @@
|
||||
|
||||
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
|
||||
|
||||
Name: libtdb1
|
||||
Name: tdb
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||
%define build_make_smp_mflags %{?_smp_mflags}
|
||||
%else
|
||||
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||
%endif
|
||||
License: GPL-3.0+
|
||||
Group: System/Libraries
|
||||
Url: http://tdb.samba.org/
|
||||
Version: 1.2.10
|
||||
Release: 0
|
||||
Summary: Samba Trivial Database
|
||||
Source: http://download.samba.org/pub/tdb/tdb-%{version}.tar.gz
|
||||
Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
|
||||
%description
|
||||
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
|
||||
except that it allows multiple simultaneous writers and uses locking
|
||||
internally to keep writers from trampling on each other. TDB is also extremely
|
||||
small.
|
||||
|
||||
|
||||
%package -n libtdb1
|
||||
License: GPL-3.0+
|
||||
Summary: Libraries and Header Files to Develop Programs with tdb1 Support
|
||||
Group: System/Libraries
|
||||
%if 0%{?suse_version} > 1020
|
||||
Requires: pkg-config
|
||||
%else
|
||||
Requires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: autoconf
|
||||
BuildRequires: docbook-xsl-stylesheets
|
||||
BuildRequires: libxslt
|
||||
@ -29,23 +61,10 @@ BuildRequires: pkg-config
|
||||
BuildRequires: pkgconfig
|
||||
%endif
|
||||
BuildRequires: python-devel
|
||||
%if 0%{?suse_version} == 0 || 0%{?suse_version} > 1140
|
||||
%define build_make_smp_mflags %{?_smp_mflags}
|
||||
%else
|
||||
%define build_make_smp_mflags %{?jobs:-j%jobs}
|
||||
%endif
|
||||
License: GPLv3+
|
||||
Group: System/Libraries
|
||||
Url: http://tdb.samba.org/
|
||||
Version: 1.2.10
|
||||
Release: 0
|
||||
PreReq: /sbin/ldconfig
|
||||
Summary: Samba tdb Library
|
||||
Source: http://download.samba.org/pub/tdb/tdb-%{version}.tar.gz
|
||||
Source4: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
|
||||
%description -n libtdb1
|
||||
TDB is a Trivial Database. In concept, it is very much like GDBM, and BSD's DB
|
||||
except that it allows multiple simultaneous writers and uses locking
|
||||
internally to keep writers from trampling on each other. TDB is also extremely
|
||||
@ -91,11 +110,11 @@ This package contains tools to manage Tdb files.
|
||||
%package -n python-tdb
|
||||
License: GPL-3.0+
|
||||
Summary: Python bindings for the Tdb library
|
||||
Group: Development/Libraries
|
||||
Group: Development/Libraries/Python
|
||||
Requires: libtdb1 = %{version}
|
||||
|
||||
%description -n python-tdb
|
||||
Python bindings for libtdb
|
||||
This package contains the python bindings for the Tdb library.
|
||||
|
||||
|
||||
%prep
|
||||
@ -125,15 +144,15 @@ CONFIGURE_OPTIONS="\
|
||||
%install
|
||||
DESTDIR=${RPM_BUILD_ROOT} make install
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%post -n libtdb1 -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
%postun -n libtdb1 -p /sbin/ldconfig
|
||||
|
||||
%post -n python-tdb -p /sbin/ldconfig
|
||||
|
||||
%postun -n python-tdb -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%files -n libtdb1
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libtdb.so.*
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user