From f3cdf684be66f04b8607b1254f1b305aecdfa222 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 25 Sep 2009 07:28:03 -0400 Subject: Split out an sssd-clients package --- contrib/sssd.spec.in | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) (limited to 'contrib') diff --git a/contrib/sssd.spec.in b/contrib/sssd.spec.in index 87ee5a9d..79448e62 100644 --- a/contrib/sssd.spec.in +++ b/contrib/sssd.spec.in @@ -17,7 +17,7 @@ BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX) Requires: libldb = 0.9.3 Requires: libtdb >= 1.1.3 - +Requires: sssd-client = @PACKAGE_VERSION@ Requires(post): python Requires(preun): initscripts chkconfig Requires(postun): /sbin/service @@ -60,6 +60,14 @@ the system and a pluggable backend system to connect to multiple different account sources. It is also the basis to provide client auditing and policy services for projects like FreeIPA. +%package client +Summary: SSSD Client libraries for NSS and PAM +Group: Applications/System + +%description client +Provides the libraries needed by the PAM and NSS stacks to connect to the SSSD +service. + %prep %setup -q @@ -122,14 +130,26 @@ rm -rf $RPM_BUILD_ROOT %attr(700,root,root) %dir %{pipepath}/private %dir %{_sysconfdir}/sssd %config(noreplace) %{_sysconfdir}/sssd/sssd.conf -/%{_lib}/libnss_sss.so.2 -/%{_lib}/security/pam_sss.so -%{_mandir}/man5/* -%{_mandir}/man8/* +%{_mandir}/man5/sssd.conf.5* +%{_mandir}/man5/sssd-krb5.5* +%{_mandir}/man5/sssd-ldap.5* +%{_mandir}/man8/sssd.8* +%{_mandir}/man8/sss_groupadd.8* +%{_mandir}/man8/sss_groupdel.8* +%{_mandir}/man8/sss_groupmod.8* +%{_mandir}/man8/sss_useradd.8* +%{_mandir}/man8/sss_userdel.8* +%{_mandir}/man8/sss_usermod.8* +%{_mandir}/man8/sssd_krb5_locator_plugin.8* %{_datadir}/locale/*/LC_MESSAGES/sss_client.mo %{_datadir}/locale/*/LC_MESSAGES/sss_daemon.mo %{python_sitearch}/pysss.so +%files client +/%{_lib}/libnss_sss.so.2 +/%{_lib}/security/pam_sss.so +%{_mandir}/man8/pam_sss.8* + %post /sbin/ldconfig /sbin/chkconfig --add %{servicename} @@ -149,7 +169,8 @@ if [ $1 -ge 1 ] ; then fi %changelog -* Fri Sep 25 2009 Stephen Gallagher - 0.6.0-0 +* Fri Sep 25 2009 Simo Sorce - 0.5.0-1 +- Split package into server and clients components - Convert to new config file format * Wed Sep 02 2009 Stephen Gallagher - 0.5.0-0 -- cgit