Summary: Modern asynchronous API to the DNS Name: getdns Version: 0.1.1 Release: 1%{?dist} License: BSD Url: http://www.getdnsapi.net Source: http://www.getdnsapi.net/dist/%{name}-%{version}.tar.gz Group: System Environment/Libraries BuildRequires: libidn-devel ldns-devel unbound-devel doxygen %description getdns is a modern asynchronous DNS API. It implements DNS entry points from a design developed and vetted by application developers, in an API specification edited by Paul Hoffman. With the development of this API, we intend to offer application developers a modernized and flexible way to access DNS security (DNSSEC) and other powerful new DNS features; a particular hope is to inspire application developers towards innovative security solutions in their applications. %package devel Summary: Development package that includes the header files Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} %description devel The devel package contains the getdns library and the include files %prep %setup -q %build %configure --disable-rpath --disable-static \ --with-trust-anchor=%{_sharedstatedir}/unbound/root.key make %{?_smp_mflags} %install make DESTDIR=%{buildroot} INSTALL="%{__install} -p" install rm -rf %{buildroot}%{_libdir}/*.la rm -rf %{buildroot}%{_docdir}/%{name} %files %{_libdir}/libgetdns*so.* %doc README.md LICENSE NEWS AUTHORS ChangeLog %files devel %{_libdir}/libgetdns*.so %{_includedir}/getdns/ %{_mandir}/*/*.[1358]* %doc src/example spec %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %changelog * Wed Mar 26 2014 Paul Wouters - 0.1.1-1 - Updated to 0.1.1 * Fri Mar 21 2014 Paul Wouters - 0.1.0-2 - Remove cleaning in install - Simplify files section and use macro instead of /var/lib * Thu Feb 27 2014 Paul Wouters - 0.1.0-1 - Initial package