]>
Commit | Line | Data |
---|---|---|
a924a6b2 AM |
1 | Summary: Adaptec uniform command line interface |
2 | Name: arcconf | |
5f7093b5 | 3 | Version: 5.50 |
a924a6b2 | 4 | Release: 1 |
5f7093b5 | 5 | License: Adaptec Downloadable Software License |
a924a6b2 | 6 | Group: Base |
5f7093b5 AM |
7 | Source0: http://www.obvious.co.nz/aacraid/arcconf/%{name}-5.5-b17523.tgz |
8 | # Source0-md5: 57780bff5d397dabea3ee2d937feac7d | |
a924a6b2 AM |
9 | # From adaptec CD, ver 5.20 |
10 | Source1: %{name}64 | |
11 | # Source1-md5: 140dfcade7c191d72970558a0177060a | |
12 | URL: http://linux.adaptec.com/ | |
13 | ExclusiveArch: %{ix86} %{x8664} | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %define _sbindir /sbin | |
17 | ||
18 | %description | |
19 | Adaptec Storage Manager Command Line Utility. | |
20 | ||
21 | Compatible Products: | |
22 | - Adaptec RAID 3085 | |
23 | - Adaptec RAID 31205 | |
24 | - Adaptec RAID 31605 | |
25 | - Adaptec RAID 3405 | |
26 | - Adaptec RAID 3805 | |
27 | ||
28 | %prep | |
e02389d6 | 29 | %setup -q -c |
a924a6b2 | 30 | %ifarch %{ix86} |
a924a6b2 AM |
31 | install linux/cmdline/arcconf . |
32 | %endif | |
33 | %ifarch %{x8664} | |
a924a6b2 AM |
34 | install %{SOURCE1} arcconf |
35 | %endif | |
36 | ||
37 | %build | |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT%{_sbindir} | |
42 | ||
43 | install arcconf $RPM_BUILD_ROOT%{_sbindir}/arcconf | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
50 | %attr(755,root,root) %{_sbindir}/* |