unbound/unbound.spec

43 lines
819 B
RPMSpec
Raw Normal View History

# norootforbuild
Name: unbound
Version: 1.0.0
Release: 0
#
Group: Productivity/Networking/DNS/Servers
License: BSD
#
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: openssl-devel
BuildRequires: ldns-devel > 1.2.9
#
Url: http://www.unbound.net/
Source: http://www.unbound.net/downloads/unbound-%{version}.tar.gz
Patch: unbound-1.0.0_stupid_rpath.patch
#
Summary: a validating, recursive, and caching DNS resolver
%description
a validating, recursive, and caching DNS resolver
%debug_package
%prep
%setup
%patch
%{__rm} ldns-src.tar.gz
%build
%configure --disable-rpath --disable-static --with-ldns=%{_prefix}
%{__make}
%install
%makeinstall
%clean
%{__rm} -rf %{buildroot}
%files
%defattr(-,root,root,-)
%changelog