From 1bed1caf96aa551675d0515486f880cbcbc225b9 Mon Sep 17 00:00:00 2001 From: Martin Nagy Date: Sun, 3 May 2009 07:19:36 +0000 Subject: [PATCH] - initial packaging --- .cvsignore | 1 + bind-dyndb-ldap.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 54 insertions(+) create mode 100644 bind-dyndb-ldap.spec diff --git a/.cvsignore b/.cvsignore index e69de29..f05a2ce 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +bind-dyndb-ldap-0.1.0a1.tar.bz2 diff --git a/bind-dyndb-ldap.spec b/bind-dyndb-ldap.spec new file mode 100644 index 0000000..e42fb21 --- /dev/null +++ b/bind-dyndb-ldap.spec @@ -0,0 +1,52 @@ +Name: bind-dyndb-ldap +Version: 0.1.0 +Release: 0.1.a1%{?dist} +Summary: LDAP back-end plug-in for BIND + +Group: System Environment/Libraries +License: GPLv2 +URL: http://mnagy.github.com/bind-dyndb-ldap +Source0: http://cloud.github.com/downloads/mnagy/%{name}/%{name}-%{version}a1.tar.bz2 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: bind-devel >= 9.6.1-0.3.b1 +BuildRequires: openldap-devel +Requires: bind >= 9.6.1-0.3.b1 + +%description +This package provides an LDAP back-end plug-in for BIND. It features +support for dynamic updates and internal caching, to lift the load +off of your LDAP server. + + +%prep +%setup -q -n %{name}-%{version}a1 + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf %{buildroot} +make install DESTDIR=%{buildroot} + +# Remove unwanted files +rm %{buildroot}%{_libdir}/bind/ldap.la +rm -r %{buildroot}%{_datadir}/doc/%{name} + + +%clean +rm -rf %{buildroot} + + +%files +%defattr(-,root,root,-) +%doc README COPYING doc/{example.ldif,schema} +%{_libdir}/bind/ldap.so + + +%changelog +* Sun May 03 2009 Martin Nagy - 0.1.0-0.1.a1 +- initial packaging diff --git a/sources b/sources index e69de29..0f59390 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +d2ccf56cc4e1018a667802cc084f0c2e bind-dyndb-ldap-0.1.0a1.tar.bz2