Name: rt2860 Version: 2.1.1.0 Release: 1%{?dist} Summary: Common files for RaLink 802.11 rt2860 driver Group: System Environment/Kernel License: GPLv2+ URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html Source0: http://www.ralinktech.com.tw/data/drivers/2009_0424_RT2860_Linux_STA_V%{version}.tgz Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2860.txt # To suspend properly (RPMFusion BZ#199) Source2: suspend.sh BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch Provides: %{name}-kmod-common = %{version} Requires: %{name}-kmod >= %{version} %description This package contains the documentation and configuration files for the Ralink Driver for WiFi, a linux device driver for 802.11a/b/g universal NIC cards - either PCI, PCIe or MiniPCI - that use Ralink chipsets (rt2760, rt2790, rt2860, rt2890). %prep %setup -q -n 2009_0424_RT2860_Linux_STA_V%{version} iconv -f JOHAB -t UTF8 %{SOURCE1} -o ./ReleaseNotes sed -i 's/\r//' ./ReleaseNotes touch -r %{SOURCE1} ./ReleaseNotes iconv -f JOHAB -t UTF8 README_STA -o README_STA.tmp sed 's/\r//' README_STA.tmp > README_STA.tmp2 touch -r README_STA README_STA.tmp2 mv -f README_STA.tmp2 README_STA chmod -x *iwpriv_usage.txt sed 's/\r//' sta_ate_iwpriv_usage.txt > sta_ate_iwpriv_usage.txt.tmp iconv -f JOHAB -t UTF8 sta_ate_iwpriv_usage.txt.tmp -o sta_ate_iwpriv_usage.txt.tmp2 touch -r sta_ate_iwpriv_usage.txt sta_ate_iwpriv_usage.txt.tmp2 mv -f sta_ate_iwpriv_usage.txt.tmp2 sta_ate_iwpriv_usage.txt %build echo "Nothing to build." %install rm -rf $RPM_BUILD_ROOT # buildsys sometimes fails without this: sleep 1m install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA install -pm 0644 RT2860STA*.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/ cp -a %{SOURCE2} . %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ReleaseNotes README_STA *iwpriv_usage.txt suspend.sh %dir %{_sysconfdir}/Wireless %dir %{_sysconfdir}/Wireless/RT2860STA %config(noreplace) %{_sysconfdir}/Wireless/RT2860STA/RT2860STA*.dat %changelog * Sat Apr 24 2009 Orcan Ogetbil - 2.1.1.0-1 - version update (2.1.1.0) * Mon Apr 20 2009 Orcan Ogetbil - 2.1.0.0-1 - version update (2.1.0.0) * Sun Mar 29 2009 Thorsten Leemhuis - 1.8.0.0-3 - rebuild for new F11 features * Tue Mar 10 2009 Orcan Ogetbil - 1.8.0.0-2 - Add suspend script (RPMFusion BZ#199) * Sat Oct 19 2008 Orcan Ogetbil - 1.8.0.0-1 - Version update (1.8.0.0) * Thu Oct 02 2008 Thorsten Leemhuis - 1.7.0-3 - rebuild for rpm fusion * Fri Sep 14 2008 Thorsten Leemhuis 1.7.0-2 - own /etc/Wireless (nothing else in Fedora owns it) - License is GPLv2+ * Fri Sep 05 2008 Thorsten Leemhuis 1.7.0-1 - Initial Version based on rt2860-kmod as submitted by James Bottomley