|
@@ -1,48 +1,39 @@
|
|
|
-%define name ipw2200-firmware
|
|
|
-%define version 3.0
|
|
|
-%define release 3%{?_dist_release}
|
|
|
-
|
|
|
-Summary: Firmware for the Intel(R) PRO/Wireless 2200 Driver.
|
|
|
-Summary(ja): Intel(R) PRO/Wireless 2200 ドライバ用のファームウェア
|
|
|
-Name: %{name}
|
|
|
-Version: %{version}
|
|
|
-Release: %{release}
|
|
|
-Source0: ipw2200-fw-%{version}.tgz
|
|
|
-License: distributable
|
|
|
-Group: System Environment/Kernel
|
|
|
-URL: http://ipw2200.sourceforge.net/firmware.php
|
|
|
+Summary: Firmware for Intel® PRO/Wireless 2200 network adaptors
|
|
|
+Summary(ja): Intel® PRO/Wireless 2200 ドライバ用ファームウェア
|
|
|
+Name: ipw2200-firmware
|
|
|
+Version: 3.1
|
|
|
+Release: 1%{?_dist_release}
|
|
|
+
|
|
|
+License: Redistributable, no modification permitted
|
|
|
+Group: System Environment/Kernel
|
|
|
+URL: http://ipw2200.sourceforge.net/firmware.php
|
|
|
+
|
|
|
+# License agreement must be displayed before download (referer protection)
|
|
|
+Source0: ipw2200-fw-%{version}.tgz
|
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
BuildArch: noarch
|
|
|
-
|
|
|
+# This is so that the noarch packages only appears for these archs
|
|
|
+ExclusiveArch: noarch i386 x86_64
|
|
|
|
|
|
%description
|
|
|
-This package contains the firmware for the Intel(R) PRO/Wireless
|
|
|
-2200 driver. Usage of the firmware is subject to the terms
|
|
|
-contained in %{_datadir}/doc/%{name}-%{version}/LICENSE.ipw2200-fw.
|
|
|
-Please read the license carefully.
|
|
|
+This package contains the firmware files required by the ipw2200 driver for
|
|
|
+Linux. Usage of the firmware is subject to the terms and conditions contained
|
|
|
+in %{_datadir}/doc/%{name}-%{version}/LICENSE.ipw2200-fw. Please read it
|
|
|
+carefully.
|
|
|
|
|
|
%description -l ja
|
|
|
-このパッケージは Intel(R) PRO/Wireless 2200 ドライバ用の
|
|
|
-ファームウェアを含んでいます。ファームウェアの使用は
|
|
|
-%{_datadir}/doc/%{name}-%{version}/LICENSE.ipw2200-fw に含まれる
|
|
|
-内容により制限されています。
|
|
|
-このファームウェアを使用する場合はライセンスを必ず読んで
|
|
|
-ください。
|
|
|
+このパッケージは Linux 用 Intel® PRO/Wireless 2200 ドライバに必要なファームウェアを含んでいます。ファームウェアの使用は %{_datadir}/doc/%{name}-%{version}/LICENSE.ipw2200-fw に含まれる内容により制限されています。
|
|
|
+このファームウェアを使用する場合はライセンスを必ず読んでください。
|
|
|
|
|
|
%prep
|
|
|
-
|
|
|
-%setup -q -c
|
|
|
-
|
|
|
+%setup -q -n ipw2200-fw-%{version}
|
|
|
|
|
|
%install
|
|
|
-%__rm -rf ${RPM_BUILD_ROOT}
|
|
|
-#%__mkdir_p ${RPM_BUILD_ROOT}/%{_lib}/firmware
|
|
|
-#%__install -p -m644 ipw2200-fw-%{version}/*.fw ${RPM_BUILD_ROOT}/%{_lib}/firmware
|
|
|
-#%__install -p -m644 ipw2200-fw-%{version}/LICENSE.ipw2200-fw ${RPM_BUILD_ROOT}/%{_lib}/firmware/ipw2200-LICENSE.txt
|
|
|
-%__mkdir_p ${RPM_BUILD_ROOT}/lib/firmware
|
|
|
-%__install -p -m644 ipw2200-fw-%{version}/*.fw ${RPM_BUILD_ROOT}/lib/firmware
|
|
|
-%__install -p -m644 ipw2200-fw-%{version}/LICENSE.ipw2200-fw ${RPM_BUILD_ROOT}/lib/firmware/ipw2200-LICENSE.txt
|
|
|
+%__rm -rf $RPM_BUILD_ROOT
|
|
|
+%__mkdir_p $RPM_BUILD_ROOT/lib/firmware
|
|
|
+%__install -p -m644 *.fw $RPM_BUILD_ROOT/lib/firmware
|
|
|
+#__install -p -m644 LICENSE.ipw2200-fw $RPM_BUILD_ROOT/lib/firmware/ipw2200-LICENSE.txt
|
|
|
|
|
|
|
|
|
%clean
|
|
@@ -51,12 +42,15 @@ Please read the license carefully.
|
|
|
|
|
|
%files
|
|
|
%defattr(-,root,root)
|
|
|
-%doc ipw2200-fw-3.0/LICENSE.ipw2200-fw
|
|
|
-#/%{_lib}/firmware/*
|
|
|
+%doc LICENSE.ipw2200-fw
|
|
|
/lib/firmware/*
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
+* Wed Apr 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 3.1-1
|
|
|
+- updated to 3.1
|
|
|
+- built on current VineSeed
|
|
|
+
|
|
|
* Sun Apr 17 2011 Shu KONNO <owa@bg.wakwak.com> 3.0-3
|
|
|
- rebuilt with rpm-4.8.1-3
|
|
|
|