Adam Tkac e719fcc
#%define PATCHVER P4
Adam Tkac 15d305f
%define PREVER rc1
Adam Tkac e719fcc
#%define VERSION %{version}
Adam Tkac e719fcc
#%define VERSION %{version}-%{PATCHVER}
Adam Tkac e719fcc
%define VERSION %{version}%{PREVER}
Adam Tkac e719fcc
1bed1ca
Name:           bind-dyndb-ldap
Adam Tkac e719fcc
Version:        1.0.0
c7feafa
Release:        0.5.%{PREVER}%{?dist}
1bed1ca
Summary:        LDAP back-end plug-in for BIND
1bed1ca
1bed1ca
Group:          System Environment/Libraries
8edf2b4
License:        GPLv2+
8edf2b4
URL:            https://fedorahosted.org/bind-dyndb-ldap
Adam Tkac 15d305f
Source0:        https://fedorahosted.org/released/%{name}/%{name}-%{VERSION}.tar.bz2
1bed1ca
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
1bed1ca
8edf2b4
BuildRequires:  bind-devel >= 32:9.6.1-0.3.b1
8edf2b4
BuildRequires:  krb5-devel
1bed1ca
BuildRequires:  openldap-devel
8edf2b4
8edf2b4
Requires:       bind >= 32:9.6.1-0.3.b1
1bed1ca
1bed1ca
%description
1bed1ca
This package provides an LDAP back-end plug-in for BIND. It features
1bed1ca
support for dynamic updates and internal caching, to lift the load
1bed1ca
off of your LDAP server.
1bed1ca
1bed1ca
1bed1ca
%prep
Adam Tkac e719fcc
%setup -q -n %{name}-%{VERSION}
1bed1ca
1bed1ca
%build
Adam Tkac 640acd2
export CFLAGS="`isc-config.sh --cflags dns` $RPM_OPT_FLAGS"
1bed1ca
%configure
1bed1ca
make %{?_smp_mflags}
1bed1ca
1bed1ca
1bed1ca
%install
1bed1ca
rm -rf %{buildroot}
1bed1ca
make install DESTDIR=%{buildroot}
1bed1ca
1bed1ca
# Remove unwanted files
1bed1ca
rm %{buildroot}%{_libdir}/bind/ldap.la
1bed1ca
rm -r %{buildroot}%{_datadir}/doc/%{name}
1bed1ca
1bed1ca
1bed1ca
%clean
1bed1ca
rm -rf %{buildroot}
1bed1ca
1bed1ca
1bed1ca
%files
1bed1ca
%defattr(-,root,root,-)
Adam Tkac e719fcc
%doc NEWS README COPYING doc/{example.ldif,schema}
1bed1ca
%{_libdir}/bind/ldap.so
1bed1ca
1bed1ca
1bed1ca
%changelog
c7feafa
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-0.5.rc1
c7feafa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c7feafa
Adam Tkac 15d305f
* Mon Nov 14 2011 Adam Tkac <atkac redhat com> - 1.0.0-0.4.rc1
Adam Tkac 15d305f
- update to 1.0.0rc1
Adam Tkac 15d305f
Adam Tkac 6c5e3f7
* Mon Nov 14 2011 Adam Tkac <atkac redhat com> - 1.0.0-0.3.b1
Adam Tkac 6c5e3f7
- rebuild against new bind
Adam Tkac 6c5e3f7
Adam Tkac 0e8cf61
* Fri Sep 09 2011 Adam Tkac <atkac redhat com> - 1.0.0-0.2.b1
Adam Tkac 0e8cf61
- rebuild against new bind
Adam Tkac 0e8cf61
Adam Tkac e719fcc
* Wed Aug 31 2011 Adam Tkac <atkac redhat com> - 1.0.0-0.1.b1
Adam Tkac e719fcc
- update to 1.0.0b1 (psearch + bugfixes)
Adam Tkac e719fcc
- bind-dyndb-ldap-rh727856.patch merged
Adam Tkac e719fcc
Adam Tkac ca36239
* Wed Aug 03 2011 Adam Tkac <atkac redhat com> - 0.2.0-4
Adam Tkac ca36239
- fix race condition in semaphore_wait (#727856)
Adam Tkac ca36239
Adam Tkac 2979be2
* Mon Feb 21 2011 Adam Tkac <atkac redhat com> - 0.2.0-3
Adam Tkac 2979be2
- rebuild against new bind
Adam Tkac 2979be2
f0e1d93
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-2
f0e1d93
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
f0e1d93
Adam Tkac 4c94289
* Wed Jan 12 2011 Adam Tkac <atkac redhat com> - 0.2.0-1
Adam Tkac 4c94289
- update to 0.2.0
Adam Tkac 4c94289
- patches merged
Adam Tkac 4c94289
  - 0001-Bugfix-Improve-LDAP-schema-to-be-loadable-by-OpenLDA.patch
Adam Tkac 4c94289
  - 0004-Bugfix-Fix-loading-of-child-zones-from-LDAP.patch
Adam Tkac 4c94289
Adam Tkac aec93f2
* Wed Dec 15 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.17.b
Adam Tkac aec93f2
- fix LDAP schema (#622604)
Adam Tkac aec93f2
- load child zones from LDAP correctly (#622617)
Adam Tkac aec93f2
Adam Tkac 640acd2
* Fri Oct 22 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.16.b
Adam Tkac 640acd2
- build with correct RPM_OPT_FLAGS (#645529)
Adam Tkac 640acd2
Adam Tkac 8b9efb1
* Wed Oct 20 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.15.b
Adam Tkac 8b9efb1
- use "isc-config.sh" utility to get correct BIND9 CFLAGS
Adam Tkac 8b9efb1
Adam Tkac a74ee89
* Thu Sep 30 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.14.b
Adam Tkac a74ee89
- rebuild against new bind
Adam Tkac a74ee89
Adam Tkac 54a057a
* Fri Aug 27 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.13.b
Adam Tkac 54a057a
- rebuild against new bind
Adam Tkac 54a057a
Adam Tkac 293d5b6
* Tue Aug 17 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.12.b
Adam Tkac 293d5b6
- rebuild against new bind
Adam Tkac 293d5b6
Adam Tkac ae13dd1
* Tue Aug 03 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.11.b
Adam Tkac ae13dd1
- rebuild against new bind
Adam Tkac ae13dd1
Adam Tkac bf7a94b
* Mon May 31 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.10.b
Adam Tkac bf7a94b
- rebuild against new bind
Adam Tkac bf7a94b
3c0d892
* Wed Mar 24 2010 Martin Nagy <mnagy@redhat.com> - 0.1.0-0.9.b
3c0d892
- update to the latest upstream release
3c0d892
Adam Tkac a9279a4
* Thu Jan 28 2010 Adam Tkac <atkac redhat com> - 0.1.0-0.8.a1.20091210git
Adam Tkac a9279a4
- rebuild against new bind
Adam Tkac a9279a4
Adam Tkac 0fb4b37
* Tue Dec 15 2009 Adam Tkac <atkac redhat com> - 0.1.0-0.7.a1.20091210git
Adam Tkac 0fb4b37
- rebuild against new bind
Adam Tkac 0fb4b37
8edf2b4
* Thu Dec 10 2009 Martin Nagy <mnagy@redhat.com> - 0.1.0-0.6.a1.20091210git
8edf2b4
- update to the latest git snapshot
8edf2b4
- change upstream URL, project moved to fedorahosted
8edf2b4
- change license to GPL version 2 or later
8edf2b4
- add epoch to versioned requires
8edf2b4
- add krb5-devel to the list of build requires
8edf2b4
Adam Tkac e80576e
* Tue Dec 01 2009 Adam Tkac <atkac redhat com> - 0.1.0-0.5.a1
Adam Tkac e80576e
- rebuild against new bind
Adam Tkac e80576e
Adam Tkac a2a58e7
* Thu Nov 26 2009 Adam Tkac <atkac redhat com> - 0.1.0-0.4.a1
Adam Tkac a2a58e7
- rebuild against new bind
Adam Tkac a2a58e7
3031754
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.0-0.3.a1
3031754
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
3031754
a6812e5
* Fri Jun 19 2009 Caolán McNamara <caolanm@redhat.com> - 0.1.0-0.2.a1
a6812e5
- rebuild for dependencies
a6812e5
1bed1ca
* Sun May 03 2009 Martin Nagy <mnagy@redhat.com> - 0.1.0-0.1.a1
1bed1ca
- initial packaging