SPECS: bootparamd.spec - BR: cpp for rpcgen - unify service name a...
glen
glen at pld-linux.org
Sun Mar 19 18:08:43 CET 2006
Author: glen Date: Sun Mar 19 17:08:43 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- BR: cpp for rpcgen
- unify service name and service lockfile
- use %service
- rel 13
---- Files affected:
SPECS:
bootparamd.spec (1.36 -> 1.37)
---- Diffs:
================================================================
Index: SPECS/bootparamd.spec
diff -u SPECS/bootparamd.spec:1.36 SPECS/bootparamd.spec:1.37
--- SPECS/bootparamd.spec:1.36 Fri Feb 24 15:57:25 2006
+++ SPECS/bootparamd.spec Sun Mar 19 18:08:37 2006
@@ -1,17 +1,17 @@
# $Revision$, $Date$
-# TODO
-# - unify lockfile and service name
Summary: A server process which provides boot information to diskless clients
Summary(pl): Demon zapewniający informacje potrzebne do uruchomienia bezdyskowych klientów
Name: bootparamd
Version: 0.17
-Release: 12
+Release: 13
License: BSD
Group: Networking/Daemons
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
+BuildRequires: cpp
+BuildRequires: rpmbuild(macros) >= 1.268
Requires(post,preun): /sbin/chkconfig
Requires: portmap
Requires: rc-scripts
@@ -55,31 +55,25 @@
INSTALLROOT=$RPM_BUILD_ROOT \
MANDIR=%{_mandir}
-install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/bootparamd
+install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/rpc.bootparamd
%clean
rm -rf $RPM_BUILD_ROOT
%post
-/sbin/chkconfig --add bootparamd
-if [ -f /var/lock/subsys/rpc.bootparamd ]; then
- /etc/rc.d/init.d/bootparamd restart 1>&2
-else
- echo "Type \"/etc/rc.d/init.d/bootparamd start\" to start rpc.bootparamd server" 1>&2
-fi
+/sbin/chkconfig --add rpc.bootparamd
+%service rpc.bootparamd restart "rpc.bootparamd server"
%preun
if [ "$1" = "0" ]; then
- if [ -f /var/lock/subsys/rpc.bootparamd ]; then
- /etc/rc.d/init.d/bootparamd stop 1>&2
- fi
- /sbin/chkconfig --del bootparamd
+ %service rpc.bootparamd stop
+ /sbin/chkconfig --del rpc.bootparamd
fi
%files
%defattr(644,root,root,755)
%doc ChangeLog README
-%attr(754,root,root) /etc/rc.d/init.d/bootparamd
+%attr(754,root,root) /etc/rc.d/init.d/rpc.bootparamd
%attr(755,root,root) %{_sbindir}/rpc.bootparamd
%attr(755,root,root) %{_bindir}/callbootd
%{_mandir}/man[58]/*
@@ -90,6 +84,12 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.37 2006/03/19 17:08:37 glen
+- BR: cpp for rpcgen
+- unify service name and service lockfile
+- use %service
+- rel 13
+
Revision 1.36 2006/02/24 14:57:25 glen
- quote cc
@@ -121,14 +121,14 @@
- massive attack s/pld.org.pl/pld-linux.org/
Revision 1.26 2002/04/25 15:54:56 arturs
-fixed a small typo
+- fixed a small typo
Revision 1.25 2002/02/22 23:28:44 kloczek
- removed all Group fields translations (our rpm now can handle translating
Group field using gettext).
Revision 1.24 2002/01/18 02:12:31 kloczek
-perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
+- perl -pi -e "s/pld-list\@pld.org.pl/feedback\@pld.org.pl/"
Revision 1.23 2002/01/08 15:04:42 qboosh
- s/postun/preun/ (init.d/bootparamd must exist to stop daemon); release 10
@@ -147,22 +147,22 @@
- release 18: updated Source url.
Revision 1.16 2001/05/02 02:43:01 qboosh
-- adapterized and made spec %%debug ready or added using %%rpm*flags macros
+- adapterized and made spec %debug ready or added using %rpm*flags macros
Revision 1.15 2001/02/23 05:16:55 kloczek
- release 7: Requires for /sbin/chkconfig and Prereq: for rc-scripts.
Revision 1.14 2001/01/25 20:03:21 misiek
-Massive attack. We use -O0 instead -O flags while debug enabled.
+- Massive attack. We use -O0 instead -O flags while debug enabled.
Revision 1.13 2000/12/23 00:48:43 michuz
-- changed %%{!?debug:...}%%{?debug...} to %%{?debug:...}%%{!?debug...}
+- changed %{!?debug:...}%{?debug...} to %{?debug:...}%{!?debug...}
(now it's more C like)
Revision 1.12 2000/11/08 00:54:01 kloczek
- release 6,
- added install_man_fix,
-- use %%{__cc} macro instead directly gcc,
+- use %{__cc} macro instead directly gcc,
- use new rpm automation,
- added man pages level 5.
@@ -186,7 +186,7 @@
- gzip man pages
Revision 1.6 2000/06/09 07:22:48 kloczek
-- added using %%{__make} macro.
+- added using %{__make} macro.
Revision 1.5 2000/05/18 16:58:01 kloczek
- spec adapterized.
@@ -204,4 +204,4 @@
- small fixes in permissions for pam.d or init.d
Revision 1.1 1999/08/19 20:07:25 baggins
-almost raw
+- almost raw
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/bootparamd.spec?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list