diff options
author | Sumit Bose <sbose@redhat.com> | 2009-03-05 23:20:13 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2009-03-05 17:54:42 -0500 |
commit | 0f7963cc85592dc07fca07f2e801956bf204ec33 (patch) | |
tree | 4714d257ebdff52a0277aa6b71f96bb6fa3d4425 | |
parent | 132ccd66fb7f7bf583a6ddbed031a2bf5eef473c (diff) | |
download | sssd-0f7963cc85592dc07fca07f2e801956bf204ec33.tar.gz sssd-0f7963cc85592dc07fca07f2e801956bf204ec33.tar.bz2 sssd-0f7963cc85592dc07fca07f2e801956bf204ec33.zip |
added sss_client to spec file
-rw-r--r-- | sss_client/Makefile.in | 8 | ||||
-rw-r--r-- | sssd.spec | 29 |
2 files changed, 29 insertions, 8 deletions
diff --git a/sss_client/Makefile.in b/sss_client/Makefile.in index f7b46575..135c8f13 100644 --- a/sss_client/Makefile.in +++ b/sss_client/Makefile.in @@ -70,9 +70,11 @@ $(PAM_SSS_SOLIB): $(PAM_SSS_OBJS) all: showflags $(NSS_SSS_OBJS) $(NSS_SSS_SOLIB) $(NSS_SSS_SONAME) $(PAM_SSS_SOLIB) $(PAM_CLIENT) install: all - $(INSTALLCMD) -m 755 $(NSS_SSS_SOLIB) ${libdir} - ln -fs $(NSS_SSS_SOLIB) ${libdir}/$(NSS_SSS_SONAME) - $(INSTALLCMD) -m 755 $(PAM_SSS_SOLIB) ${libdir}/security + $(INSTALLCMD) -d $(DESTDIR)${libdir} + $(INSTALLCMD) -m 755 $(NSS_SSS_SOLIB) $(DESTDIR)${libdir} + ln -fs $(NSS_SSS_SOLIB) $(DESTDIR)${libdir}/$(NSS_SSS_SONAME) + $(INSTALLCMD) -d $(DESTDIR)${libdir}/security + $(INSTALLCMD) -m 755 $(PAM_SSS_SOLIB) $(DESTDIR)${libdir}/security clean: rm -f *.o *.a */*.o @@ -1,5 +1,5 @@ # XXX What version to call this? -%define sssd_release 2%{?dist} +%define sssd_release 3%{?dist} %define sssd_version 0.1.0 Name: sssd @@ -24,6 +24,8 @@ BuildRequires: libtdb-devel BuildRequires: libldb-devel BuildRequires: dbus-devel BuildRequires: dbus-libs +BuildRequires: mozldap-devel +BuildRequires: pam-devel %description Provides a set of daemons to manage access to remote directories and @@ -38,7 +40,7 @@ services for projects like FreeIPA. %build # sssd -cd server +pushd server ./autogen.sh %configure --prefix=%{_usr} \ --sysconfdir=%{_sysconfdir} \ @@ -47,13 +49,25 @@ cd server --with-infopipe make %{?_smp_mflags} +popd + +pushd sss_client +./autogen.sh +%configure --libdir=/%{_lib} +make %{?_smp_mflags} +popd %install rm -rf $RPM_BUILD_ROOT # sssd -cd server +pushd server make install DESTDIR=$RPM_BUILD_ROOT +popd + +pushd sss_client +make install DESTDIR=$RPM_BUILD_ROOT +popd %clean rm -rf $RPM_BUILD_ROOT @@ -65,12 +79,17 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/%{name}/ %{_libdir}/ldb/memberof.so* %{_sharedstatedir}/sss/ -# infopipe files -%{_libexecdir}/sssd/sssd_info %config(noreplace) %{_sysconfdir}/dbus-1/system.d/org.freeipa.sssd.infopipe.conf %{_datadir}/%{name}/introspect/infopipe/org.freeipa.sssd.infopipe.Introspect.xml +/%{_lib}/libnss_sss.so.0.0.1 +/%{_lib}/libnss_sss.so.2 +/%{_lib}/security/pam_sss.so + %changelog +* Thu Mar 05 2009 Sumit Bose <sbose@redhat.com> - 0.1.0-3 +- added sss_client + * Mon Feb 23 2009 Jakub Hrozek <jhrozek@redhat.com> - 0.1.0-2 - Small cleanup and fixes in the spec file |