%define name wdns %define version 0.12.0 Name: %{name} Version: %{version} Release: 1.0 Summary: wdns is a low-level DNS library Group: System/Libraries License: BSD URL: https://github.com/farsightsec/wdns/releases Source0: %{name}-%{version}.tar.gz Packager: John Heidemann BuildRequires: gcc-c++ libpcap-devel autoconf automake libtool python3 make Requires: libpcap %description wdns is a low-level DNS library from ISC. The package includes the library and development headers %prep %setup -q -n %{name}-%{version} %build autoreconf -i %configure --prefix %{_prefix} --libdir=%{_libdir} make %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %files %defattr(-,root,root,-) %{_libdir}/*.so.* %{_includedir}/* %{_libdir}/*.so %{_libdir}/*.a %{_libdir}/*.la %{_libdir}/pkgconfig/* # we ignore the test code that ends up in /usr/bin #%doc #%changelog