]> git.pld-linux.org Git - packages/arpd.git/commitdiff
- spec adapterized and few cosmetics.
authorkloczek <kloczek@pld-linux.org>
Sat, 24 Mar 2001 20:34:40 +0000 (20:34 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    arpd.spec -> 1.4

arpd.spec

index a8b7ebcc1278cccdf14531bd2ccae52350b57df4..2144db74b0d428dd20a347c44a10549c88bf46f0 100644 (file)
--- a/arpd.spec
+++ b/arpd.spec
@@ -5,8 +5,8 @@ Version:        1.0.2
 Release:       1
 License:       GPL
 Group:         Daemons
-Group(pl):     Serwery
 Group(de):     Server
+Group(pl):     Serwery
 Source0:       %{name}-%{version}.tar.gz
 Source1:       %{name}-init
 Patch0:                %{name}-%{version}.debian-patch
@@ -16,26 +16,25 @@ Prereq:             /sbin/chkconfig
 Prereq:                rc-scripts >= 0.2.0
 Prereq:                fileutils
 #BuildRequires:        
-BuildRoot:     %{tmpdir}/%{name}-%{version}.orig
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 The ARP daemon moves the management of the ARP (Address Resolution
-Protocol) table from kernel to user space.  It is useful for sites
-with LARGE network segments (256+ systems per segment), because the
-kernel hash tables are not optimized to handle this situation. To use
-the ARP daemon your kernel needs to have ARPD and NETLINK support
-enabled. The standard kernels of PLD lack this support.
-It shouldn't be run without that!!
+Protocol) table from kernel to user space. It is useful for sites with
+LARGE network segments (256+ systems per segment), because the kernel
+hash tables are not optimized to handle this situation. To use the ARP
+daemon your kernel needs to have ARPD and NETLINK support enabled. The
+standard kernels of PLD lack this support. It shouldn't be run without
+that!!
 
 %description -l pl
 Demon ARP przekazuje zarz±dzanie tablic± ARP (Address Resolution
-Protocol) z kernel'a do przestrzeni u¿ytkownika. Jest to bardzo 
+Protocol) z kernel'a do przestrzeni u¿ytkownika. Jest to bardzo
 u¿yteczne dla miejsc o du¿ych segmentach sieci (256+ systemów na
 segment), poniewa¿ tablice w j±drze nie s± zoptymalizowane na takie
-sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz
-NETLINK support uaktywnione w j±drze. 
-Uwaga! Stanadardowe j±dro PLD nie ma supportu ARPD!!.
-Demon nie powinien byæ startowany bez tego!!
+sytuacje. Aby u¿ywaæ tego demona musisz mieæ ARPD support oraz NETLINK
+support uaktywnione w j±drze. Uwaga! Stanadardowe j±dro PLD nie ma
+supportu ARPD!!. Demon nie powinien byæ startowany bez tego!!
 
 %prep
 %setup  -q -n %{name}-%{version}.orig
@@ -44,17 +43,16 @@ Demon nie powinien by
 %patch2 -p1
 
 %build
-
 %{__make}
 
-%install -n -n %{name}-%{version}
+%install
 rm -rf $RPM_BUILD_ROOT
-
 install -d $RPM_BUILD_ROOT/{usr/sbin,etc/rc.d/init.d}
-install arpd $RPM_BUILD_ROOT/usr/sbin/arpd
+
+install arpd $RPM_BUILD_ROOT%{_sbindir}/arpd
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/arpd
 
-gzip -9nf CHANGES Copyright debian/*
+gzip -9nf CHANGES
 
 %post
 /sbin/chkconfig --add arpd
@@ -79,13 +77,11 @@ if [ "$1" = "0" ]; then
        /sbin/chkconfig --del arpd
 fi
 
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz
-%doc README.html debian/*
-%attr(754,root,root) /usr/sbin/arpd
+%doc *.gz README.html
+%attr(754,root,root) %{_sbindir}/arpd
 %attr(754,root,root) /etc/rc.d/init.d/arpd
This page took 0.068272 seconds and 4 git commands to generate.