diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-01 10:36:36 -0500 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2010-02-03 10:35:17 -0500 |
commit | 67ab83a8c191e344beedaeff9d14d8c68f1dc0eb (patch) | |
tree | 89a789f78399fccbbc5e13d12be50fb15584e7e2 /contrib | |
parent | 6e9b349b2738064f6d03b2b127ad47af399aaa10 (diff) | |
download | sssd-67ab83a8c191e344beedaeff9d14d8c68f1dc0eb.tar.gz sssd-67ab83a8c191e344beedaeff9d14d8c68f1dc0eb.tar.xz sssd-67ab83a8c191e344beedaeff9d14d8c68f1dc0eb.zip |
Package libcollection and libcollection-devel
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/sssd.spec.in | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index a062a2c8a..f151ea326 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -14,6 +14,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) %define dhash_version 0.4.0 %define path_utils_version 0.2.0 +%define collection_version 0.4.0 ### Patches ### @@ -23,6 +24,7 @@ Requires: libldb >= 0.9.3 Requires: libtdb >= 1.1.3 Requires: sssd-client = %{version}-%{release} Requires: libdhash = %{dhash_version}-%{release} +Requires: libcollection = %{collection_version}-%{release} Requires: cyrus-sasl-gssapi Requires(post): python Requires(preun): initscripts chkconfig @@ -120,6 +122,27 @@ License: LGPLv3+ %description -n libpath_utils-devel Utility functions to manipulate filesystem pathnames +%package -n libcollection +Summary: Collection data-type for C +Group: Development/Libraries +Version: %{collection_version} +License: LGPLv3+ + +%description -n libcollection +A data-type to collect data in a heirarchical structure for easy iteration +and serialization + +%package -n libcollection-devel +Summary: Development files for libcollection +Group: Development/Libraries +Version: %{collection_version} +Requires: libcollection = %{collection_version}-%{release} +License: LGPLv3+ + +%description -n libcollection-devel +A data-type to collect data in a heirarchical structure for easy iteration +and serialization + %prep %setup -q @@ -166,6 +189,7 @@ rm -f \ $RPM_BUILD_ROOT/%{_lib}/security/pam_sss.la \ $RPM_BUILD_ROOT/%{_libdir}/libdhash.la \ $RPM_BUILD_ROOT/%{_libdir}/libpath_utils.la \ + $RPM_BUILD_ROOT/%{_libdir}/libcollection.la \ $RPM_BUILD_ROOT/%{_libdir}/ldb/memberof.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ldap.la \ $RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_proxy.la \ @@ -266,6 +290,21 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/pkgconfig/path_utils.pc %doc common/path_utils/README +%files -n libcollection +%defattr(-,root,root,-) +%doc common/collection/COPYING +%doc common/collection/COPYING.LESSER +%{_libdir}/libcollection.so.1 +%{_libdir}/libcollection.so.1.0.0 + +%files -n libcollection-devel +%defattr(-,root,root,-) +%{_includedir}/collection.h +%{_includedir}/collection_tools.h +%{_libdir}/libcollection.so +%{_libdir}/pkgconfig/collection.pc +%doc common/collection/README + %post /sbin/ldconfig /sbin/chkconfig --add %{servicename} @@ -297,6 +336,9 @@ fi %post -n libpath_utils -p /sbin/ldconfig %postun -n libpath_utils -p /sbin/ldconfig +%post -n libcollection -p /sbin/ldconfig +%postun -n libcollection -p /sbin/ldconfig + %changelog * Mon Sep 28 2009 Sumit Bose <sbose@redhat.com> - 0.6.0-0 - New upstream release 0.6.0 |