diff --git a/ding-libs.spec b/ding-libs.spec index 95bde14..fd243a8 100644 --- a/ding-libs.spec +++ b/ding-libs.spec @@ -1,28 +1,46 @@ +# +# spec file for package ding-libs (Version 0.1.2) +# +# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + %global path_utils_version 0.2.1 %global dhash_version 0.4.2 %global collection_version 0.6.0 %global ref_array_version 0.1.1 %global ini_config_version 0.6.1 -Name: ding-libs -Version: 0.1.2 -Release: 0 -Summary: "Ding is not GLib" assorted utility libraries -Group: Development/Libraries/C and C++ -License: LGPLv3+ -URL: http://fedorahosted.org/sssd/ -Source0: %{name}-%{version}.tar.bz2 -Patch0: doxygen-notimestamp.dif -Patch1: Fix-license-text-for-several-files-that-should-be-LGPLv3+.patch -BuildRoot: %{_tmppath}/%{name}-%{version}-build +Name: ding-libs +Version: 0.1.2 +Release: 1 +Summary: "Ding is not GLib" assorted utility libraries +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Url: http://fedorahosted.org/sssd/ +Source0: %{name}-%{version}.tar.bz2 +Patch0: doxygen-notimestamp.dif +Patch1: Fix-license-text-for-several-files-that-should-be-LGPLv3+.patch +BuildRoot: %{_tmppath}/%{name}-%{version}-build ### Build Dependencies ### -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool -BuildRequires: m4 -BuildRequires: doxygen -BuildRequires: pkg-config +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: libtool +BuildRequires: m4 +BuildRequires: doxygen +BuildRequires: pkg-config %description Assorted C utility libraries: libcollection, libdhash, libini_config, @@ -33,25 +51,28 @@ librefarray and libpath_utils. ############################################################################## %package -n libpath_utils1 -Summary: Filesystem Path Utilities -Group: Development/Libraries/C and C++ -License: LGPLv3+ -Version: %{path_utils_version} +Summary: Filesystem Path Utilities +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Version: %{path_utils_version} +Release: 1 %description -n libpath_utils1 Utility functions to manipulate filesystem pathnames %package -n libpath_utils-devel -Summary: Development files for libpath_utils -Group: Development/Libraries/C and C++ -Requires: libpath_utils1 = %{path_utils_version} -License: LGPLv3+ -Version: %{path_utils_version} +Summary: Development files for libpath_utils +Group: Development/Libraries/C and C++ +Requires: libpath_utils1 = %{path_utils_version} +License: LGPLv3+ +Version: %{path_utils_version} +Release: 1 %description -n libpath_utils-devel Utility functions to manipulate filesystem pathnames %post -n libpath_utils1 -p /sbin/ldconfig + %postun -n libpath_utils1 -p /sbin/ldconfig %files -n libpath_utils1 @@ -68,33 +89,35 @@ Utility functions to manipulate filesystem pathnames %doc path_utils/README.path_utils %doc path_utils/doc/html/ - ############################################################################## # dhash ############################################################################## %package -n libdhash1 -Group: Development/Libraries/C and C++ -Summary: Dynamic hash table -License: LGPLv3+ -Version: %{dhash_version} +Group: Development/Libraries/C and C++ +Summary: Dynamic hash table +License: LGPLv3+ +Version: %{dhash_version} +Release: 1 %description -n libdhash1 A hash table which will dynamically resize to achieve optimal storage & access time properties %package -n libdhash-devel -Summary: Development files for libdhash -Group: Development/Libraries/C and C++ -Requires: libdhash1 = %{dhash_version} -License: LGPLv3+ -Version: %{dhash_version} +Summary: Development files for libdhash +Group: Development/Libraries/C and C++ +Requires: libdhash1 = %{dhash_version} +License: LGPLv3+ +Version: %{dhash_version} +Release: 1 %description -n libdhash-devel A hash table which will dynamically resize to achieve optimal storage & access time properties %post -n libdhash1 -p /sbin/ldconfig + %postun -n libdhash1 -p /sbin/ldconfig %files -n libdhash1 @@ -111,34 +134,36 @@ time properties %doc dhash/README.dhash %doc dhash/examples/ - ############################################################################## # collection ############################################################################## + %package -n libcollection2 -Summary: Collection data-type for C -Group: Development/Libraries/C and C++ -License: LGPLv3+ -Version: %{collection_version} +Summary: Collection data-type for C +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Version: %{collection_version} +Release: 1 %description -n libcollection2 A data-type to collect data in a hierarchical structure for easy iteration and serialization %package -n libcollection-devel -Summary: Development files for libcollection -Group: Development/Libraries/C and C++ -License: LGPLv3+ -Requires: libcollection2 = %{collection_version} -Version: %{collection_version} +Summary: Development files for libcollection +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Requires: libcollection2 = %{collection_version} +Version: %{collection_version} +Release: 1 %description -n libcollection-devel A data-type to collect data in a hierarchical structure for easy iteration and serialization %post -n libcollection2 -p /sbin/ldconfig -%postun -n libcollection2 -p /sbin/ldconfig +%postun -n libcollection2 -p /sbin/ldconfig %files -n libcollection2 %defattr(-,root,root,-) @@ -156,31 +181,33 @@ and serialization %{_libdir}/pkgconfig/collection.pc %doc collection/doc/html/ - ############################################################################## # ref_array ############################################################################## %package -n libref_array1 -Summary: A refcounted array for C -Group: Development/Libraries/C and C++ -License: LGPLv3+ -Version: %{ref_array_version} +Summary: A refcounted array for C +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Version: %{ref_array_version} +Release: 1 %description -n libref_array1 A dynamically-growing, reference-counted array %package -n libref_array-devel -Summary: Development files for libref_array -Group: Development/Libraries/C and C++ -Requires: libref_array1 = %{ref_array_version} -License: LGPLv3+ -Version: %{ref_array_version} +Summary: Development files for libref_array +Group: Development/Libraries/C and C++ +Requires: libref_array1 = %{ref_array_version} +License: LGPLv3+ +Version: %{ref_array_version} +Release: 1 %description -n libref_array-devel A dynamically-growing, reference-counted array %post -n libref_array1 -p /sbin/ldconfig + %postun -n libref_array1 -p /sbin/ldconfig %files -n libref_array1 @@ -197,33 +224,35 @@ A dynamically-growing, reference-counted array %doc refarray/README.ref_array %doc refarray/doc/html/ - ############################################################################## # ini_config ############################################################################## %package -n libini_config2 -Summary: INI file parser for C -Group: Development/Libraries/C and C++ -License: LGPLv3+ -Version: %{ini_config_version} +Summary: INI file parser for C +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Version: %{ini_config_version} +Release: 1 %description -n libini_config2 Library to process config files in INI format into a libcollection data structure %package -n libini_config-devel -Summary: Development files for libini_config -Group: Development/Libraries/C and C++ -License: LGPLv3+ -Requires: libini_config2 = %{ini_config_version} -Version: %{ini_config_version} +Summary: Development files for libini_config +Group: Development/Libraries/C and C++ +License: LGPLv3+ +Requires: libini_config2 = %{ini_config_version} +Version: %{ini_config_version} +Release: 1 %description -n libini_config-devel Library to process config files in INI format into a libcollection data structure %post -n libini_config2 -p /sbin/ldconfig + %postun -n libini_config2 -p /sbin/ldconfig %files -n libini_config2 @@ -239,7 +268,6 @@ structure %{_libdir}/pkgconfig/ini_config.pc %doc ini/doc/html/ - ############################################################################## # Build steps ############################################################################## @@ -279,3 +307,4 @@ rm -f */doc/html/installdox %clean rm -rf $RPM_BUILD_ROOT +%changelog