From 55e6e6cccbb6ffe797dbd560ac5ffbbed97f23c697b7031a9cae8c23d95ef486 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20M=C3=BCller?= Date: Sat, 2 Jun 2012 16:02:22 +0000 Subject: [PATCH] - Rename package to ldb and add an independent libldb1 subpackage. - Enhance and polish the package descriptions and summaries. OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/ldb?expand=0&rev=10 --- ldb.changes | 6 ++++++ ldb.spec | 32 +++++++++++++++++++++++--------- 2 files changed, 29 insertions(+), 9 deletions(-) diff --git a/ldb.changes b/ldb.changes index dfc6738..dda4cdb 100644 --- a/ldb.changes +++ b/ldb.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Sat Jun 2 16:00:14 UTC 2012 - lmuelle@suse.com + +- Rename package to ldb and add an independent libldb1 subpackage. +- Enhance and polish the package descriptions and summaries. + ------------------------------------------------------------------- Fri Jun 1 15:27:26 UTC 2012 - lmuelle@suse.com diff --git a/ldb.spec b/ldb.spec index be6b804..ac840f2 100644 --- a/ldb.spec +++ b/ldb.spec @@ -1,5 +1,5 @@ # -# spec file for package libldb1 (Version 1.1.6) +# spec file for package ldb (Version 1.1.6) # # Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. # @@ -23,12 +23,8 @@ %define tdb_version 1.2.10 %define tevent_version 0.9.15 -Name: libldb1 -%if 0%{?suse_version} > 1020 -BuildRequires: pkg-config -%else -BuildRequires: pkgconfig -%endif + +Name: ldb #!BuildIgnore: libtalloc BuildRequires: libtalloc-devel >= %{talloc_version} BuildRequires: libtdb-devel >= %{tdb_version} @@ -47,13 +43,29 @@ Group: System/Libraries Url: http://ldb.samba.org/ Version: 1.1.6 Release: 0 -PreReq: /sbin/ldconfig -Summary: Samba ldb Library +Summary: An LDAP-like embedded database Source: http://download.samba.org/pub/ldb/ldb-%{version}.tar.gz Source4: baselibs.conf BuildRoot: %{_tmppath}/%{name}-%{version}-build %description +Ldb is an LDAP-like embedded database. + + +%package -n libldb1 +License: GPL-3.0+ +Summary: An LDAP-like embedded database +Group: System/Libraries +%if 0%{?suse_version} > 1020 +BuildRequires: pkg-config +%else +BuildRequires: pkgconfig +%endif +PreReq: /sbin/ldconfig + +%description -n libldb1 +Ldb is an LDAP-like embedded database. + This package includes the ldb1 library. @@ -64,6 +76,8 @@ Group: Development/Libraries/C and C++ Requires: libldb1 = %{version} %description -n libldb-devel +Ldb is an LDAP-like embedded database. + Libraries and Header Files to Develop Programs with ldb1 Support