]> git.pld-linux.org Git - packages/unbound.git/blame - unbound.spec
- up to 1.4.16
[packages/unbound.git] / unbound.spec
CommitLineData
ca75cd40 1#
2Summary: Recursive, validating DNS server
3Name: unbound
a832dcff 4Version: 1.4.16
ca75cd40 5Release: 1
6License: BSD
7Group: Applications
8Source0: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
a832dcff 9# Source0-md5: 5158d03d2ab0a8e60925c7a9b9903631
cda91157 10Source1: %{name}.init
ca75cd40 11URL: http://unbound.net/
511c7cae 12BuildRequires: ldns-devel >= 1.6.9
5ec53429 13BuildRequires: libevent-devel
ca75cd40 14BuildRequires: rpmbuild(macros) >= 1.228
15Requires(post,preun): /sbin/chkconfig
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%description
19Unbound is a validating, recursive, and caching DNS resolver.
20
21The C implementation of Unbound is developed and maintained by NLnet
22Labs. It is based on ideas and algorithms taken from a java prototype
23developed by Verisign labs, Nominet, Kirei and ep.net.
24
25Unbound is designed as a set of modular components, so that also
26DNSSEC (secure DNS) validation and stub-resolvers (that do not run as
27a server, but are linked into an application) are easily possible.
28
29%package devel
30Summary: Header files for unbound library
31Summary(pl.UTF-8): Pliki nagłówkowe biblioteki unbound
32Group: Development/Libraries
33Requires: %{name} = %{version}-%{release}
34
35%description devel
36Header files for unbound library.
37
38%description devel -l pl.UTF-8
39Pliki nagłówkowe biblioteki unbound.
40
41%package static
42Summary: Static unbound library
43Summary(pl.UTF-8): Statyczna biblioteka unbound
44Group: Development/Libraries
45Requires: %{name}-devel = %{version}-%{release}
46
47%description static
48Static unbound library.
49
50%description static -l pl.UTF-8
51Statyczna biblioteka unbound.
52
53%prep
54%setup -q
55
56%build
511c7cae 57%configure
ca75cd40 58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
cda91157 62install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
63install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/%{name}
ca75cd40 64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
ca75cd40 71%post
cda91157 72/sbin/ldconfig
73
74%postun
75/sbin/ldconfig
ca75cd40 76/sbin/chkconfig --add %{name}
77%service %{name} restart
78
79%preun
80if [ "$1" = "0" ]; then
81 %service -q %{name} stop
82 /sbin/chkconfig --del %{name}
83fi
ca75cd40 84
85%files
86%defattr(644,root,root,755)
5ec53429 87%doc doc/Changelog doc/CREDITS doc/control_proto_spec.txt
88%doc doc/example.conf doc/README doc/FEATURES doc/ietf67-design-02.odp
89%doc doc/ietf67-design-02.pdf doc/requirements.txt doc/TODO
cda91157 90%attr(754,root,root) /etc/rc.d/init.d/unbound
783ab43a 91%dir %{_sysconfdir}/%{name}
92%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}/unbound.conf
ca75cd40 93%attr(755,root,root) %{_libdir}/libunbound.so.*.*.*
a832dcff 94%attr(755,root,root) %ghost %{_libdir}/libunbound.so.2
ca75cd40 95%attr(755,root,root) %{_sbindir}/unbound
511c7cae 96%attr(755,root,root) %{_sbindir}/unbound-anchor
ca75cd40 97%attr(755,root,root) %{_sbindir}/unbound-checkconf
5ec53429 98%attr(755,root,root) %{_sbindir}/unbound-control*
ca75cd40 99%attr(755,root,root) %{_sbindir}/unbound-host
100%{_mandir}/man1/unbound-host.1*
101%{_mandir}/man5/unbound.conf.5*
102%{_mandir}/man8/unbound-checkconf.8*
103%{_mandir}/man8/unbound.8*
511c7cae 104%{_mandir}/man8/unbound-anchor.8*
5ec53429 105%{_mandir}/man8/unbound-control.8*
ca75cd40 106
107%files devel
cda91157 108%defattr(644,root,root,755)
ca75cd40 109%{_includedir}/unbound.h
110%{_libdir}/libunbound.la
111%{_libdir}/libunbound.so
112%{_mandir}/man3/libunbound.3*
113
114%files static
cda91157 115%defattr(644,root,root,755)
ca75cd40 116%{_libdir}/libunbound.a
This page took 0.102814 seconds and 4 git commands to generate.