SPECS: openhpi-subagent.spec - updated to 2.2.0 - added PLD-style ...
qboosh
qboosh at pld-linux.org
Sat Oct 22 22:36:28 CEST 2005
Author: qboosh Date: Sat Oct 22 20:36:28 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 2.2.0
- added PLD-style init script (untested)
---- Files affected:
SPECS:
openhpi-subagent.spec (1.4 -> 1.5)
---- Diffs:
================================================================
Index: SPECS/openhpi-subagent.spec
diff -u SPECS/openhpi-subagent.spec:1.4 SPECS/openhpi-subagent.spec:1.5
--- SPECS/openhpi-subagent.spec:1.4 Sun May 22 19:21:36 2005
+++ SPECS/openhpi-subagent.spec Sat Oct 22 22:36:22 2005
@@ -1,14 +1,15 @@
# $Revision$, $Date$
-# TODO: PLDify init script
Summary: SNMP agent for modeling SAForum Hardware Platform Interface
Summary(pl): Agent SNMP do modelowania interfejsu HPI SAForum
Name: openhpi-subagent
-Version: 2.0.0
-Release: 0.1
+Version: 2.2.0
+Release: 1
License: BSD
Group: Applications
Source0: http://dl.sourceforge.net/openhpi/%{name}-%{version}.tar.gz
-# Source0-md5: 808627687477614f9206180b8254201b
+# Source0-md5: c3620ae45169e398c09052dabecd9922
+Source1: %{name}.init
+Source2: %{name}.sysconfig
URL: http://openhpi.sourceforge.net/
BuildRequires: autoconf >= 2.53
BuildRequires: automake
@@ -17,10 +18,11 @@
BuildRequires: glib2-devel >= 2.0
BuildRequires: libtool
BuildRequires: net-snmp-devel >= 5.1.1
-BuildRequires: openhpi-devel >= 2.1.1-2
+BuildRequires: openhpi-devel >= 2.2.0
+BuildRequires: sed >= 4.0
BuildRequires: pkgconfig
Requires: net-snmp >= 5.1.1
-Requires: openhpi >= 2.1.1
+Requires: openhpi >= 2.2.0
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -42,6 +44,9 @@
%prep
%setup -q
+# avoid error on some variable used only in debug builds
+sed -i -e 's/-Werror/-Werror -Wno-unused/' configure.ac
+
%build
%{__libtoolize}
%{__aclocal}
@@ -60,7 +65,9 @@
%{__make} install \
DESTDIR=$RPM_BUILD_ROOT
-install -D openhpi-subagent.rc $RPM_BUILD_ROOT/etc/rc.d/init.d/openhpi-subagent
+rm -f $RPM_BUILD_ROOT/etc/init.d/openhpi-subagent
+install -D %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/openhpi-subagent
+install -D %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/openhpi-subagent
%clean
rm -rf $RPM_BUILD_ROOT
@@ -68,9 +75,10 @@
%files
%defattr(644,root,root,755)
%doc COPYING ChangeLog README TODO mib/*.mib docs/*pdf docs/subagent-manual
-%config(noreplace) %verify(not size mtime md5) /etc/snmp/hpiSubagent.conf
-%attr(754,root,root) /etc/rc.d/init.d/openhpi-subagent
%attr(755,root,root) %{_bindir}/hpi*
+%config(noreplace) %verify(not md5 mtime size) /etc/snmp/hpiSubagent.conf
+%attr(754,root,root) /etc/rc.d/init.d/openhpi-subagent
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/openhpi-subagent
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -78,6 +86,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.5 2005/10/22 20:36:22 qboosh
+- updated to 2.2.0
+- added PLD-style init script (untested)
+
Revision 1.4 2005/05/22 17:21:36 qboosh
- updated to 2.0.0
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/openhpi-subagent.spec?r1=1.4&r2=1.5&f=u
More information about the pld-cvs-commit
mailing list