X-Git-Url: http://git.pld-linux.org/?p=packages%2Fbootparamd.git;a=blobdiff_plain;f=bootparamd.spec;h=a7285c86326b8732cf06e80a9dfbbf66b5b5a64f;hp=d843b67995711050ca7f6fff9488daae49461288;hb=724ccf9fd90484a92e996c09e523e74fffbbce23;hpb=8f0dc8cc4b289cd04dd29a42ffb1c86381f3d40c diff --git a/bootparamd.spec b/bootparamd.spec index d843b67..a7285c8 100644 --- a/bootparamd.spec +++ b/bootparamd.spec @@ -1,17 +1,16 @@ Summary: A server process which provides boot information to diskless clients -Summary(pl): Demon który zapewnia informacje potrzebne do uruchomienia bezdyskowych klientów +Summary(pl): Demon zapewniaj±cy informacje potrzebne do uruchomienia bezdyskowych klientów Name: bootparamd Version: 0.17 -Release: 9 +Release: 12 License: BSD Group: Networking/Daemons -Group(de): Netzwerkwesen/Server -Group(pl): Sieciowe/Serwery Source0: ftp://ftp.uk.linux.org/pub/linux/Networking/netkit/netkit-%{name}-%{version}.tar.gz +# Source0-md5: 00d211115b11aec2e214b701fe72f397 Source1: %{name}.init Patch0: %{name}-install_man_fix.patch -Prereq: rc-scripts -Prereq: /sbin/chkconfig +PreReq: rc-scripts +Requires(post,preun): /sbin/chkconfig Requires: portmap BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) @@ -40,7 +39,8 @@ serwerami potrzebuj %patch -p1 %build -./configure --with-c-compiler=%{__cc} +./configure \ + --with-c-compiler=%{__cc} %{__make} CFLAGS="%{rpmcflags}" %install @@ -65,7 +65,7 @@ else echo "Type \"/etc/rc.d/init.d/bootparamd start\" to start rpc.bootparamd server" 1>&2 fi -%postun +%preun if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/rpc.bootparamd ]; then /etc/rc.d/init.d/bootparamd stop 1>&2