nps: nps.spec - adapterized
baggins
baggins at pld-linux.org
Mon Jul 25 22:24:02 CEST 2005
Author: baggins Date: Mon Jul 25 20:24:02 2005 GMT
Module: nps Tag: HEAD
---- Log message:
- adapterized
---- Files affected:
nps:
nps.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: nps/nps.spec
diff -u nps/nps.spec:1.2 nps/nps.spec:1.3
--- nps/nps.spec:1.2 Mon Jul 25 22:18:17 2005
+++ nps/nps.spec Mon Jul 25 22:23:57 2005
@@ -1,3 +1,4 @@
+# $Revision$, $Date$
%define _vendor_rel 0
Summary: Platform Linux components
@@ -9,9 +10,11 @@
# available at Sun Download Center http://www.sun.com/download/
# Sun Fire V20z and V40z NSV bundles 2.2.0.6
Source0: %{name}-V%{version}.tar.gz
-Source0-md5: 5c843ff779f10722b314433b7e8f1210
+Source0-md5:5c843ff779f10722b314433b7e8f1210
License: GPL
Group: System/Monitoring
+###### Unknown group!
+###### Unknown group!
#Vendor: Newisys, Inc.
# we only support linux
ExclusiveOS: Linux
@@ -19,24 +22,24 @@
BuildRequires: pciutils-devel
%description
- Network Share Volume Update version 2.2.0.6. This page contains latest version
-of BIOS and SP firmware.
+Network Share Volume Update version 2.2.0.6. This page contains latest
+version of BIOS and SP firmware.
%package -n kernel-net-nps
-Summary: Linux driver for the
+Summary: Linux driver for the
License: GPL
Group: Base/Kernel
Requires(post,postun): /sbin/depmod
%prep
-%setup -c -n %{name}-%{version}
+%setup -q -c
%build
-make INSTALL_MOD_PATH=$RPM_BUILD_ROOT all
+%{__make} INSTALL_MOD_PATH=$RPM_BUILD_ROOT all
%install
rm -rf $RPM_BUILD_ROOT
-make install BUILD_FROM_RPM=1 INSTALL_MOD_PATH=$RPM_BUILD_ROOT
+%{__make} install BUILD_FROM_RPM=1 INSTALL_MOD_PATH=$RPM_BUILD_ROOT
%post
sed -i -e "s/<SWInstalledDate>.*</<SWInstalledDate>`date +%s`</" /etc/newisys/swinventory.xml
@@ -94,7 +97,7 @@
# check to see if poci is running...if so, stop it
if ( ps -Af | grep -v "grep" | grep -q "poci" )
then
- /etc/init.d/poci stop
+ /etc/init.d/poci stop
fi
/sbin/chkconfig --add poci
@@ -120,5 +123,14 @@
rm -rf $RPM_BUILD_ROOT
%files -f file.list
+%defattr(644,root,root,755)
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.3 2005/07/25 20:23:57 baggins
+- adapterized
+
================================================================
---- CVS-web:
http://cvs.pld-linux.org/nps/nps.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list