3 %bcond_without ssl # build without OpenSSL support
4 %bcond_without ipv6 # build without IPv6 support
5 %bcond_without ldap # build without LDAP support
6 %bcond_without static_libs # build without static libraries
8 Summary: BIND - DNS name server
9 Summary(de): BIND - DNS-Namenserver
10 Summary(es): BIND - Servidor de nombres DNS
11 Summary(fr): BIND - serveur de noms DNS
12 Summary(pl): BIND - serwer nazw DNS
13 Summary(pt_BR): BIND - Servidor de nomes DNS
14 Summary(ru): BIND - cÅÒ×ÅÒ ÓÉÓÔÅÍÙ ÄÏÍÅÎÎÙÈ ÉÍÅÎ (DNS)
15 Summary(tr): DNS alan adý sunucusu
16 Summary(uk): BIND - cÅÒ×ÅÒ ÓÉÓÔÅÍÉ ÄÏÍÅÎÎÉÈ ¦ÍÅÎ (DNS)
17 Summary(zh_CN): Internet ÓòÃû·þÎñÆ÷
23 Group: Networking/Daemons
24 Source0: ftp://ftp.isc.org/isc/bind9/%{version}/%{name}-%{version}.tar.gz
25 # Source0-md5: 55e709501a7780233c36e25ccd15ece2
26 Source1: %{name}-conf.tar.gz
27 # Source1-md5: 8ee77729f806fcd548fe0cceb34b4a06
29 Source3: named.sysconfig
30 Source4: named.logrotate
31 Source5: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
32 # Source5-md5: 35b1dfaa12615c9802126ee833e0e7f7
33 Source6: http://www.venaas.no/ldap/bind-sdb/dnszone-schema.txt
34 # Source6-md5: c9a17d8cf8c1a6d4fad6138a1c3f36c4
35 Patch0: %{name}-time.patch
36 Patch1: %{name}-autoconf.patch
37 Patch2: %{name}-includedir-libbind.patch
38 Patch3: %{name}-link.patch
39 Patch4: %{name}-pmake.patch
40 Patch5: %{name}-sdb-ldap.patch
41 Patch6: %{name}-noinet6.patch
42 Patch7: %{name}-idn.patch
43 URL: http://www.isc.org/products/BIND/bind9.html
44 BuildRequires: autoconf
45 BuildRequires: automake
48 BuildRequires: idnkit-devel
49 BuildRequires: libtool
50 %{?with_ldap:BuildRequires: openldap-devel}
51 %{?with_ssl:BuildRequires: openssl-devel >= 0.9.7d}
52 BuildRequires: rpmbuild(macros) >= 1.268
53 Requires(post,preun): /sbin/chkconfig
54 Requires(postun): /usr/sbin/groupdel
55 Requires(postun): /usr/sbin/userdel
56 Requires(pre): /bin/id
57 Requires(pre): /usr/bin/getgid
58 Requires(pre): /usr/sbin/groupadd
59 Requires(pre): /usr/sbin/useradd
60 Requires(pre): fileutils
61 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
62 Requires: psmisc >= 20.1
63 Requires: rc-scripts >= 0.2.0
64 Provides: group(named)
67 Obsoletes: caching-nameserver
69 Conflicts: %{name}-chroot
70 Conflicts: kernel < 2.2.18
71 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
74 BIND (Berkeley Internet Name Domain) is an implementation of the DNS
75 (Domain Name System) protocols. BIND includes a DNS server (named),
76 which resolves host names to IP addresses, and a resolver library
77 (routines for applications to use when interfacing with DNS). A DNS
78 server allows clients to name resources or objects and share the
79 information with other network machines. The named DNS server can be
80 used on workstations as a caching name server, but is generally only
81 needed on one machine for an entire network. Note that the
82 configuration files for making BIND act as a simple caching nameserver
83 are included in the caching-nameserver package.
85 Install the bind package if you need a DNS server for your network. If
86 you want bind to act a caching name server, you will also need to
87 install the caching-nameserver package.
90 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
91 IP-Adressen und umgekehrt verwendet wird. Er kann auf Workstations als
92 caching Namen-Server verwendet werden, ist aber i.d.R. nur auf einem
93 Recher des Netzwerks erforderlich.
96 Incluye el servidor de nombres (DNS), que se usa para traducir nombres
97 para IP (y viceversa). Puede ser usado en estaciones de trabajo como
98 un servidor de nombres caché, pero generalmente sólo hace falta en una
99 máquina para toda la red.
102 Contient le serveur de noms named, utilisé pour définir les
103 traductions nom d'hôte vers adresse IP (et vice versa). Il peut être
104 utilisé sur les stations de travail comme serveur de nom en cache mais
105 n'est souvent nécessaire que sur une machine pour un réseau entier.
108 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
109 komputerów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na stacjach
110 roboczych jako bufor odwo³añ do serwisu nazw (caching name server),
111 ale generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten
112 program na fragment sieci.
114 %description -l pt_BR
115 Inclui o servidor de nomes (DNS), que é usado para traduzir nomes para
116 IP (e vice-versa). Pode ser usado em estações de trabalho como um
117 servidor de nomes cache, mas geralmente só é necessário em uma máquina
121 BIND (Berkeley Internet Name Domain) Ñ×ÌÑÅÔÓÑ ÒÅÁÌÉÚÁÃÉÅÊ ÐÒÏÔÏËÏÌÏ×
122 DNS (Domain Name System). BIND ×ËÌÀÞÁÅÔ DNS ÓÅÒ×ÅÒ (named) É
123 ÂÉÂÌÉÏÔÅËÕ "ÒÅÚÏÌ×ÅÒÁ" (ÐÏÄÐÒÏÇÒÁÍÍÙ ÄÌÑ ÐÒÉÌÏÖÅÎÉÊ, ÞÅÒÅÚ ËÏÔÏÒÙÅ
124 ÐÒÏÉÓÈÏÄÑÔ ÏÂÒÁÝÅÎÉÑ Ë DNS). DNS ÓÅÒ×ÅÒ named ÍÏÖÅÔ ÂÙÔØ ÉÓÐÏÌØÚÏ×ÁÎ
125 ÎÁ ÒÁÂÏÞÉÈ ÓÔÁÎÃÉÑÈ ËÁË ËÅÛÉÒÕÀÝÉÊ ÓÅÒ×ÅÒ, ÎÏ ÏÂÙÞÎÏ ÚÁÐÕÓËÁÅÔÓÑ ÎÁ
126 ÏÄÎÏÊ ÍÁÛÉÎÅ × ÌÏËÁÌØÎÏÊ ÓÅÔÉ É ÉÓÐÏÌØÚÕÅÔÓÑ ÏÓÔÁÌØÎÙÍÉ ÍÁÛÉÎÁÍÉ (ÜÔÉÍ
127 ÄÏÓÔÉÇÁÅÔÓÑ ÎÁÍÎÏÇÏ ÂÏÌÅÅ ÜÆÆÅËÔÉ×ÎÏÅ ËÅÛÉÒÏ×ÁÎÉÅ).
129 ëÏÎÆÉÇÕÒÁÃÉÏÎÎÙÅ ÆÁÊÌÙ, ÎÁÓÔÒÁÉ×ÁÀÝÉÅ BIND ÎÁ ÒÁÂÏÔÕ × ÒÅÖÉÍÅ ÐÒÏÓÔÏÇÏ
130 ËÅÛÉÒÕÀÝÅÇÏ ÓÅÒ×ÅÒÁ, ×ËÌÀÞÅÎÙ × ÐÁËÅÔ caching-nameserver.
133 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için
134 kullanýlan alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek
135 isim sunucusu olarak da kullanýlabilir ama genellikle bütün bir að
136 için sadece bir makina üzerinde kurulur.
139 BIND (Berkeley Internet Name Domain) ¤ ÒÅÁ̦ÚÁæ¤À ÐÒÏÔÏËÏÌ¦× DNS
140 (Domain Name System). BIND ×ËÌÀÞÁ¤ DNS ÓÅÒ×ÅÒ (named) ÔÁ ¦Â̦ÏÔÅËÕ
141 "ÒÅÚÏÌ×ÅÒÁ" (ЦÄÐÒÏÇÒÁÍÉ, ÝÏ ÚÁÂÅÚÐÅÞÕÀÔØ ¦ÎÔÅÒÆÅÊÓ ÄÏ DNS). DNS
142 ÓÅÒ×ÅÒ named ÍÏÖÅ ÂÕÔÉ ×ÉËÏÒÉÓÔÁÎÉÊ ÎÁ ÒÏÂÏÞÉÈ ÓÔÁÎæÑÈ ÑË ËÅÛÉÒÕÀÞÉÊ
143 ÓÅÒ×ÅÒ, ÁÌÅ Ú×ÉÞÁÊÎÏ ÚÁÐÕÓËÁ¤ÔØÓÑ ÎÁ ÏÄÎ¦Ê ÍÁÛÉΦ × ÌÏËÁÌØÎ¦Ê ÍÅÒÅÖ¦ ¦
144 ×ÉËÏÒÉÓÔÏ×Õ¤ÔØÓÑ ¦ÎÛÉÍÉ (ÃÉÍ ÄÏÓÑÇÁ¤ÔØÓÑ Â¦ÌØÛÁ ÅÆÅËÔÉ×ΦÓÔØ
147 ëÏÎƦÇÕÒÁæÊΦ ÆÁÊÌÉ, ÝÁ ÎÁÓÔÒÏÀÀÔØ BIND ÎÁ ÒÏÂÏÔÕ × ÒÅÖÉͦ ÐÒÏÓÔÏÇÏ
148 ËÅÛÉÒÕÀÞÏÇÏ ÓÅÒ×ÅÒÕ, ×ËÌÀÞÅΦ × ÐÁËÅÔ caching-nameserver.
151 Summary: DNS utils - host, dig, dnsquery, nslookup
152 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup
153 Summary(es): Utilitarios DNS - host, dig, dnsquery y nslookup
154 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
155 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
156 Summary(pt_BR): Utilitários DNS - host, dig, dnsquery e nslookup
157 Summary(ru): õÔÉÌÉÔÙ ÄÌÑ ÐÏÓÙÌËÉ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÅÒÁÍ DNS
158 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
159 Summary(uk): õÔÉ̦ÔÉ ÄÌÑ ÎÁÄÓÉÌÁÎÎÑ ÚÁÐÉÔ¦× ÄÏ ÓÅÒ×ÅÒ¦× DNS
160 Summary(zh_CN): Internet ÓòÃû·þÎñÆ÷ʵÓù¤¾ß
161 Group: Networking/Utilities
162 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
166 Bind-utils contains a collection of utilities for querying DNS (Domain
167 Name Service) name servers to find out information about Internet
168 hosts. These tools will provide you with the IP addresses for given
169 host names, as well as other information about registered domains and
172 You should install bind-utils if you need to get information from DNS
175 %description utils -l de
176 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts. Diese
177 Tools bestimmen die IP-Adresse eines angegebenen Host-Namen und finden
178 Informationen über registrierte Domains und Netzwerk-Adressen.
180 %description utils -l es
181 Conjunto de utilitarios para consulta a servidores de nombres. Estas
182 herramientas permiten la determinación de direcciones IP para nombres
183 de máquinas informados y busca información sobre dominios registrados
184 y direcciones de red.
186 %description utils -l fr
187 Ensemble d'utilitaires pour interroger les serveurs de noms et
188 rechercher des hôtes. Ces outils vous permettent de déterminer les
189 adresses IP pour des noms d'hôtes donnés, et trouver des informations
190 sur les noms de domaine déclarés et les adresses réseau.
192 %description utils -l pl
193 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie
194 serwerów nazw z innych domen w celu uzyskania informacji o komputerach
197 %description utils -l pt_BR
198 Conjunto de utilitários para consulta a servidores DNS. Estas
199 ferramentas permitem a determinação de endereços IP para nomes de
200 máquinas informados e busca informações sobre domínios registrados e
201 endereços de rede. Você deveria instalar este pacote se necessitar
202 obter informações de servidores DNS.
204 %description utils -l ru
205 îÁÂÏÒ ÕÔÉÌÉÔ ÄÌÑ ÇÅÎÅÒÁÃÉÉ ÚÁÐÒÏÓÏ× Ë ÓÅÒ×ÅÒÁÍ ÉÍÅÎ (DNS) É ÐÏÉÓËÁ
206 ÁÄÒÅÓÏ× ÍÁÛÉÎ. üÔÉ ÕÔÉÌÉÔÙ ÐÏÚ×ÏÌÑÀÔ ÏÐÒÅÄÅÌÉÔØ IP-ÁÄÒÅÓ ÐÏ ÉÚ×ÅÓÔÎÏÍÕ
207 ÄÏÍÅÎÎÏÍÕ ÉÍÅÎÉ (É ÎÁÏÂÏÒÏÔ) É ÄÒÕÇÕÀ ÉÎÆÏÒÍÁÃÉÀ Ï ÚÁÒÅÇÉÓÔÒÉÒÏ×ÁÎÎÙÈ
208 ÄÏÍÅÎÁÈ É ÓÅÔÅ×ÙÈ ÁÄÒÅÓÁÈ.
210 %description utils -l tr
211 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek
212 için kullanýlan araçlar bulunmaktadýr.
214 %description utils -l uk
215 îÁÂ¦Ò ÕÔÉÌ¦Ô ÄÌÑ ÇÅÎÅÒÁæ§ ÚÁÐÉÔ¦× ÄÏ ÓÅÒ×ÅÒ¦× ¦ÍÅÎ (DNS) ÔÁ ÐÏÛÕËÕ
216 ÁÄÒÅÓ ÍÁÛÉÎ. 㦠ÕÔÉ̦ÔÉ ÄÏÚ×ÏÌÑÀÔØ ÏÔÒÉÍÁÔÉ IP-ÁÄÒÅÓÕ ÚÁ צÄÏÍÉÍ
217 ÄÏÍÅÎÎÉÍ ¦ÍÅÎÅÍ ÔÁ ÎÁ×ÐÁËÉ, Á ÔÁËÏÖ ¦ÎÛÕ ¦ÎÆÏÒÍÁæÀ ÐÒÏ ÚÁÒŤÓÔÒÏ×ÁΦ
221 Summary: DNS libraries
222 Summary(pl): Biblioteki DNS
223 Summary(ru): âÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ bind
224 Summary(uk): â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ bind
225 Summary(zh_CN): Internet ÓòÃû·þÎñÆ÷¿ª·¢¿â
229 The bind-libs package contains all libraries required for running BIND
232 %description libs -l pl
233 Pakiet zawiera wszystkie biblioteki potrzebne do uruchomienia binda
234 lub programów z pakietu bind-utils.
236 %description libs -l ru
237 âÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÒÁÂÏÔÙ bind.
239 %description libs -l uk
240 â¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÂÏÔÉ bind.
243 Summary: DNS development includes
244 Summary(es): Archivos de inclusión y bibliotecas para desarrollo DNS
245 Summary(pl): Pliki nag³ówkowe bibliotek DNS
246 Summary(pt_BR): Todos os arquivos de cabeçalho e bibliotecas para desenvolvimento DNS
247 Summary(ru): èÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ bind
248 Summary(uk): èÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ bind
249 Group: Development/Libraries
250 Requires: %{name}-libs = %{epoch}:%{version}-%{release}
253 The bind-devel package contains all the include files and symlinks
254 required for DNS (Domain Name Service) development for BIND.
256 You should install bind-devel if you want to develop bind DNS
257 applications. If you install bind-devel, you'll also need to install
260 %description devel -l es
261 Los archivos de inclusión y bibliotecas necesarios al desarrollo DNS
264 %description devel -l pl
265 Pakiet zawiera pliki nag³ówkowe. Je¿eli bêdziesz pisa³ programy pod
266 binda, lub kompilowa³ kod ¼ród³owy oprogramowania korzystaj±cego z
267 tych plików nag³ówkowych czy biblioteki powiniene¶ zainstalowaæ ten
270 %description devel -l pt_BR
271 Todos os arquivos de cabeçalho e bibliotecas necessários para o
272 desenvolvimento com o bind.
274 %description devel -l ru
275 ÷ÓÅ ÈÅÄÅÒÙ É ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ ÐÒÏÇÒÁÍÍ Ó
276 ÉÓÐÏÌØÚÏ×ÁÎÉÅÍ BIND 9.x.x.
278 %description devel -l uk
279 ÷Ó¦ ÈÅÄÅÒÉ ÔÁ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú
280 ×ÉËÏÒÉÓÔÁÎÎÑÍ BIND 9.x.x.
283 Summary: DNS static libs
284 Summary(pl): Biblioteki statyczne DNS
285 Summary(pt_BR): Bibliotecas estáticas para desenvolvimento DNS
286 Summary(ru): óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ ÒÁÚÒÁÂÏÔÞÉËÁ ÄÌÑ bind
287 Summary(uk): óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ ÐÒÏÇÒÁͦÓÔÁ ÄÌÑ bind
288 Group: Development/Libraries
289 Requires: %{name}-devel = %{epoch}:%{version}-%{release}
292 Static bind libraries.
294 %description static -l pl
295 Statyczne biblioteki binda.
297 %description static -l pt_BR
298 Bibliotecas estáticas para desenvolvimento DNS.
300 %description static -l ru
301 óÔÁÔÉÞÅÓËÉÅ ÂÉÂÌÉÏÔÅËÉ, ÎÅÏÂÈÏÄÉÍÙÅ ÄÌÑ ÎÁÐÉÓÁÎÉÑ ÐÒÏÇÒÁÍÍ Ó
304 %description static -l uk
305 óÔÁÔÉÞΦ ¦Â̦ÏÔÅËÉ, ÎÅÏÂȦÄΦ ÄÌÑ ÒÏÚÒÏÂËÉ ÐÒÏÇÒÁÍ Ú ×ÉËÏÒÉÓÔÁÎÎÑÍ
315 %{?with_ldap:%patch5 -p1}
331 %{?with_ssl:--with-openssl=%{_prefix}} \
332 %{?with_ipv6:--enable-ipv6} \
334 %{!?with_static_libs:--enable-static=no} \
341 rm -rf $RPM_BUILD_ROOT
342 install -d $RPM_BUILD_ROOT{%{_includedir},%{_bindir},%{_sbindir},%{_includedir}} \
343 $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d,sysconfig} \
344 $RPM_BUILD_ROOT{%{_mandir}/man{1,3,5,8},%{_var}/{lib/named/{M,D,S,dev,etc},run,log}}
347 DESTDIR=$RPM_BUILD_ROOT
351 bzip2 -dc %{SOURCE5} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
352 mv $RPM_BUILD_ROOT%{_mandir}/ja/man8/nslookup.8 $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1
353 %{__perl} -pi -e 's/NSLOOKUP 8/NSLOOKUP 1/' $RPM_BUILD_ROOT%{_mandir}/ja/man1/nslookup.1
355 install conf-pld/*.zone $RPM_BUILD_ROOT%{_var}/lib/named/M
356 install conf-pld/*.hint $RPM_BUILD_ROOT%{_var}/lib/named
357 install conf-pld/*.conf $RPM_BUILD_ROOT%{_var}/lib/named%{_sysconfdir}
358 install bin/tests/named.conf EXAMPLE-CONFIG-named
359 install bin/tests/ndc.conf EXAMPLE-CONFIG-ndc
360 install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
361 install %{SOURCE3} $RPM_BUILD_ROOT/etc/sysconfig/named
362 install %{SOURCE4} $RPM_BUILD_ROOT/etc/logrotate.d/named
364 ln -sf %{_var}/lib/named%{_sysconfdir}/named.conf $RPM_BUILD_ROOT/etc/named.conf
365 ln -sf %{_var}/lib/named/named.log $RPM_BUILD_ROOT%{_var}/log/named
366 ln -sf %{_var}/lib/named/named.stats $RPM_BUILD_ROOT%{_var}/log/named.stats
368 touch $RPM_BUILD_ROOT%{_var}/lib/named/{named.{log,stats},dev/{random,null}}
370 %{?with_ldap:install -d $RPM_BUILD_ROOT%{_datadir}/openldap/schema}
371 %{?with_ldap:install %{SOURCE6} $RPM_BUILD_ROOT%{_datadir}/openldap/schema/dnszone.schema}
373 # we don't want Makefiles in documentation...
374 # FIXME: breaks re-entrant install
375 rm -f doc/misc/Makefile*
378 rm -rf $RPM_BUILD_ROOT
381 if [ -f %{_sysconfdir}/named.boot ]; then
382 cp -f %{_sysconfdir}/named.boot /etc/named.boot.2conf
383 mv -f %{_sysconfdir}/named.boot /etc/named.rpmsave
384 echo "Warning: %{_sysconfdir}/named.boot saved as /etc/named.rpmsave." 1>&2
386 %groupadd -g 58 named
387 %useradd -u 58 -g 58 -d /tmp -s /bin/false -c "BIND user" named
390 if [ "$1" = 1 ]; then
391 mknod -m 660 %{_var}/lib/named/dev/null c 1 3 2>/dev/null
392 chown root:named %{_var}/lib/named/dev/null 2>/dev/null
393 mknod -m 640 %{_var}/lib/named/dev/null c 1 8 2>/dev/null
394 chown root:named %{_var}/lib/named/dev/random 2>/dev/null
395 if [ ! -c %{_var}/lib/named/dev/null ] || [ ! -c %{_var}/lib/named/dev/random ]; then
396 %banner -e %{name}-devs <<-EOF
397 Device nodes were not created!!!
399 Please read PLD Linux Vserver FAQ if you're installing %{name} inside
400 vserver: <http://www.pld-linux.org/Vserver>.
404 /sbin/chkconfig --add named
405 %service named restart
408 if [ "$1" = "0" ]; then
410 /sbin/chkconfig --del named
414 if [ "$1" = "0" ]; then
419 %post libs -p /sbin/ldconfig
420 %postun libs -p /sbin/ldconfig
423 %defattr(644,root,root,755)
424 %doc README EXAMPLE-CONFIG-* FAQ doc/misc/* doc/arm/*.html doc/rfc/index %{?with_ldap:doc/*.sdb-ldap}
426 %attr(754,root,root) /etc/rc.d/init.d/named
427 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/named
428 %attr(640,root,named) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/named.conf
429 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/named
431 %attr(755,root,root) %{_sbindir}/*
433 %{?with_ldap:%{_datadir}/openldap/schema/*.schema}
436 %{_mandir}/man8/lwres*
437 %{_mandir}/man8/named*
438 %{_mandir}/man8/rndc*
439 %{_mandir}/man5/rndc*
440 %{_mandir}/man5/named.conf*
441 %lang(ja) %{_mandir}/ja/man8/named*
443 %attr(770,root,named) %dir %{_var}/lib/named
444 %attr(770,root,named) %dir %{_var}/lib/named/D
445 %attr(750,root,named) %dir %{_var}/lib/named/M
446 %attr(770,root,named) %dir %{_var}/lib/named/S
447 %attr(750,root,named) %dir %{_var}/lib/named%{_sysconfdir}
449 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named/M/*
450 %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named/root.*
451 %attr(640,root,named) %config(noreplace) %verify(not md5 mtime size) %{_var}/lib/named%{_sysconfdir}/*
452 %attr(660,named,named) %config(noreplace,missingok) %verify(not md5 mtime size) %{_var}/log/named*
453 #Something like that should be added...
454 #%attr(660,named,named) %ghost %{_var}/lib/named/named.log
455 #%attr(660,named,named) %ghost %{_var}/lib/named/named.stats
457 # devices for chrooted bind
458 %attr(750,root,named) %dir %{_var}/lib/named/dev
459 %ghost %attr(660,root,named) %{_var}/lib/named/dev/null
460 %ghost %attr(640,root,named) %{_var}/lib/named/dev/random
463 %defattr(644,root,root,755)
464 %attr(755,root,root) %{_bindir}/dig
465 %attr(755,root,root) %{_bindir}/host
466 %attr(755,root,root) %{_bindir}/nslookup
467 %attr(755,root,root) %{_bindir}/nsupdate
468 %{_mandir}/man1/dig.1*
469 %{_mandir}/man1/host.1*
470 %{_mandir}/man1/nslookup.1*
471 %{_mandir}/man8/nsupdate.8*
473 %lang(fi) %{_mandir}/fi/man1/host.1*
475 %lang(fr) %{_mandir}/fr/man1/host.1*
477 %lang(hu) %{_mandir}/hu/man1/host.1*
479 %lang(ja) %{_mandir}/ja/man1/dig.1*
480 %lang(ja) %{_mandir}/ja/man1/host.1*
481 %lang(ja) %{_mandir}/ja/man1/nslookup.1*
482 %lang(ja) %{_mandir}/ja/man8/nsupdate.8*
484 %lang(pl) %{_mandir}/pl/man1/host.1*
487 %defattr(644,root,root,755)
488 %attr(755,root,root) %{_libdir}/*.so.*.*
491 %defattr(644,root,root,755)
492 %attr(755,root,root) %{_bindir}/*.sh
493 %attr(755,root,root) %{_libdir}/*.so
498 %if %{with static_libs}
500 %defattr(644,root,root,755)