Provide description to package. Disable most of autodetected features for export libraries.
This commit is contained in:
parent
539c207dc9
commit
f75d562486
21
bind.spec
21
bind.spec
@ -404,7 +404,9 @@ Provides: bind99-libs
|
||||
%endif
|
||||
|
||||
%description export-libs
|
||||
Set of ISC libraries for client applications (like ISC DHCP).
|
||||
BIND (Berkeley Internet Name Domain) is an implementation of the DNS
|
||||
(Domain Name System) protocols. This package set contains only export
|
||||
version of BIND libraries, that are used for building ISC DHCP.
|
||||
|
||||
%package export-libs-devel
|
||||
Summary: Header files and libraries needed for BIND export libraries
|
||||
@ -596,6 +598,16 @@ pushd export-libs
|
||||
--libdir=%{_libdir}%{_export_dir} \
|
||||
--includedir=%{_includedir}/%{_export_dir}/ \
|
||||
--disable-threads \
|
||||
--with-gssapi=yes \
|
||||
--disable-isc-spnego \
|
||||
--enable-fixed-rrset \
|
||||
--disable-rpz-nsip \
|
||||
--disable-rpz-nsdname \
|
||||
--without-lmdb \
|
||||
--without-libxml2 \
|
||||
--without-libjson \
|
||||
--without-zlib \
|
||||
--without-dlopen \
|
||||
--enable-full-report
|
||||
|
||||
## We don't want to build other libs than -export twice
|
||||
@ -718,15 +730,14 @@ pushd export-libs
|
||||
## -lirs-export -ldns-export -lisccfg-export -lisc-export
|
||||
## install -d -m 0755 ${RPM_BUILD_ROOT}/%{_libdir}/%{name}-export/
|
||||
make DESTDIR=${RPM_BUILD_ROOT} install
|
||||
mkdir -p %{buildroot}%{_sysconfdir}/ld.so.conf.d
|
||||
echo "%{_libdir}/%{_export_dir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_sysconfdir}/ld.so.conf.d
|
||||
echo "%{_libdir}/%{_export_dir}" > %{buildroot}%{_sysconfdir}/ld.so.conf.d/%{name}-export-%{_arch}.conf
|
||||
popd
|
||||
%endif
|
||||
|
||||
# Remove unwanted files
|
||||
rm -f ${RPM_BUILD_ROOT}/etc/bind.keys
|
||||
|
||||
|
||||
# Systemd unit files
|
||||
mkdir -p ${RPM_BUILD_ROOT}%{_unitdir}
|
||||
install -m 644 %{SOURCE37} ${RPM_BUILD_ROOT}%{_unitdir}
|
||||
@ -1305,7 +1316,7 @@ rm -rf ${RPM_BUILD_ROOT}
|
||||
%files export-libs
|
||||
%dir %{_libdir}/%{_export_dir}
|
||||
%{_libdir}/%{_export_dir}/lib*.so.*
|
||||
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-%{_arch}.conf
|
||||
%config(noreplace) %{_sysconfdir}/ld.so.conf.d/%{name}-export-%{_arch}.conf
|
||||
|
||||
%files export-libs-devel
|
||||
%{_includedir}/%{_export_dir}
|
||||
|
Loading…
Reference in New Issue
Block a user