info:radvd.spec -devel

Wojciech Slusarczyk wojtek w SHADOW.EU.ORG
Sob, 29 Sie 1998, 15:01:23 CEST


No to ja na dzisiaj ju¿ koñczê, zerknijcie jeszcze na to:

Summary: Router Advertisement Daemon
Summary(pl): Router Advertisement Daemon
Name: radvd
Version: 0.4.2
Release: 1d
Copyright: GPL
Source0: ftp://ftp.inner.net/pub/ipv6/%{name}-%{version}.tar.gz
Patch: radvd.patch
Group: Networking/Daemons
Buildroot: /var/tmp/%{name}-%{version}-%{release}-root
Requires: inet6-apps >= 0.33

%description
IPv6 has a lot more support for autoconfiguration than IPv4. But
for this autoconfiguration to work on the hosts of a network, the
routers of the local network have to run a program which answers
the autoconfiguration requests of the hosts. On Linux this program
is called radvd, which stands for Router ADVertisement Daemon. This
daemon listens to router solicitations (RS) and answers with router
advertisement (RA). Furthermore unsolicited RAs are also send from
time to time.

%description -l pl
IPv6 ma lepsze wspomaganie autokonfiguracji ni¿ IPv4, ale dla
prawid³owej pracy wymagane jest odpowiednie do tego oprogramowanie.
Na Linuxie rolê autokonfiguratora pe³ni program o nazwie radvd.

%prep
%setup -q
%patch -p0

%build

./configure --prefix=/usr --with-configfile=/etc/sysconfig/radvd.conf \
    --with-logfile=/var/log/radvd.log
make

%install
mkdir -p $RPM_BUILD_ROOT/usr/{sbin,man}
mkdir -p $RPM_BUILD_ROOT/usr/man/man8
mkdir -p $RPM_BUILD_ROOT/etc/sysconfig
mkdir -p $RPM_BUILD_ROOT/usr/include

install -m711 $RPM_BUILD_DIR/radvd-0.4.2/radvd \
         $RPM_BUILD_ROOT/usr/sbin

install -m644 $RPM_BUILD_DIR/radvd-0.4.2/radvd.8 \
         $RPM_BUILD_ROOT/usr/man/man8

install -m711 $RPM_BUILD_DIR/radvd-0.4.2/radvdump \
         $RPM_BUILD_ROOT/usr/sbin

install -m644 $RPM_BUILD_DIR/radvd-0.4.2/radvd.conf.example \
         $RPM_BUILD_ROOT/etc/sysconfig/radvd.conf

install -m644 $RPM_BUILD_DIR/radvd-0.4.2/radvd.h \
         $RPM_BUILD_ROOT/usr/include

cd  $RPM_BUILD_ROOT/usr
strip sbin/*

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-, root, root)
%doc CHANGES COPYRIGHT INTRO.html README
%attr(0711, root, root) /usr/sbin/*
/usr/man/man8/*
%config(missingok) %verify(not size md5 mtime) /etc/sysconfig/*
%config(missingok) /usr/include

%changelog

* Wed Jul 1 1998 Wojtek Slusarczyk <wojtek w shadow.eu.org>
[0.4.2-1d]
- first try at RPM.

--
Wojciech Slusarczyk (091)4494148
Technical University of Szczecin
PGP KeyServer pgpkeys.mit.edu





Więcej informacji o liście dyskusyjnej pld-devel-pl