2 Summary: Recursive, validating DNS server
8 Source0: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5: 05b7532c26e6005f7575d04fc44fb893
11 URL: http://unbound.net/
12 BuildRequires: rpmbuild(macros) >= 1.228
13 Requires(post,preun): /sbin/chkconfig
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 Unbound is a validating, recursive, and caching DNS resolver.
19 The C implementation of Unbound is developed and maintained by NLnet
20 Labs. It is based on ideas and algorithms taken from a java prototype
21 developed by Verisign labs, Nominet, Kirei and ep.net.
23 Unbound is designed as a set of modular components, so that also
24 DNSSEC (secure DNS) validation and stub-resolvers (that do not run as
25 a server, but are linked into an application) are easily possible.
28 Summary: Header files for unbound library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki unbound
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Header files for unbound library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki unbound.
40 Summary: Static unbound library
41 Summary(pl.UTF-8): Statyczna biblioteka unbound
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
46 Static unbound library.
48 %description static -l pl.UTF-8
49 Statyczna biblioteka unbound.
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
61 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
64 DESTDIR=$RPM_BUILD_ROOT
67 rm -rf $RPM_BUILD_ROOT
74 /sbin/chkconfig --add %{name}
75 %service %{name} restart
78 if [ "$1" = "0" ]; then
79 %service -q %{name} stop
80 /sbin/chkconfig --del %{name}
84 %defattr(644,root,root,755)
85 %doc doc/Changelog doc/CREDITS doc/plan doc/example.conf doc/README
86 %doc doc/FEATURES doc/ietf67-design-02.odp doc/ietf67-design-02.pdf
87 %doc doc/requirements.txt doc/TODO
88 %attr(754,root,root) /etc/rc.d/init.d/unbound
89 %{_sysconfdir}/%{name}/unbound.conf
90 %attr(755,root,root) %{_libdir}/libunbound.so.*.*.*
91 %attr(755,root,root) %{_sbindir}/unbound
92 %attr(755,root,root) %{_sbindir}/unbound-checkconf
93 %attr(755,root,root) %{_sbindir}/unbound-host
94 %{_mandir}/man1/unbound-host.1*
95 %{_mandir}/man5/unbound.conf.5*
96 %{_mandir}/man8/unbound-checkconf.8*
97 %{_mandir}/man8/unbound.8*
100 %defattr(644,root,root,755)
101 %{_includedir}/unbound.h
102 %{_libdir}/libunbound.la
103 %{_libdir}/libunbound.so
104 %{_mandir}/man3/libunbound.3*
107 %defattr(644,root,root,755)
108 %{_libdir}/libunbound.a