[ding-libs] Various updates of spec file

Jan Zeleny jzeleny at fedoraproject.org
Mon May 28 14:32:30 UTC 2012


commit 38fb8b9d1d8b84840adcbf87c905a097b421e92c
Author: Jan Zeleny <jzeleny at redhat.com>
Date:   Mon May 28 16:31:29 2012 +0200

    Various updates of spec file

 ding-libs.spec |   35 ++++++++++++++++++++++++++++++++---
 1 files changed, 32 insertions(+), 3 deletions(-)
---
diff --git a/ding-libs.spec b/ding-libs.spec
index e8feb2a..f210aca 100644
--- a/ding-libs.spec
+++ b/ding-libs.spec
@@ -1,6 +1,6 @@
 Name: ding-libs
 Version: 0.2.91
-Release: 9%{?dist}
+Release: 10%{?dist}
 Summary: "Ding is not GLib" assorted utility libraries
 Group: Development/Libraries
 License: LGPLv3+
@@ -12,11 +12,20 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
 %global dhash_version 0.4.3
 %global collection_version 0.6.2
 %global ref_array_version 0.1.3
+%global basicobjects_version 0.1.0
 %global ini_config_version 0.7.0
 
 ### Patches ###
 
 ### Dependencies ###
+# ding-libs is a meta-package that will pull in all of its own
+# sub-packages
+Requires: libpath_utils = %{path_utils_version}-%{release}
+Requires: libdhash = %{dhash_version}-%{release}
+Requires: libcollection = %{collection_version}-%{release}
+Requires: libref_array = %{ref_array_version}-%{release}
+Requires: libbasicobjects = %{basicobjects_version}-%{release}
+Requires: libini_config = %{ini_config_version}-%{release}
 
 ### Build Dependencies ###
 
@@ -30,6 +39,24 @@ BuildRequires: check-devel
 %description
 A set of helpful libraries used by projects such as SSSD.
 
+%package devel
+Summary: Development packages for ding-libs
+Group: Development/Libraries
+License: LGPLv3+
+
+# ding-libs is a meta-package that will pull in all of its own
+# sub-packages
+Requires: libpath_utils-devel = %{path_utils_version}-%{release}
+Requires: libdhash-devel = %{dhash_version}-%{release}
+Requires: libcollection-devel = %{collection_version}-%{release}
+Requires: libref_array-devel = %{ref_array_version}-%{release}
+Requires: libbasicobjects-devel = %{basicobjects_version}-%{release}
+Requires: libini_config-devel = %{ini_config_version}-%{release}
+
+%description devel
+A meta-package that pulls in development libraries for libcollection,
+libdhash, libini_config, librefarray and libpath_utils.
+
 ##############################################################################
 # Path Utils
 ##############################################################################
@@ -228,8 +255,7 @@ Basic object types
 %defattr(-,root,root,-)
 %doc COPYING
 %doc COPYING.LESSER
-%{_libdir}/libbasicobjects.so.0
-%{_libdir}/libbasicobjects.so.0.0.0
+%{_libdir}/libbasicobjects.so.*
 
 %files -n libbasicobjects-devel
 %defattr(-,root,root,-)
@@ -318,6 +344,9 @@ rm -f */doc/html/installdox
 rm -rf $RPM_BUILD_ROOT
 
 %changelog
+* Mon May 28 2012 Jan Zeleny <jzeleny at redhat.com> - 0.2.91-10
+- a bunch of fixes in spec file
+
 * Fri May 25 2012 Jan Zeleny <jzeleny at redhat.com> - 0.2.91-9
 - Bumped the release number to 9 for smooth upgrade
 


More information about the scm-commits mailing list