2014-04-24 11:16:23 +00:00
|
|
|
%define snapshot_suffix .20140422git
|
|
|
|
|
|
|
|
Name: netresolve
|
|
|
|
Version: 0.0.1
|
2014-04-24 11:49:24 +00:00
|
|
|
Release: 0.2%{?snapshot_suffix}%{?dist}
|
2014-04-24 11:16:23 +00:00
|
|
|
Summary: Generic name resolution library
|
2014-04-24 11:49:24 +00:00
|
|
|
Group: System Environment/Libraries
|
2014-04-24 11:16:23 +00:00
|
|
|
License: BSD
|
|
|
|
URL: https://sourceware.org/netresolve/
|
|
|
|
Source0: netresolve-0.0.1.tar.xz
|
2014-04-24 11:49:24 +00:00
|
|
|
BuildRequires: unbound-devel pkgconfig(libcares)
|
2014-04-24 11:16:23 +00:00
|
|
|
%description
|
|
|
|
Netresolve is a package for nonblocking network name resolution via backends
|
|
|
|
intended as a replacement for name service switch based name resolution in
|
|
|
|
glibc.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for getdns
|
|
|
|
Group: Development/Libraries
|
2014-04-24 11:49:24 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
2014-04-24 11:16:23 +00:00
|
|
|
%description devel
|
|
|
|
This package contains header files and libraries needed to compile
|
|
|
|
applications or shared objects that use netresolve.
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
2014-04-24 11:49:24 +00:00
|
|
|
%configure \
|
|
|
|
--disable-silent-rules
|
2014-04-24 11:16:23 +00:00
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
%make_install
|
|
|
|
find %{buildroot} -name '*.la' -delete
|
|
|
|
|
2014-04-24 11:49:24 +00:00
|
|
|
%check
|
|
|
|
make check
|
2014-04-24 11:16:23 +00:00
|
|
|
|
2014-04-24 11:49:24 +00:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
2014-04-24 11:16:23 +00:00
|
|
|
|
|
|
|
%files
|
2014-04-24 11:49:24 +00:00
|
|
|
%doc README TODO NEWS COPYING
|
2014-04-24 11:16:23 +00:00
|
|
|
%{_bindir}/netconnect
|
|
|
|
%{_bindir}/netresolve
|
|
|
|
%{_libdir}/libnetresolve-backend-any.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-any.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-aresdns.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-aresdns.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-exec.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-exec.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-getaddrinfo.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-getaddrinfo.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-hosts.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-hosts.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-loopback.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-loopback.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-nss.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-nss.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-numerichost.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-numerichost.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-ubdns.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-ubdns.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-backend-unix.so.0
|
|
|
|
%{_libdir}/libnetresolve-backend-unix.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve-libc.so.0
|
|
|
|
%{_libdir}/libnetresolve-libc.so.0.0.0
|
|
|
|
%{_libdir}/libnetresolve.so.0
|
|
|
|
%{_libdir}/libnetresolve.so.0.0.0
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/netresolve-utils.h
|
|
|
|
%{_includedir}/netresolve.h
|
|
|
|
%{_libdir}/libnetresolve-backend-any.so
|
|
|
|
%{_libdir}/libnetresolve-backend-aresdns.so
|
|
|
|
%{_libdir}/libnetresolve-backend-exec.so
|
|
|
|
%{_libdir}/libnetresolve-backend-getaddrinfo.so
|
|
|
|
%{_libdir}/libnetresolve-backend-hosts.so
|
|
|
|
%{_libdir}/libnetresolve-backend-loopback.so
|
|
|
|
%{_libdir}/libnetresolve-backend-nss.so
|
|
|
|
%{_libdir}/libnetresolve-backend-numerichost.so
|
|
|
|
%{_libdir}/libnetresolve-backend-ubdns.so
|
|
|
|
%{_libdir}/libnetresolve-backend-unix.so
|
|
|
|
%{_libdir}/libnetresolve-libc.so
|
|
|
|
%{_libdir}/libnetresolve.so
|
|
|
|
|
|
|
|
%changelog
|
2014-04-24 11:49:24 +00:00
|
|
|
* Thu Apr 24 2014 Pavel Šimerda <psimerda@redhat.com> - 0.0.1-0.2.20140422git
|
|
|
|
- incorporate review feedback
|
|
|
|
|
2014-04-24 11:16:23 +00:00
|
|
|
* Wed Apr 23 2014 Pavel Šimerda <psimerda@redhat.com> - 0.0.1-0.1.20140422git
|
|
|
|
- initial build
|