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