%description backend-remote
This package contains the remote backend for %{name}
-%package backend-ldap
-Summary: LDAP backend for %{name}
-Group: System Environment/Daemons
-Requires: %{name}%{?_isa} = %{version}-%{release}
-BuildRequires: openldap2-devel
-%global backends %{backends} ldap
-
-%description backend-ldap
-This package contains the LDAP backend for %{name}
-
%package backend-lua
Summary: Lua backend for %{name}
Group: System Environment/Daemons
chmod 600 %{buildroot}%{_sysconfdir}/%{name}/pdns.conf
-# rename zone2ldap to pdns-zone2ldap (#1193116)
-%{__mv} %{buildroot}/%{_bindir}/zone2ldap %{buildroot}/%{_bindir}/pdns-zone2ldap
-%{__mv} %{buildroot}/%{_mandir}/man1/zone2ldap.1 %{buildroot}/%{_mandir}/man1/pdns-zone2ldap.1
-
%check
make %{?_smp_mflags} -C pdns check || (cat pdns/test-suite.log && false)
%doc COPYING README
%{_bindir}/pdns_control
%{_bindir}/pdnsutil
-%{_bindir}/pdns-zone2ldap
%{_bindir}/zone2sql
%{_bindir}/zone2json
%{_sbindir}/pdns_server
%{_mandir}/man1/pdns_server.1.gz
%{_mandir}/man1/zone2sql.1.gz
%{_mandir}/man1/zone2json.1.gz
-%{_mandir}/man1/pdns-zone2ldap.1.gz
%{_mandir}/man1/pdnsutil.1.gz
%{_unitdir}/pdns.service
%{_unitdir}/pdns@.service
%files backend-remote
%{_libdir}/%{name}/libremotebackend.so
-%files backend-ldap
-%{_libdir}/%{name}/libldapbackend.so
-%doc %{_defaultdocdir}/%{name}/dnsdomain2.schema
-%doc %{_defaultdocdir}/%{name}/pdns-domaininfo.schema
-
%files backend-lua
%{_libdir}/%{name}/libluabackend.so