]> git.pld-linux.org Git - packages/unbound.git/blame - unbound.spec
- added, NFY
[packages/unbound.git] / unbound.spec
CommitLineData
ca75cd40 1#
2Summary: Recursive, validating DNS server
3Name: unbound
4Version: 1.0.0
5Release: 1
6License: BSD
7Group: Applications
8Source0: http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
9# Source0-md5: 05b7532c26e6005f7575d04fc44fb893
10URL: http://unbound.net/
11#BuildRequires: -
12#BuildRequires: autoconf
13#BuildRequires: automake
14#BuildRequires: intltool
15#BuildRequires: libtool
16BuildRequires: rpmbuild(macros) >= 1.228
17Requires(post,preun): /sbin/chkconfig
18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Unbound is a validating, recursive, and caching DNS resolver.
22
23The C implementation of Unbound is developed and maintained by NLnet
24Labs. It is based on ideas and algorithms taken from a java prototype
25developed by Verisign labs, Nominet, Kirei and ep.net.
26
27Unbound is designed as a set of modular components, so that also
28DNSSEC (secure DNS) validation and stub-resolvers (that do not run as
29a server, but are linked into an application) are easily possible.
30
31%package devel
32Summary: Header files for unbound library
33Summary(pl.UTF-8): Pliki nagłówkowe biblioteki unbound
34Group: Development/Libraries
35Requires: %{name} = %{version}-%{release}
36
37%description devel
38Header files for unbound library.
39
40%description devel -l pl.UTF-8
41Pliki nagłówkowe biblioteki unbound.
42
43%package static
44Summary: Static unbound library
45Summary(pl.UTF-8): Statyczna biblioteka unbound
46Group: Development/Libraries
47Requires: %{name}-devel = %{version}-%{release}
48
49%description static
50Static unbound library.
51
52%description static -l pl.UTF-8
53Statyczna biblioteka unbound.
54
55%prep
56%setup -q
57
58%build
59%configure
60%{__make}
61
62%install
63rm -rf $RPM_BUILD_ROOT
64
65%{__make} install \
66 DESTDIR=$RPM_BUILD_ROOT
67
68%clean
69rm -rf $RPM_BUILD_ROOT
70
71%post -p /sbin/ldconfig
72%postun -p /sbin/ldconfig
73
74%if %{with initscript}
75%post
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
84%endif
85
86%files
87%defattr(644,root,root,755)
88%doc doc/Changelog doc/CREDITS doc/plan doc/example.conf doc/README
89%doc doc/FEATURES doc/ietf67-design-02.odp doc/ietf67-design-02.pdf
90%doc doc/requirements.txt doc/TODO
91%{_sysconfdir}/%{name}/unbound.conf
92%attr(755,root,root) %{_libdir}/libunbound.so.*.*.*
93%attr(755,root,root) %{_sbindir}/unbound
94%attr(755,root,root) %{_sbindir}/unbound-checkconf
95%attr(755,root,root) %{_sbindir}/unbound-host
96%{_mandir}/man1/unbound-host.1*
97%{_mandir}/man5/unbound.conf.5*
98%{_mandir}/man8/unbound-checkconf.8*
99%{_mandir}/man8/unbound.8*
100
101%files devel
102%{_includedir}/unbound.h
103%{_libdir}/libunbound.la
104%{_libdir}/libunbound.so
105%{_mandir}/man3/libunbound.3*
106
107%files static
108%{_libdir}/libunbound.a
This page took 0.066269 seconds and 4 git commands to generate.