Files
rt2860/rt2860.spec

84 lines
2.7 KiB
RPMSpec
Raw Normal View History

#
# spec file for package rt2860 (Version 1.8.0.0)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
%define SourceDir 2008_0918_RT2860_Linux_STA_v1.8.0.0
Name: rt2860
Version: 1.8.0.0
Release: 2
Summary: Userspace configuration files for rt2860 driver
Group: Hardware/Wifi
License: GPL v2 or later
Url: http://www.ralinktech.com/ralink/Home/Support/Linux.html
Source0: http://www.ralinktech.com.tw/data/drivers/%{SourceDir}.tar.bz2
Source1: http://www.ralinktech.com.tw/data/drivers/ReleaseNote-RT2860.txt
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Supplements: modalias(pci:v00001A3Bd00001059sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001814d00000781sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001814d00000701sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001814d00000681sv*sd*bc*sc*i*)
Supplements: modalias(pci:v00001814d00000601sv*sd*bc*sc*i*)
%description
This package contains a small configuration file of the rt2860 driver,
currently read by the kernel module. In later versions this will go
away.
Authors:
--------
Ralink Tech Inc.
%prep
%setup -q -n %{SourceDir}
iconv -f JOHAB -t UTF8 %{SOURCE1} -o ./ReleaseNotes
sed -i 's/\r//' ./ReleaseNotes
iconv -f JOHAB -t UTF8 README_STA -o README_STA
sed -i 's/\r//' README_STA
%build
echo "Nothing to build"
%install
install -dm 755 $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless
install -p -m 0644 RT2860STA.dat $RPM_BUILD_ROOT/%{_sysconfdir}/Wireless/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc ReleaseNotes README_STA iwpriv_usage.txt
%dir %{_sysconfdir}/Wireless
%config(noreplace) %{_sysconfdir}/Wireless/RT2860STA.dat
%changelog
* Fri Nov 07 2008 meissner@suse.de
- imported from opensuse buildservice, reviewed
- added supplements: for the modaliases, so it gets installed.
* Tue Oct 21 2008 claes.backstrom@fsfe.org
- New upstream version 1.8.0.0
- Add Release Notes document
* Sun Oct 05 2008 claes.backstrom@fsfe.org
- Changed name to rt2860-common
* Sat Oct 04 2008 claes.backstrom@fsfe.org
- Initial Package