info:bind-spec -devel
Wojciech Slusarczyk
wojtek w SHADOW.EU.ORG
Sob, 29 Sie 1998, 13:05:58 CEST
hej,
Oto bind-8.1.2 :
Summary: BIND - DNS name server
Summary: BIND - serwer nazw DNS
Name: bind
Version: 8.1.2
Release: 1d
Copyright: distributable
Group: Networking/Daemons
Source0: ftp://ftp.isc.org/isc/bind/cur/%{name}-src.tar.gz
Source1: ftp://ftp.isc.org/isc/bind/cur/%{name}-doc.tar.gz
Source2: named.init
Patch0: bind-makefile.patch
Patch1: bind-libelf.patch
Buildroot: /tmp/%{name}-%{version}-%{release}
URL: http://www.isc.org/bind.html
%description
Includes the named name server, which is used to define host name
to IP address translations (and vice versa). It can be used on
workstations as a caching name server, but is generally only needed
on one machine for an entire network.
%description -l pl
Pakiet ten zawiera demona named, który zamienia nzwy komuterów
na numery IP i odwrotnie czyli numerom IP przyporządkowuje właściwe
nazwy komupterów wraz z ich domenami internetowymi. Ta wersja ma
wspomaganie dla IPv6. Pakiet bind jest potrzebny głównie na serwerach
internetowych aby prawidłowo przydzielać komuterom w swojej podsieci
nazwy i numery IP.
%package utils
Summary: DNS utils - host, dig, dnsquery, nslookup
Summary(pl): narzędzia DNS - host, dig, dnsquery, nslookup
Group: Networking/Utilities
%description utils
Collection of utilities for querying name servers and looking up hosts.
These tools let you determine the IP addresses for given host names,
and find information about registered domains and network addresses.
%description -l pl utils
Pakiet ten zawiera zbiór aplikacji umożliwiających odpytywanie swerwerów
nazw z innych domen w celu uzyskania ifnormacji o komupterach i ich
adresach IP.
%package devel
Summary: DNS development includes and libs
Summary(pl): pliki nagłówkowe i biblioteka statyczna
Group: Networking/Development
%description devel
All the include files and the library required for DNS development for
bind 8.x.x
%description -l pl devel
Pakiet zawiera pliki nagłówkowe i bibliotekę statyczną. Jeżeli będziesz
pisał programy pod binda, lub kompilował kod źródłowy opragramowania
korzystającego z tych plików nagłówkowych czy biblioteki powinieneś
zainstalować ten pakiet.
%prep
%setup -q -n src
%setup -q -n src -T -D -a 1
%patch0 -p1
%patch1 -p1
%build
RPM_PREFIX="" make
%install
RPM_PREFIX=${RPM_BUILD_ROOT} make install
mkdir -p ${RPM_BUILD_ROOT}/usr/man/man1
mkdir -p ${RPM_BUILD_ROOT}/usr/man/man8
mkdir -p ${RPM_BUILD_ROOT}/usr/man/man3
mkdir -p ${RPM_BUILD_ROOT}/usr/man/man5
mkdir -p ${RPM_BUILD_ROOT}/usr/man/man7
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/init.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc0.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc1.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc2.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc3.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc4.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc5.d
mkdir -p ${RPM_BUILD_ROOT}/etc/rc.d/rc6.d
mkdir -p ${RPM_BUILD_ROOT}/usr/bin
mkdir -p ${RPM_BUILD_ROOT}/usr/sbin
mkdir -p ${RPM_BUILD_ROOT}/usr/lib
strip ${RPM_BUILD_ROOT}/usr/sbin/named
strip ${RPM_BUILD_ROOT}/usr/sbin/named-xfer
strip ${RPM_BUILD_ROOT}/usr/bin/addr
strip ${RPM_BUILD_ROOT}/usr/bin/dig
strip ${RPM_BUILD_ROOT}/usr/bin/dnsquery
strip ${RPM_BUILD_ROOT}/usr/bin/host
strip ${RPM_BUILD_ROOT}/usr/bin/nslookup
strip ${RPM_BUILD_ROOT}/usr/bin/nsupdate
cd doc/man
install -c -m 444 dig.1 ${RPM_BUILD_ROOT}/usr/man/man1/dig.1
install -c -m 444 host.1 ${RPM_BUILD_ROOT}/usr/man/man1/host.1
install -c -m 444 dnsquery.1 ${RPM_BUILD_ROOT}/usr/man/man1/dnsquery.1
install -c -m 444 named.8 ${RPM_BUILD_ROOT}/usr/man/man8/named.8
install -c -m 444 ndc.8 ${RPM_BUILD_ROOT}/usr/man/man8/ndc.8
install -c -m 444 named-xfer.8
${RPM_BUILD_ROOT}/usr/man/man8/named-xfer.8
install -c -m 444 nslookup.8 ${RPM_BUILD_ROOT}/usr/man/man8/nslookup.8
install -c -m 444 gethostbyname.3
${RPM_BUILD_ROOT}/usr/man/man3/gethostbyname.3
install -c -m 444 resolver.3 ${RPM_BUILD_ROOT}/usr/man/man3/resolver.3
install -c -m 444 getnetent.3
${RPM_BUILD_ROOT}/usr/man/man3/getnetent.3
install -c -m 444 resolver.5 ${RPM_BUILD_ROOT}/usr/man/man5/resolver.5
install -c -m 444 hostname.7 ${RPM_BUILD_ROOT}/usr/man/man7/hostname.7
install -m755 $RPM_SOURCE_DIR/named.init
${RPM_BUILD_ROOT}/etc/rc.d/init.d/named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc0.d/K10named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc1.d/K10named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc2.d/K10named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc3.d/S55named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc4.d/S55named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc5.d/S55named
ln -sf ../init.d/named ${RPM_BUILD_ROOT}/etc/rc.d/rc6.d/K10named
mkdir -p ${RPM_BUILD_ROOT}/usr/local/include/bind
mkdir -p ${RPM_BUILD_ROOT}/usr/local/lib
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-, root, root)
%doc README INSTALL Version CHANGES TODO bin/named/named-bootconf.pl
%attr(0700, root, root) /etc/rc.d/init.d/named
/etc/rc.d/rc0.d/K10named
/etc/rc.d/rc1.d/K10named
/etc/rc.d/rc2.d/K10named
/etc/rc.d/rc3.d/S55named
/etc/rc.d/rc4.d/S55named
/etc/rc.d/rc5.d/S55named
/etc/rc.d/rc6.d/K10named
%attr(0711, root, root) /usr/sbin/named
/usr/sbin/named-xfer
%attr(0755, root, root) /usr/sbin/ndc
/usr/man/man8/named.8
/usr/man/man8/ndc.8
/usr/man/man8/named-xfer.8
/usr/man/man7/hostname.7
%files utils
%defattr(-, root, root)
%attr(0711, root, root) /usr/bin/nslookup
/usr/lib/nslookup.help
%attr(0711, root, root) /usr/bin/host
%attr(0711, root, root) /usr/bin/dig
%attr(0711, root, root) /usr/bin/dnsquery
%attr(0711, root, root) /usr/bin/addr
%attr(0711, root, root) /usr/bin/nsupdate
/usr/man/man1/dig.1
/usr/man/man1/host.1
/usr/man/man1/dnsquery.1
/usr/man/man8/nslookup.8
/usr/man/man5/resolver.5
%files devel
%defattr(-, root, root)
/usr/local/bind/*
/usr/man/man3/gethostbyname.3
/usr/man/man3/resolver.3
/usr/man/man3/getnetent.3
%changelog
* Fri Jun 26 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[8.1.2-1d]
- build against glibc-2.1,
- translation modified for pl,
- updated to version 8.1.2,
- changed permissions of all binaries to 711,
- moved %changelog at the end of spec,
- build from non root's account.
* Wed Jun 10 1998 Manuel J. Galan <manolow w step.es>
- Builds on RedHat 5.1 -Manhattan-
- Some more modifications to install correctly (includes).
* Sun Apr 12 1998 Manuel J. Galan <manolow w step.es>
- Several essential modifications to build and install correctly.
- Modified 'ndc' to avoid deprecated use of '-'
* Mon Dec 22 1997 Scott Lampert <fortunato w heavymetal.org>
- Used buildroot
- patched bin/named/ns_udp.c to use <libelf/nlist.h> for include
on Redhat 5.0 instead of <nlist.h>
--
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu
Więcej informacji o liście dyskusyjnej pld-devel-pl