slapi-nis/slapi-nis.spec

63 lines
1.7 KiB
RPMSpec

Name: slapi-nis
Version: 0.8.1
Release: 1%{?dist}
Summary: NIS Server and Schema Compatibility plugins for Directory Server
Group: System Environment/Daemons
License: GPLv2
URL: http://slapi-nis.fedorahosted.org/
Source0: https://fedorahosted.org/releases/s/l/slapi-nis/slapi-nis-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: fedora-ds-base-devel, mozldap-devel, tcp_wrappers-devel
%description
This slapi-nis package contains two plugins which aim to ease the
transition of a network from NIS to LDAP. The NIS Server plugin
(nisserver-plugin) allows the directory server itself to act as a NIS
server, and the Schema Compatibility plugin (schemacompat-plugin)
allows the directory server to provide modified views of data stored
in the directory.
%prep
%setup -q
%build
%configure --disable-static --with-tcp-wrappers
make %{?_smp_mflags}
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
rm $RPM_BUILD_ROOT/%{_libdir}/dirsrv/plugins/*.la
%if 0
# ns-slapd doesn't want to start in koji
%check
make check
%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYING STATUS doc/*.txt doc/*.ldif
%{_libdir}/dirsrv/plugins/*.so
%{_sbindir}/nisserver-plugin-defs
%changelog
* Fri Oct 3 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8.1-1
- update to 0.8.1 to fix a heap corruption (Rich Megginson)
* Wed Aug 6 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.8-1
- update to 0.8
* Wed Aug 6 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.7-1
- update to 0.7
* Wed Jul 23 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.6-1
- rebuild (and make rpmlint happy)
* Wed Jul 9 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.2-1
- initial package