summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-01-27 12:00:17 +0100
committerStephen Gallagher <sgallagh@redhat.com>2012-03-26 20:17:21 -0400
commita6098862048d4bb469130b9ff21be3020d6f2c54 (patch)
treeae1233d430251936fed1ac376b59df8879755c01 /contrib
parentd7e3a3704d22e69f01214873a7207b4fc760d3f3 (diff)
downloadsssd-a6098862048d4bb469130b9ff21be3020d6f2c54.tar.gz
sssd-a6098862048d4bb469130b9ff21be3020d6f2c54.tar.bz2
sssd-a6098862048d4bb469130b9ff21be3020d6f2c54.zip
Add idmap library
Diffstat (limited to 'contrib')
-rw-r--r--contrib/sssd.spec.in35
1 files changed, 35 insertions, 0 deletions
diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in
index 40e68a6a..d3f0d08f 100644
--- a/contrib/sssd.spec.in
+++ b/contrib/sssd.spec.in
@@ -44,6 +44,7 @@ Requires: libldb >= 0.9.3
Requires: libtdb >= 1.1.3
Requires: sssd-client%{?_isa} = %{version}-%{release}
Requires: libipa_hbac = %{version}-%{release}
+Requires: libsss_idmap = %{version}-%{release}
Requires: cyrus-sasl-gssapi
Requires: keyutils-libs
Requires(post): initscripts chkconfig /sbin/ldconfig
@@ -140,6 +141,23 @@ SSSD when using id_provider = local in /etc/sssd/sssd.conf.
Also provides a userspace tool for generating an obfuscated LDAP password for
use with ldap_default_authtok_type = obfuscated_password.
+%package -n libsss_idmap
+Summary: FreeIPA Idmap library
+Group: Development/Libraries
+License: LGPLv3+
+
+%description -n libsss_idmap
+Utility library to SIDs to Unix uids and gids
+
+%package -n libsss_idmap-devel
+Summary: FreeIPA Idmap library
+Group: Development/Libraries
+License: LGPLv3+
+Requires: libsss_idmap = %{version}-%{release}
+
+%description -n libsss_idmap-devel
+Utility library to SIDs to Unix uids and gids
+
%package -n libipa_hbac
Summary: FreeIPA HBAC Evaluator library
Group: Development/Libraries
@@ -374,6 +392,23 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man8/sss_cache.8*
%{_mandir}/man8/sss_debuglevel.8*
+%files -n libsss_idmap
+%defattr(-,root,root,-)
+%doc src/sss_client/COPYING src/sss_client/COPYING.LESSER
+%{_libdir}/libsss_idmap.so.*
+
+%files -n libsss_idmap-devel
+%defattr(-,root,root,-)
+%if 0%{?fedora}
+%doc idmap_doc/html
+%endif
+%if 0%{?rhel} >= 6
+%doc idmap_doc/html
+%endif
+%{_includedir}/sss_idmap.h
+%{_libdir}/libsss_idmap.so
+%{_libdir}/pkgconfig/sss_idmap.pc
+
%files -n libipa_hbac
%defattr(-,root,root,-)
%doc src/sss_client/COPYING src/sss_client/COPYING.LESSER