SPECS: 3DM2-7000.spec - pl, cleanup
qboosh
qboosh at pld-linux.org
Tue Dec 19 19:48:18 CET 2006
Author: qboosh Date: Tue Dec 19 18:48:18 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- pl, cleanup
---- Files affected:
SPECS:
3DM2-7000.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/3DM2-7000.spec
diff -u SPECS/3DM2-7000.spec:1.1 SPECS/3DM2-7000.spec:1.2
--- SPECS/3DM2-7000.spec:1.1 Thu Dec 14 13:40:21 2006
+++ SPECS/3DM2-7000.spec Tue Dec 19 19:48:13 2006
@@ -1,25 +1,31 @@
# $Revision$, $Date$
Summary: 3DM2 Management Utility
+Summary(pl): Narzędzie do zarządzania kontrolerami 3DM2
Name: 3DM2-7000
Version: 9.3.0.7
Release: 1
-License: comercial
+License: commercial
Group: Development/Libraries
Source0: http://www.3ware.com/download/Escalade7000Series/%{version}/3DM2-Linux-%{version}.tgz
-# Source0-md5: 49b699c1f26eac174df56c860ee7ff47
+# NoSource0-md5: 49b699c1f26eac174df56c860ee7ff47
NoSource: 0
Source1: http://www.3ware.com/download/Escalade7000Series/%{version}/%{version}_Release_Notes_Web.pdf
-# Source1-md5: b79add47a9d6905d7fdf611f063ca071
+# NoSource1-md5: b79add47a9d6905d7fdf611f063ca071
NoSource: 1
Source2: 3dm2-7000.init
-URL: http://www.pers.pl
-ExclusiveArch: i386
+URL: http://www.3ware.com/products/raid_management.asp
+Requires(post,preun): /sbin/chkconfig
+Requires: rc-scripts
+ExclusiveArch: %{ix86}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
-3DM2 Management Utility for 3ware RAID controllers.
-It supports Escalade 7000/8000 series controlers and
-AMCC 3ware 9550SX/9590SE.
+3DM2 Management Utility for 3ware RAID controllers. It supports
+Escalade 7000/8000 series controlers and AMCC 3ware 9550SX/9590SE.
+
+%description -l pl
+Narzędzie 3DM2 do zarządzania kontrolerami RAID 3ware. Obsługuje
+kontrolery z serii Escalade 7000/8000 oraz AMCC 3ware 9550SX/9590SE.
%prep
%setup -q -c -n 3DM2
@@ -32,14 +38,15 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sbindir}
install -d $RPM_BUILD_ROOT%{_sysconfdir}/3dm2
-install -d $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d
+install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
install -d $RPM_BUILD_ROOT%{_datadir}/3dm2/msg
+
cp -a en $RPM_BUILD_ROOT%{_datadir}/3dm2
-cp *_msg_en $RPM_BUILD_ROOT%{_datadir}/3dm2/msg
-cp 3dm2.x86 $RPM_BUILD_ROOT%{_sbindir}/3dm2
-cp %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/rc.d/init.d/3dm2
+install *_msg_en $RPM_BUILD_ROOT%{_datadir}/3dm2/msg
+install 3dm2.x86 $RPM_BUILD_ROOT%{_sbindir}/3dm2
+install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/3dm2
-cat > $RPM_BUILD_ROOT/%{_sysconfdir}/3dm2/3dm2.conf << EOF
+cat > $RPM_BUILD_ROOT%{_sysconfdir}/3dm2/3dm2.conf << EOF
Port 888
EmailEnable 0
EmailSender [none]
@@ -53,8 +60,8 @@
Logger 0
Refresh 5
BGRate 3333333333333333
-MsgPath /usr/share/3dm2/msg
-Help /usr/share/3dm2/en
+MsgPath %{_datadir}/3dm2/msg
+Help %{_datadir}/3dm2/en
OEM 0
EOF
@@ -62,7 +69,6 @@
rm -rf $RPM_BUILD_ROOT
%post
-/sbin/ldconfig
/sbin/chkconfig --add 3dm2
%service 3dm2 restart "3DM2 Utility"
@@ -77,7 +83,7 @@
%doc version.3dm license.txt %{version}_Release_Notes_Web.pdf
%attr(755,root,root) %{_sbindir}/*
%dir %{_sysconfdir}/3dm2
-%attr(644,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3dm2/3dm2.conf
+%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3dm2/3dm2.conf
%dir %{_datadir}/3dm2
%dir %{_datadir}/3dm2/msg
%dir %{_datadir}/3dm2/en
@@ -88,7 +94,7 @@
%{_datadir}/3dm2/en/images/*.gif
%{_datadir}/3dm2/en/images/*.png
%{_datadir}/3dm2/en/images/*.jpg
-%attr(744,root,root) %{_sysconfdir}/rc.d/init.d/3dm2
+%attr(754,root,root) /etc/rc.d/init.d/3dm2
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -96,6 +102,8 @@
All persons listed below can be reached at <cvs_login>@pers.pl
$Log$
+Revision 1.2 2006/12/19 18:48:13 qboosh
+- pl, cleanup
+
Revision 1.1 2006/12/14 12:40:21 pascalek
- initrial release
-
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/3DM2-7000.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list