]> git.pld-linux.org Git - packages/unbound.git/blob - unbound.spec
- added, NFY
[packages/unbound.git] / unbound.spec
1 #
2 Summary:        Recursive, validating DNS server
3 Name:           unbound
4 Version:        1.0.0
5 Release:        1
6 License:        BSD
7 Group:          Applications
8 Source0:        http://www.unbound.net/downloads/%{name}-%{version}.tar.gz
9 # Source0-md5:  05b7532c26e6005f7575d04fc44fb893
10 URL:            http://unbound.net/
11 #BuildRequires: -
12 #BuildRequires: autoconf
13 #BuildRequires: automake
14 #BuildRequires: intltool
15 #BuildRequires: libtool
16 BuildRequires:  rpmbuild(macros) >= 1.228
17 Requires(post,preun):   /sbin/chkconfig
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 Unbound is a validating, recursive, and caching DNS resolver.
22
23 The C implementation of Unbound is developed and maintained by NLnet
24 Labs. It is based on ideas and algorithms taken from a java prototype
25 developed by Verisign labs, Nominet, Kirei and ep.net.
26
27 Unbound is designed as a set of modular components, so that also
28 DNSSEC (secure DNS) validation and stub-resolvers (that do not run as
29 a server, but are linked into an application) are easily possible.
30
31 %package devel
32 Summary:        Header files for unbound library
33 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki unbound
34 Group:          Development/Libraries
35 Requires:       %{name} = %{version}-%{release}
36
37 %description devel
38 Header files for unbound library.
39
40 %description devel -l pl.UTF-8
41 Pliki nagłówkowe biblioteki unbound.
42
43 %package static
44 Summary:        Static unbound library
45 Summary(pl.UTF-8):      Statyczna biblioteka unbound
46 Group:          Development/Libraries
47 Requires:       %{name}-devel = %{version}-%{release}
48
49 %description static
50 Static unbound library.
51
52 %description static -l pl.UTF-8
53 Statyczna biblioteka unbound.
54
55 %prep
56 %setup -q
57
58 %build
59 %configure
60 %{__make}
61
62 %install
63 rm -rf $RPM_BUILD_ROOT
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -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
80 if [ "$1" = "0" ]; then
81         %service -q %{name} stop
82         /sbin/chkconfig --del %{name}
83 fi
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.058685 seconds and 4 git commands to generate.