summaryrefslogtreecommitdiffstats
path: root/slapi-nis.spec
diff options
context:
space:
mode:
authorNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-09 15:02:24 -0400
committerNalin Dahyabhai <nalin.dahyabhai@pobox.com>2008-07-09 15:02:24 -0400
commitefc81cbd4f21fcbaba2edc34f173d512c537c7f2 (patch)
treefe1a9e974ad865fad87898563bcf88c43e8e4f85 /slapi-nis.spec
parenta25d7824c8b5046c135e2db0d3ac1f4f7c571ce3 (diff)
downloadslapi-nis-efc81cbd4f21fcbaba2edc34f173d512c537c7f2.tar.gz
slapi-nis-efc81cbd4f21fcbaba2edc34f173d512c537c7f2.tar.xz
slapi-nis-efc81cbd4f21fcbaba2edc34f173d512c537c7f2.zip
- packaging changes: drop the -0 from the distdir and tarball, add a .spec file
Diffstat (limited to 'slapi-nis.spec')
-rw-r--r--slapi-nis.spec44
1 files changed, 44 insertions, 0 deletions
diff --git a/slapi-nis.spec b/slapi-nis.spec
new file mode 100644
index 0000000..8584d6c
--- /dev/null
+++ b/slapi-nis.spec
@@ -0,0 +1,44 @@
+Name: slapi-nis
+Version: 0.2
+Release: 1%{?dist}
+Summary: A NIS server plugin for Fedora and Red Hat Directory Server
+
+Group: System Environment/Daemons
+License: GPLv2
+URL: http://slapi-nis.fedoraproject.org/
+Source0: http://people.redhat.com/~nalin/slapi-nis/slapi-nis-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: fedora-ds-base-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
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+rm $RPM_BUILD_ROOT/%{_libdir}/dirsrv/plugins/*.la
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING STATUS doc/*.txt doc/*.ldif
+%{_libdir}/dirsrv/plugins/*.so
+
+%changelog
+* Wed Jul 9 2008 Nalin Dahyabhai <nalin@redhat.com> - 0.1-1
+- initial package