%global _hardened_build 1 Name: dnscrypt-proxy Version: 1.9.0 Release: 6%{?dist} Summary: DNSCrypt client Group: System Environment/Daemons License: MIT URL: https://dnscrypt.org/ Source0: https://github.com/jedisct1/%{name}/archive/%{version}.tar.gz Patch0: dnscrypt-proxy-1.9.0-libtool-obsolete-macro.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: libtool-ltdl-devel BuildRequires: gettext-devel BuildRequires: libevent-devel BuildRequires: libsodium-devel BuildRequires: systemd-devel %description DNSCrypt is a protocol that authenticates communications between a DNS client and a DNS resolver. It prevents DNS spoofing. It uses cryptographic signatures to verify that responses originate from the chosen DNS resolver and haven't been tampered with. %prep %setup -n %{name}-%{version} -q %patch0 -p1 %build ./autogen.sh %configure --prefix=/usr --disable-static --with-systemd make CFLAGS="%{optflags}" %{?_smp_mflags} %install make install DESTDIR=%{buildroot} %files %defattr(-,root,root,-) %{_bindir}/hostip %{_sbindir}/%{name} %{_sysconfdir}/%{name}* %{_includedir}/dnscrypt/ %{_libdir}/%{name}/ %{_usr}/share/%{name} %{_mandir}/man8/%{name}* %{_mandir}/man8/hostip* %changelog * Wed Feb 07 2018 Fedora Release Engineering - 1.9.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Mon Oct 02 2017 Remi Collet - 1.9.0-5 - rebuild for libsodium * Wed Aug 02 2017 Fedora Release Engineering - 1.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Wed Jul 26 2017 Fedora Release Engineering - 1.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Fri Feb 10 2017 Fedora Release Engineering - 1.9.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Sun Jan 01 2017 Nikos Roussos 1.9.0-1 - Update to 1.9.0 * Tue Jul 05 2016 Nikos Roussos 1.6.1-4 - Add systemd support * Mon Jun 06 2016 Nikos Roussos 1.6.1-3 - Fix license * Mon Jun 06 2016 Nikos Roussos 1.6.1-2 - Add hardened flag - Fix obsolete m4 macro * Fri Apr 22 2016 Nikos Roussos 1.6.1-1 - Update to 1.6.1 * Sat Oct 24 2015 Nikos Roussos 1.6.0-1 - Initial package