ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/free/rpms/rt2860/devel/rt2860.spec
Revision: 1.8
Committed: Sat May 23 16:16:36 2009 UTC (4 years ago) by oget
Branch: MAIN
CVS Tags: rt2860-2_1_2_0-1_fc11, F-11-split
Changes since 1.7: +6 -3 lines
Log Message:
* Sat May 23 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 2.1.2.0-1
- version update (2.1.2.0)

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