6 Summary: Advanced Easy-to-Use Asynchronous-Capable DNS Utilities
7 Url: http://www.chiark.greenend.org.uk/~ian/adns/
8 Group: Productivity/Networking/DNS/Utilities
9 Source: %{name}-%{version}.tar.bz2
11 Source2: baselibs.conf
12 Patch0: %{name}-%{version}-destdir.patch
13 Patch1: %{name}-%{version}-configure.patch
14 Patch2: %{name}-%{version}-ipv6.patch
15 Patch3: adns-visibility.patch
16 Patch4: adns-ocloexec.patch
17 BuildRequires: autoconf
18 BuildRoot: %{_tmppath}/%{name}-%{version}-build
21 adns includes a collection of useful DNS resolver utilities.
24 Summary: Advanced DNS resolver client library
25 Group: System/Libraries
26 Provides: libadns = %{version}
28 %description -n %lname
29 Libadns is an advanced, easy to use, asynchronous-capable DNS resolver
30 client library for C (and C++) programs.
32 %package -n libadns-devel
33 Summary: Libraries and header files to develop programs with libadns support
34 Group: Development/Languages/C and C++
35 Requires: %lname = %{version}
38 %description -n libadns-devel
39 Libadns-devel includes the header file and static library to develop
40 programs with libads support.
54 make %{?_smp_mflags} all
62 %doc COPYING GPL-vs-LGPL LICENCE.WAIVERS
67 %{_libdir}/libadns.so.1*
69 %files -n libadns-devel
74 %post -n %lname -p /sbin/ldconfig
76 %postun -n %lname -p /sbin/ldconfig