summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-01 13:20:55 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-03 10:35:18 -0500
commitf77224d2141c713afefd5f953515ad1e42dca3e5 (patch)
treed9ea8854c52c91e95d1cf53af0cd688119b2703b /contrib
parente4a1d122c1cb26296354f1a04c57409f04260d7a (diff)
downloadsssd-f77224d2141c713afefd5f953515ad1e42dca3e5.tar.gz
sssd-f77224d2141c713afefd5f953515ad1e42dca3e5.tar.xz
sssd-f77224d2141c713afefd5f953515ad1e42dca3e5.zip
Package libref_array and libref_array-devel
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in39
1 files changed, 39 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index effe03749..6bf33dcd3 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -16,6 +16,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
%define path_utils_version 0.2.0
%define collection_version 0.4.0
%define ini_config_version 0.4.0
+%define refarray_version 0.1.0
### Patches ###
@@ -167,6 +168,25 @@ License: LGPLv3+
Library to process config files in INI format into a libcollection data
structure
+%package -n libref_array
+Summary: A refcounted array for C
+Group: Development/Libraries
+Version: %{refarray_version}
+License: LGPLv3+
+
+%description -n libref_array
+A dynamically-growing, reference-counted array
+
+%package -n libref_array-devel
+Summary: Development files for libref_array
+Group: Development/Libraries
+Version: %{refarray_version}
+Requires: libref_array = %{refarray_version}-%{release}
+License: LGPLv3+
+
+%description -n libref_array-devel
+A dynamically-growing, reference-counted array
+
%prep
%setup -q
@@ -215,6 +235,7 @@ rm -f \
$RPM_BUILD_ROOT/%{_libdir}/libpath_utils.la \
$RPM_BUILD_ROOT/%{_libdir}/libcollection.la \
$RPM_BUILD_ROOT/%{_libdir}/libini_config.la \
+ $RPM_BUILD_ROOT/%{_libdir}/libref_array.la \
$RPM_BUILD_ROOT/%{_libdir}/ldb/memberof.la \
$RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ldap.la \
$RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_proxy.la \
@@ -344,6 +365,21 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/ini_config.pc
%doc common/ini/README
+%files -n libref_array
+%defattr(-,root,root,-)
+%doc common/refarray/COPYING
+%doc common/refarray/COPYING.LESSER
+%{_libdir}/libref_array.so.1
+%{_libdir}/libref_array.so.1.0.0
+
+%files -n libref_array-devel
+%defattr(-,root,root,-)
+%{_includedir}/ref_array.h
+%{_libdir}/libref_array.so
+%{_libdir}/pkgconfig/ref_array.pc
+%doc common/refarray/README
+
+
%post
/sbin/ldconfig
/sbin/chkconfig --add %{servicename}
@@ -381,6 +417,9 @@ fi
%post -n libini_config -p /sbin/ldconfig
%postun -n libini_config -p /sbin/ldconfig
+%post -n libref_array -p /sbin/ldconfig
+%postun -n libref_array -p /sbin/ldconfig
+
%changelog
* Mon Sep 28 2009 Sumit Bose <sbose@redhat.com> - 0.6.0-0
- New upstream release 0.6.0