]> git.pld-linux.org Git - packages/3DM2-7000.git/blame - 3DM2-7000.spec
- fixed Group
[packages/3DM2-7000.git] / 3DM2-7000.spec
CommitLineData
c16d015f 1Summary: 3DM2 Management Utility
e83abd9c 2Summary(pl.UTF-8): Narzędzie do zarządzania kontrolerami 3DM2
c16d015f 3Name: 3DM2-7000
4Version: 9.3.0.7
5Release: 1
46d0d90d 6License: commercial
560b23f3 7Group: Applications/System
c16d015f 8Source0: http://www.3ware.com/download/Escalade7000Series/%{version}/3DM2-Linux-%{version}.tgz
46d0d90d 9# NoSource0-md5: 49b699c1f26eac174df56c860ee7ff47
c16d015f 10NoSource: 0
11Source1: http://www.3ware.com/download/Escalade7000Series/%{version}/%{version}_Release_Notes_Web.pdf
46d0d90d 12# NoSource1-md5: b79add47a9d6905d7fdf611f063ca071
c16d015f 13NoSource: 1
14Source2: 3dm2-7000.init
46d0d90d
JB
15URL: http://www.3ware.com/products/raid_management.asp
16Requires(post,preun): /sbin/chkconfig
17Requires: rc-scripts
18ExclusiveArch: %{ix86}
c16d015f 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
46d0d90d
JB
223DM2 Management Utility for 3ware RAID controllers. It supports
23Escalade 7000/8000 series controlers and AMCC 3ware 9550SX/9590SE.
24
c5a15463
JR
25%description -l pl.UTF-8
26Narzędzie 3DM2 do zarządzania kontrolerami RAID 3ware. Obsługuje
46d0d90d 27kontrolery z serii Escalade 7000/8000 oraz AMCC 3ware 9550SX/9590SE.
c16d015f 28
29%prep
30%setup -q -c -n 3DM2
31tar -xvzf 3dm-lnx.tgz
32tar -xvzf 3dm-help.tgz
33tar -xvzf 3dm-msg.tgz
34cp %{SOURCE1} .
35
36%install
37rm -rf $RPM_BUILD_ROOT
38install -d $RPM_BUILD_ROOT%{_sbindir}
39install -d $RPM_BUILD_ROOT%{_sysconfdir}/3dm2
46d0d90d 40install -d $RPM_BUILD_ROOT/etc/rc.d/init.d
c16d015f 41install -d $RPM_BUILD_ROOT%{_datadir}/3dm2/msg
46d0d90d 42
c16d015f 43cp -a en $RPM_BUILD_ROOT%{_datadir}/3dm2
46d0d90d
JB
44install *_msg_en $RPM_BUILD_ROOT%{_datadir}/3dm2/msg
45install 3dm2.x86 $RPM_BUILD_ROOT%{_sbindir}/3dm2
46install %{SOURCE2} $RPM_BUILD_ROOT/etc/rc.d/init.d/3dm2
c16d015f 47
46d0d90d 48cat > $RPM_BUILD_ROOT%{_sysconfdir}/3dm2/3dm2.conf << EOF
c16d015f 49Port 888
50EmailEnable 0
51EmailSender [none]
52EmailServer [none]
53EmailRecipient [none]
54EmailSeverity 3
55ROpwd twOmwmsK8lKk2
56ADMINpwd twOmwmsK8lKk2
57RemoteAccess 0
58Language 0
59Logger 0
60Refresh 5
61BGRate 3333333333333333
46d0d90d
JB
62MsgPath %{_datadir}/3dm2/msg
63Help %{_datadir}/3dm2/en
c16d015f 64OEM 0
65EOF
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post
c16d015f 71/sbin/chkconfig --add 3dm2
72%service 3dm2 restart "3DM2 Utility"
73
74%preun
75if [ "$1" = "0" ]; then
76 /sbin/chkconfig --del 3dm2
77 %service 3dm2 stop
78fi
79
80%files
81%defattr(644,root,root,755)
82%doc version.3dm license.txt %{version}_Release_Notes_Web.pdf
83%attr(755,root,root) %{_sbindir}/*
84%dir %{_sysconfdir}/3dm2
46d0d90d 85%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/3dm2/3dm2.conf
c16d015f 86%dir %{_datadir}/3dm2
87%dir %{_datadir}/3dm2/msg
88%dir %{_datadir}/3dm2/en
89%dir %{_datadir}/3dm2/en/images
90%{_datadir}/3dm2/msg/*msg*
91%{_datadir}/3dm2/en/*.html
92%{_datadir}/3dm2/en/*.css
93%{_datadir}/3dm2/en/images/*.gif
94%{_datadir}/3dm2/en/images/*.png
95%{_datadir}/3dm2/en/images/*.jpg
46d0d90d 96%attr(754,root,root) /etc/rc.d/init.d/3dm2
This page took 0.080467 seconds and 4 git commands to generate.