-%define fver 1_4
+%define fver 2_05
%define ver %(echo %{fver} | tr _ .)
-%define subver 20859
+%define subver 22932
Summary: Adaptec uniform command line interface
Summary(pl.UTF-8): Ujednolicony interfejs linii poleceń Adapteca
Name: arcconf
Version: %{ver}.%{subver}
-Release: 1
+Release: 2
Epoch: 1
License: Adaptec Downloadable Software License
Group: Base
# link from any lastest adaptec controller download
-Source0: http://download.adaptec.com/raid/storage_manager/%{name}_v1_4_%{subver}.zip
-# Source0-md5: 6c3d72fe83ff76e68a70fa59d92ae5f7
-URL: https://www.adaptec.com/en-us/downloads/storage_manager/sm/productid=asr-8805&dn=adaptec+raid+8805.html
-ExclusiveArch: %{ix86} %{x8664}
+Source0: http://download.adaptec.com/raid/storage_manager/%{name}_v%{fver}_%{subver}.zip
+# Source0-md5: 51a03b5fe08b45f229b2c73127c5c6ae
+URL: http://storage.microsemi.com/en-us/downloads/storage_manager/sm/productid=asr-81605zq&dn=adaptec+raid+81605zq.php
+ExclusiveArch: %{x8664}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _sbindir /sbin
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_sbindir}
-%ifarch %{x8664}
install -p linux_x64/cmdline/arcconf $RPM_BUILD_ROOT%{_sbindir}/arcconf
-%endif
-%ifarch %{ix86}
-install -p linux/cmdline/arcconf $RPM_BUILD_ROOT%{_sbindir}/arcconf
-%endif
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-#%doc README.TXT
%attr(755,root,root) %{_sbindir}/arcconf