summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-02-01 11:40:48 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-02-03 10:35:18 -0500
commit01447af972719c86143d0bd2ed181d3ed9ae99c4 (patch)
treec6739e0100249c733939472ee8e300b759b0a4dc /contrib
parentf4918db9dc26e3585054cc3841f379137bb9f8a6 (diff)
downloadsssd-01447af972719c86143d0bd2ed181d3ed9ae99c4.tar.gz
sssd-01447af972719c86143d0bd2ed181d3ed9ae99c4.tar.xz
sssd-01447af972719c86143d0bd2ed181d3ed9ae99c4.zip
Package libini_config and libini_config-devel
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in42
1 files changed, 42 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index f151ea32..effe0374 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -15,6 +15,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
+%define ini_config_version 0.4.0
### Patches ###
@@ -25,6 +26,7 @@ Requires: libtdb >= 1.1.3
Requires: sssd-client = %{version}-%{release}
Requires: libdhash = %{dhash_version}-%{release}
Requires: libcollection = %{collection_version}-%{release}
+Requires: libini_config = %{ini_config_version}-%{release}
Requires: cyrus-sasl-gssapi
Requires(post): python
Requires(preun): initscripts chkconfig
@@ -143,6 +145,28 @@ License: LGPLv3+
A data-type to collect data in a heirarchical structure for easy iteration
and serialization
+%package -n libini_config
+Summary: INI file parser for C
+Group: Development/Libraries
+Version: %{ini_config_version}
+Requires: libcollection = %{collection_version}-%{release}
+License: LGPLv3+
+
+%description -n libini_config
+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
+Version: %{ini_config_version}
+Requires: libini_config = %{ini_config_version}-%{release}
+License: LGPLv3+
+
+%description -n libini_config-devel
+Library to process config files in INI format into a libcollection data
+structure
+
%prep
%setup -q
@@ -190,6 +214,7 @@ rm -f \
$RPM_BUILD_ROOT/%{_libdir}/libdhash.la \
$RPM_BUILD_ROOT/%{_libdir}/libpath_utils.la \
$RPM_BUILD_ROOT/%{_libdir}/libcollection.la \
+ $RPM_BUILD_ROOT/%{_libdir}/libini_config.la \
$RPM_BUILD_ROOT/%{_libdir}/ldb/memberof.la \
$RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_ldap.la \
$RPM_BUILD_ROOT/%{_libdir}/sssd/libsss_proxy.la \
@@ -305,6 +330,20 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/collection.pc
%doc common/collection/README
+%files -n libini_config
+%defattr(-,root,root,-)
+%doc common/ini/COPYING
+%doc common/ini/COPYING.LESSER
+%{_libdir}/libini_config.so.1
+%{_libdir}/libini_config.so.1.0.0
+
+%files -n libini_config-devel
+%defattr(-,root,root,-)
+%{_includedir}/ini_config.h
+%{_libdir}/libini_config.so
+%{_libdir}/pkgconfig/ini_config.pc
+%doc common/ini/README
+
%post
/sbin/ldconfig
/sbin/chkconfig --add %{servicename}
@@ -339,6 +378,9 @@ fi
%post -n libcollection -p /sbin/ldconfig
%postun -n libcollection -p /sbin/ldconfig
+%post -n libini_config -p /sbin/ldconfig
+%postun -n libini_config -p /sbin/ldconfig
+
%changelog
* Mon Sep 28 2009 Sumit Bose <sbose@redhat.com> - 0.6.0-0
- New upstream release 0.6.0