move libraries to new libbind package [release 9.17.0-2mamba;Sun Mar 29 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:47:29 +01:00
parent 6dc2c8dc25
commit 46f9d61c88

View File

@ -7,7 +7,7 @@
Name: bind Name: bind
Version: 9.17.0 Version: 9.17.0
Release: 1mamba Release: 2mamba
Summary: A DNS (Domain Name System) server Summary: A DNS (Domain Name System) server
Group: System/Servers Group: System/Servers
Vendor: openmamba Vendor: openmamba
@ -46,7 +46,8 @@ BuildRequires: jadetex
%endif %endif
Requires: python-ply Requires: python-ply
Requires: python-argparse Requires: python-argparse
Requires: %{name}-utils = %{version}-%{release} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-utils = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME : # FIXME :
@ -60,17 +61,28 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols. BIND (Berkeley Internet Name Domain) is an implementation of the DNS (Domain Name System) protocols.
BIND includes a DNS server (named), which resolves host names to IP addresses; a resolver library (routines for applications to use when interfacing with DNS); and tools for verifying that the DNS server is operating properly. BIND includes a DNS server (named), which resolves host names to IP addresses; a resolver library (routines for applications to use when interfacing with DNS); and tools for verifying that the DNS server is operating properly.
%package devel %package -n lib%{name}
Summary: Include files and libraries needed for bind DNS development. Summary: Shared libraries provided by bind
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
%description devel %description -n lib%{name}
The libbind package contains the shared libraries provided by BIND.
%package -n lib%{name}-devel
Summary: Include files and libraries needed for bind DNS development
Group: Development/Libraries
Provides: bind-devel
Obsoletes: bind-devel
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel
The bind-devel package contains all the include files and the library required for DNS (Domain Name System) development for BIND versions 9.x.x. The bind-devel package contains all the include files and the library required for DNS (Domain Name System) development for BIND versions 9.x.x.
%package utils %package utils
Summary: Utilities for querying DNS name servers. Summary: Utilities for querying DNS name servers.
Group: Applications/Networking Group: Applications/Networking
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description utils %description utils
Bind-utils contains a collection of utilities for querying DNS (Domain Name System) name servers to find out information about Internet hosts. Bind-utils contains a collection of utilities for querying DNS (Domain Name System) name servers to find out information about Internet hosts.
@ -78,8 +90,11 @@ These tools will provide you with the IP addresses for given host names, as well
You should install bind-utils if you need to get information from DNS name servers. You should install bind-utils if you need to get information from DNS name servers.
%debug_package
%prep %prep
%setup -q -n %{name}-%{pkgver} %setup -q -n %{name}-%{pkgver} -D -T
:<< _EOF
#%patch -p1 -b .mktemp #%patch -p1 -b .mktemp
#pushd contrib/queryperf #pushd contrib/queryperf
@ -92,6 +107,7 @@ tar xjf %{S:1}
#sed -i "s|/include/json/json.h|/include/json/json.h.no|" configure #sed -i "s|/include/json/json.h|/include/json/json.h.no|" configure
%build %build
:<< _EOF
%configure \ %configure \
--enable-threads \ --enable-threads \
--enable-ipv6 \ --enable-ipv6 \
@ -189,6 +205,9 @@ exit 0
%systemd_postun_with_restart named %systemd_postun_with_restart named
exit 0 exit 0
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_sysconfdir}/bind.keys %{_sysconfdir}/bind.keys
@ -230,11 +249,9 @@ exit 0
%{_tmpfilesdir}/named.conf %{_tmpfilesdir}/named.conf
%dir %attr(0755,named,named) %{_localstatedir}/named %dir %attr(0755,named,named) %{_localstatedir}/named
#%dir %attr(0755,named,named) %{_localstatedir}/named/slave #%dir %attr(0755,named,named) %{_localstatedir}/named/slave
%ifnarch arm
%{python27_sitelib}/isc-*.egg-info %{python27_sitelib}/isc-*.egg-info
%dir %{python27_sitelib}/isc %dir %{python27_sitelib}/isc
%{python27_sitelib}/isc/* %{python27_sitelib}/isc/*
%endif
%attr(0755,named,named) %{_var}/named/* %attr(0755,named,named) %{_var}/named/*
#%{_mandir}/man3/* #%{_mandir}/man3/*
%{_mandir}/man5/named.conf.* %{_mandir}/man5/named.conf.*
@ -263,7 +280,19 @@ exit 0
%{_mandir}/man8/rndc.* %{_mandir}/man8/rndc.*
%{_mandir}/man8/tsig-keygen.8* %{_mandir}/man8/tsig-keygen.8*
%files devel %files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libbind9.so.*
%{_libdir}/libdns.so.*
%{_libdir}/libirs.so.*
%{_libdir}/libisc.so.*
%{_libdir}/libisccc.so.*
%{_libdir}/libisccfg.so.*
%{_libdir}/libns.so.*
%dir %{_libdir}/named
%{_libdir}/named/filter-aaaa.so
%files -n lib%{name}-devel
%defattr(-,root,root) %defattr(-,root,root)
#%{_bindir}/bind9-config #%{_bindir}/bind9-config
%dir %{_includedir}/dns/ %dir %{_includedir}/dns/
@ -288,7 +317,27 @@ exit 0
%{_includedir}/pkcs11/* %{_includedir}/pkcs11/*
%dir %{_includedir}/ns/ %dir %{_includedir}/ns/
%{_includedir}/ns/* %{_includedir}/ns/*
%{_libdir}/* %{_libdir}/libbind9.a
%{_libdir}/libbind9.la
%{_libdir}/libbind9.so
%{_libdir}/libdns.a
%{_libdir}/libdns.la
%{_libdir}/libdns.so
%{_libdir}/libirs.a
%{_libdir}/libirs.la
%{_libdir}/libirs.so
%{_libdir}/libisc.a
%{_libdir}/libisc.la
%{_libdir}/libisc.so
%{_libdir}/libisccc.a
%{_libdir}/libisccc.la
%{_libdir}/libisccc.so
%{_libdir}/libisccfg.a
%{_libdir}/libisccfg.la
%{_libdir}/libisccfg.so
%{_libdir}/libns.a
%{_libdir}/libns.la
%{_libdir}/libns.so
%files utils %files utils
%defattr(-,root,root) %defattr(-,root,root)
@ -311,6 +360,9 @@ exit 0
%{_mandir}/man8/dnssec-keymgr.8* %{_mandir}/man8/dnssec-keymgr.8*
%changelog %changelog
* Sun Mar 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 9.17.0-2mamba
- move libraries to new libbind package
* Wed Mar 18 2020 Automatic Build System <autodist@mambasoft.it> 9.17.0-1mamba * Wed Mar 18 2020 Automatic Build System <autodist@mambasoft.it> 9.17.0-1mamba
- automatic version update by autodist - automatic version update by autodist