From 0364da63d511810fb3d6ace48a86956bf66010b1 Mon Sep 17 00:00:00 2001 From: Matthias Saou Date: Thu, 3 Mar 2005 23:53:13 +0000 Subject: [PATCH] Mass letter "o" and "p" update, one or more apply : - Drop epoch: 0 - Remove %{epoch} requirements in sub-packages - Remove trailing white spaces - Keep consistent between spaces and tabs --- openslp.spec | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/openslp.spec b/openslp.spec index 7e7016b..b866fbd 100644 --- a/openslp.spec +++ b/openslp.spec @@ -1,21 +1,20 @@ -# $Id: openslp.spec,v 1.4 2004/12/10 22:03:07 mschwendt Exp $ +# $Id: openslp.spec,v 1.5 2005/03/03 23:53:13 thias Exp $ %define pie 1 -Summary: OpenSLP implementation of Service Location Protocol V2 -Name: openslp -Epoch: 0 +Summary: Open implementation of Service Location Protocol V2 +Name: openslp Version: 1.2.0 Release: 4%{?dist_tag} -Group: System Environment/Libraries +Group: System Environment/Libraries License: BSD -#URL: http://www.openslp.org/ -URL: http://sourceforge.net/projects/openslp/ +#URL: http://www.openslp.org/ +URL: http://sourceforge.net/projects/openslp/ Source: http://dl.sourceforge.net/sourceforge/openslp/openslp-1.2.0.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Source1: slpd.init -Patch1: openslp-1.2.0-optflags.patch +Patch1: openslp-1.2.0-optflags.patch BuildRequires: autoconf automake libtool BuildRequires: bison flex @@ -28,20 +27,20 @@ provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. -OpenSLP is an open source implementation of the SLPv2 protocol as defined -by RFC 2608 and RFC 2614. +OpenSLP is an open source implementation of the SLPv2 protocol as defined +by RFC 2608 and RFC 2614. %package devel Summary: OpenSLP headers and libraries -Group: Development/Libraries -Requires: %{name} = %{epoch}:%{version}-%{release} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} %description devel OpenSLP header files and libraries. %package server Summary: OpenSLP server daemon -Group: System Environment/Daemons -Requires: %{name} = %{epoch}:%{version}-%{release} +Group: System Environment/Daemons +Requires: %{name} = %{version}-%{release} Requires(preun): chkconfig /sbin/service Requires(post): chkconfig Requires(postun): /sbin/service @@ -50,7 +49,7 @@ OpenSLP server daemon to dynamically register services. %prep -%setup -q +%setup -q %patch1 -p1 -b .optflags @@ -87,8 +86,8 @@ make install DESTDIR=$RPM_BUILD_ROOT install -p -D -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/slpd # nuke unpackaged/unwanted files -rm -rf $RPM_BUILD_ROOT/usr/doc -rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -rf $RPM_BUILD_ROOT/usr/doc +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la %clean @@ -113,7 +112,7 @@ if [ $1 -ge 1 ]; then fi -%files +%files %defattr(-,root,root) %doc AUTHORS COPYING FAQ NEWS README THANKS %doc doc/html/IntroductionToSLP @@ -132,7 +131,7 @@ fi %files devel %defattr(-,root,root) -%doc doc/html/ProgrammersGuide +%doc doc/html/ProgrammersGuide %doc doc/rfc %{_includedir}/* %{_libdir}/lib*.so @@ -150,7 +149,7 @@ fi * Thu Jul 15 2004 Rex Dieter 0:1.2.0-0.fdr.1 - 1.2.0 -- use -pie +- use -pie - don't use Requires(post,postun) * Fri Oct 24 2003 Rex Dieter 0:1.0.11-0.fdr.7 @@ -176,7 +175,7 @@ fi * Thu May 1 2003 Rex Dieter 0:1.0.11-0.fdr.2 - docs: remove CVS files, include rfc, move ProgrammersGuide to -devel. - improve sub-pkg descriptions. -- improve server %%preun,%%postun scripts: condrestart on upgrade, +- improve server %%preun,%%postun scripts: condrestart on upgrade, suppress output of server shutdown,restarts. * Thu May 1 2003 Rex Dieter 0:1.0.11-0.fdr.1