ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/rt2860/devel/rt2860.spec
Revision: 1.4
Committed: Sun Mar 29 14:01:53 2009 UTC (4 years, 1 month ago) by thl
Branch: MAIN
CVS Tags: rt2860-1_8_0_0-3_fc11
Changes since 1.3: +4 -1 lines
Log Message:
* Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.8.0.0-3
- rebuild for new F11 features

Line User Rev File contents
1 oget 1.2 %define SourceName 2008_0918_RT2860_Linux_STA_v1.8.0.0
2 thl 1.1
3 oget 1.2 Name: rt2860
4     Version: 1.8.0.0
5 thl 1.4 Release: 3%{?dist}
6 oget 1.2 Summary: Common files for RaLink 802.11 rt2860 driver
7     Group: System Environment/Kernel
8     License: GPLv2+
9     URL: http://www.ralinktech.com/ralink/Home/Support/Linux.html
10     Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceName}.tar.bz2
11     Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2860.txt
12 oget 1.3 # To suspend properly (RPMFusion BZ#199)
13     Source2: suspend.sh
14 oget 1.2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15    
16     BuildArch: noarch
17     Provides: %{name}-kmod-common = %{version}
18     Requires: %{name}-kmod >= %{version}
19 thl 1.1
20     %description
21     This package contains the documentation and configuration files for the Ralink
22 oget 1.2 Driver for WiFi, a linux device driver for 802.11a/b/g universal NIC cards -
23 thl 1.1 either PCI, PCIe or MiniPCI - that use Ralink chipsets (rt2760, rt2790, rt2860,
24     rt2890).
25    
26     %prep
27 oget 1.2 %setup -q -n %{SourceName}
28     iconv -f JOHAB -t UTF8 %{SOURCE1} -o ./ReleaseNotes
29     sed -i 's/\r//' ./ReleaseNotes
30     iconv -f JOHAB -t UTF8 README_STA -o README_STA
31     sed -i 's/\r//' README_STA
32 thl 1.1
33     %build
34 oget 1.2 echo "Nothing to build."
35 thl 1.1
36     %install
37     rm -rf $RPM_BUILD_ROOT
38 oget 1.2 install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA
39 oget 1.3 install -pm 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/RT2860STA/
40    
41     install -dm 755 $RPM_BUILD_ROOT/%{_datadir}/%{name}
42     install -pm 0755 %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/%{name}
43 thl 1.1
44     %clean
45     rm -rf $RPM_BUILD_ROOT
46    
47     %files
48     %defattr(-,root,root,-)
49 oget 1.2 %doc ReleaseNotes README_STA iwpriv_usage.txt
50     %dir %{_sysconfdir}/Wireless
51     %dir %{_sysconfdir}/Wireless/RT2860STA
52     %config(noreplace) %{_sysconfdir}/Wireless/RT2860STA/RT2860STA.dat
53 oget 1.3 %{_datadir}/%{name}
54 thl 1.1
55 oget 1.2 %changelog
56 thl 1.4 * Sun Mar 29 2009 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.8.0.0-3
57     - rebuild for new F11 features
58    
59 oget 1.3 * Tue Mar 10 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-2
60     - Add suspend script (RPMFusion BZ#199)
61    
62     * Sat Oct 19 2008 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.8.0.0-1
63 oget 1.2 - Version update (1.8.0.0)
64 thl 1.1
65 oget 1.2 * Thu Oct 02 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> - 1.7.0-3
66 thl 1.1 - rebuild for rpm fusion
67    
68     * Fri Sep 14 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.7.0-2
69     - own /etc/Wireless (nothing else in Fedora owns it)
70 oget 1.2 - License is GPLv2+
71 thl 1.1
72     * Fri Sep 05 2008 Thorsten Leemhuis <fedora [AT] leemhuis [DOT] info> 1.7.0-1
73     - Initial Version based on rt2860-kmod as submitted by James Bottomley