]> git.pld-linux.org Git - packages/bind.git/blob - bind.spec
Sources
[packages/bind.git] / bind.spec
1 Summary:     BIND - DNS name server
2 Summary(de): BIND - DNS-Namenserver  
3 Summary(fr): BIND - serveur de noms DNS
4 Summary(pl): BIND - serwer nazw DNS
5 Summary(tr): DNS alan adý sunucusu
6 Name:        bind
7 Version:     8.1.2
8 Release:     7
9 Copyright:   distributable
10 Group:       Networking/Daemons
11 Source0:     ftp://ftp.isc.org/isc/bind/cur/%{name}-src.tar.gz
12 Source1:     ftp://ftp.isc.org/isc/bind/cur/%{name}-doc.tar.gz
13 Source2:     ftp://ftp.isc.org/isc/bind/src/%{version}/bind-%{version}-contrib.tar.gz
14 Source3:     named.init
15 Patch0:      bind-makefile.patch
16 Patch1:      bind-libelf.patch
17 URL:         http://www.isc.org/bind.html
18 Prereq:      /sbin/chkconfig
19 Buildroot:   /tmp/%{name}-%{version}-root
20
21 %description
22 Includes the named name server, which is used to define host name
23 to IP address translations (and vice versa).  It can be used on
24 workstations as a caching name server, but is generally only needed
25 on one machine for an entire network.
26
27 %description -l de
28 Enthält den Namen-Server, der zum Umwandeln von Host-Namen in
29 IP-Adressen und umgekehrt verwendet wird. Er kann auf
30 Workstations als caching Namen-Server verwendet werden, ist aber
31 i.d.R. nur auf einem Recher des Netzwerks erforderlich.
32
33 %description -l fr
34 Contient le serveur de noms named, utilisé pour définir les traductions
35 nom d'hôte vers adresse IP (et vice versa). Il peut être utilisé sur
36 les stations de travail comme serveur de nom en cache mais n'est souvent
37 nécessaire que sur une machine pour un réseau entier.
38
39 %description -l pl
40 Includes the named name server, which is used to define host name
41 to IP address translations (and vice versa).  It can be used on
42 workstations as a caching name server, but is generally only needed
43 on one machine for an entire network.
44
45 Pakiet ten zawiera demona named, który s³u¿y do zmieniania nazw
46 komuterów na numery IP i odwrotnie. Mo¿e byæ on u¿ywany na na stacjach
47 roboczych jako bufor odwo³añ do serwisu naz (caching name server) ale
48 generalnie wystarczy tylko jedna jednostka wyposa¿ona w ten program na
49 fragment sieci.
50
51 %description -l tr
52 Bu paket, makina adýný IP numarasýna (ya da tersi) çevirmek için kullanýlan
53 alan adý sunucusunu içerir. Ýþ istasyonlarýnda bir önbellek isim sunucusu
54 olarak da kullanýlabilir ama genellikle bütün bir að için sadece bir makina
55 üzerinde kurulur.
56
57 %package utils
58 Summary:     DNS utils - host, dig, dnsquery, nslookup
59 Summary(de): DNS-Utils - Host, Dig, Dnsquery, Nslookup 
60 Summary(fr): Utilitaires DNS - host, dig, dnsquery, nslookup
61 Summary(pl): Narzêdzia DNS - host, dig, dnsquery, nslookup
62 Summary(tr): DNS araçlarý - host, dig, dnsquery, nslookup
63 Group:       Networking/Utilities
64
65 %description utils
66 Collection of utilities for querying name servers and looking up hosts.
67 These tools let you determine the IP addresses for given host names,
68 and find information about registered domains and network addresses.
69
70 %description -l de utils
71 Dienstprogrammsammlung zum Abfragen von Namen-Servern und Hosts.
72 Diese Tools bestimmen die IP-Adresse eines angegebenen Host-Namen
73 und finden Informationen über registrierte Domains und Netzwerk-Adressen.
74
75 %description -l fr utils
76 Ensemble d'utilitaires pour interroger les serveurs de noms et rechercher
77 des hôtes. Ces outils vous permettent de déterminer les adresses IP pour
78 des noms d'hôtes donnés, et trouver des informations sur les noms de
79 domaine déclarés et les adresses réseau.
80
81 %description -l pl utils
82 Collection of utilities for querying name servers and looking up hosts.
83 These tools let you determine the IP addresses for given host names,
84 and find information about registered domains and network addresses.
85
86 Pakiet ten zawiera zbiór aplikacji umo¿liwiaj±cych odpytywanie swerwerów
87 nazw z innych domen w celu uzyskania ifnormacji o komupterach i ich
88 adresach IP.
89
90 %description -l tr utils
91 Bu pakette isim sunucularýný sorgulamak ve makina adreslerini çözmek için
92 kullanýlan araçlar bulunmaktadýr.
93
94 %package devel
95 Summary:     DNS development includes and libs
96 Summary(pl): pliki nag³ówkowe i biblioteka statyczna
97 Group:       Networking/Development
98
99 %description devel
100 All the include files and the library required for DNS development for
101 bind 8.x.x
102
103 %description -l pl devel
104 Pakiet zawiera pliki nag³ówkowe i bibliotekê statyczn±. Je¿eli bêdziesz
105 pisa³ programy pod binda, lub kompilowa³ kod ¼ród³owy opragramowania
106 korzystaj±cego z tych plików nag³ówkowych czy biblioteki powiniene¶
107 zainstalowaæ ten pakiet.
108
109 %prep
110 %setup -q -n src
111 %setup -q -n src -T -D -a 1
112 %setup -q -n src -T -D -a 2
113
114 %patch0 -p1
115 %patch1 -p1
116
117 rm -f compat/include/sys/cdefs.h
118
119 %build
120 RPM_PREFIX="" make
121 make SUBDIRS=doc/man clean all
122
123 %install
124 rm -rf $RPM_BUILD_ROOT
125 install -d $RPM_BUILD_ROOT/{etc/{named,rc.d/init.d},usr/{bin,sbin,lib,man/man{1,3,5,7,8}}}
126
127 make DESTDIR=$RPM_BUILD_ROOT install
128 make SUBDIRS=doc/man DESTDIR=$RPM_BUILD_ROOT INSTALL=install install
129
130 strip $RPM_BUILD_ROOT/usr/{sbin/*,bin/*} || :
131
132 install %{SOURCE3} $RPM_BUILD_ROOT/etc/rc.d/init.d/named
133
134 install bin/named/named-bootconf.pl $RPM_BUILD_ROOT/usr/bin
135
136 %post
137 /sbin/chkconfig --add named
138 if [ -f /etc/named.boot -a ! -f /etc/named.conf ]; then
139   if [ -x /usr/bin/named-bootconf.pl ]; then
140     cat /etc/named.boot | /usr/bin/named-bootconf.pl > /etc/named/named.conf
141     chmod 644 /etc/named.conf
142   fi
143 fi
144
145 %postun
146 if [ $1 = 0 ]; then
147    /sbin/chkconfig --del named
148 fi
149
150 %clean
151 rm -rf $RPM_BUILD_ROOT
152
153 %files
154 %defattr(644, root, root, 755)
155 %doc README Version CHANGES TODO
156
157 %attr(700, root, root) /etc/rc.d/init.d/named
158 %attr(700, root, root) %dir /etc/named
159
160 %attr(755, root, root) /usr/sbin/named
161 %attr(755, root, root) /usr/sbin/named-xfer
162 %attr(755, root, root) /usr/sbin/ndc
163 %attr(755, root, root) /usr/bin/named-bootconf.pl
164
165 %attr(644, root,  man) /usr/man/man8/named.8
166 %attr(644, root,  man) /usr/man/man8/ndc.8
167 %attr(644, root,  man) /usr/man/man8/named-xfer.8
168 %attr(644, root,  man) /usr/man/man7/hostname.7
169
170 %files utils
171 %attr(755, root, root) /usr/bin/nslookup
172 %attr(644, root, root) /usr/lib/nslookup.help
173 %attr(755, root, root) /usr/bin/host
174 %attr(755, root, root) /usr/bin/dig
175 %attr(755, root, root) /usr/bin/dnsquery
176 %attr(755, root, root) /usr/bin/addr
177 %attr(755, root, root) /usr/bin/nsupdate
178 %attr(644, root,  man) /usr/man/man1/dig.1
179 %attr(644, root,  man) /usr/man/man1/host.1
180 %attr(644, root,  man) /usr/man/man1/dnsquery.1
181 %attr(644, root,  man) /usr/man/man8/nslookup.8
182 %attr(644, root,  man) /usr/man/man5/resolver.5
183
184 %files devel
185 %defattr(644, root, root, 755)
186 /usr/include/bind
187 /usr/lib/lib*.a
188 %attr(644, root, man) /usr/man/man3/*
189
190 %changelog
191 * Mon Nov  2 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
192   [8.1.2-7]
193 - removed making /etc/rc.d/rc?.d/ symlinks (/etc/rc.d/init.d/named have 
194   suport for chkconfig),
195 - fixed typo in %post,
196 - added /etc/named to package.
197
198 * Sat Oct 17 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
199   [8.1.2-6]
200 - named-bootconf.pl script moved from %doc to /usr/bin.
201
202 * Wed Sep 23 1998 Jeff Johnson <jbj@redhat.com>
203 - change named.restart to /usr/sbin/ndc restart
204
205 * Sat Sep 19 1998 Jeff Johnson <jbj@redhat.com>
206 - install man pages correctly.
207 - change K10named to K45named.
208
209 * Tue Sep  1 1998 Tomasz K³oczko <kloczek@rudy.mif.pg.gda.pl>
210   [8.1.2-3]
211 - changed Buildroot to /tmp/%%{name}-%%{version}-root,
212 - added using %%{name} and %%{version} in Source,
213 - added using $RPM_OPT_FLAGS during compile (modified bind-makefile.patch),
214 - bind header files moved to /usr/include/bind,
215 - static library moved to /usr/lib,
216 - added full %attr description in %files.
217
218 * Wed Aug 26 1998 Wojtek ¦lusarczyk <wojtek@shadow.eu.org>
219   [8.1.2-2]
220 - added pl translation.
221
222 * Wed Aug 12 1998 Jeff Johnson <jbj@redhat.com>
223 - don't start if /etc/named.conf doesn't exist.
224
225 * Sat Aug  8 1998 Jeff Johnson <jbj@redhat.com>
226 - autmagically create /etc/named.conf from /etc/named.boot in %post
227 - remove echo in %post
228
229 * Wed Jun 10 1998 Manuel J. Galan <manolow@step.es>
230 - Builds on RedHat 5.1 -Manhattan-
231 - Some more modifications to install correctly (includes).
232
233 * Sun Apr 12 1998 Manuel J. Galan <manolow@step.es>
234 - Several essential modifications to build and install correctly.
235 - Modified 'ndc' to avoid deprecated use of '-'
236
237 * Mon Dec 22 1997 Scott Lampert <fortunato@heavymetal.org>
238 - Used buildroot
239 - patched bin/named/ns_udp.c to use <libelf/nlist.h> for include
240   on Redhat 5.0 instead of <nlist.h>
This page took 0.085769 seconds and 4 git commands to generate.