b3002d21bb
Update spec to match current guidelines Some spec file fixes from Alexander Todorov. Resolves rhbz#632559 Drop patch
89 lines
2.8 KiB
RPMSpec
89 lines
2.8 KiB
RPMSpec
%define source_name usb-modeswitch-data
|
|
|
|
Name: usb_modeswitch-data
|
|
Version: 20110227
|
|
Release: 1%{?dist}
|
|
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
|
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
|
Group: Applications/System
|
|
License: GPLv2+
|
|
URL: http://www.draisberghof.de/usb_modeswitch/
|
|
Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2
|
|
BuildArch: noarch
|
|
Requires: tcl
|
|
Requires: udev
|
|
Requires: usb_modeswitch >= 1.1.2
|
|
|
|
|
|
%description
|
|
USB Modeswitch brings up your datacard into operational mode. When plugged
|
|
in they identify themselves as cdrom and present some non-Linux compatible
|
|
installation files. This tool deactivates this cdrom-devices and enables
|
|
the real communication device. It supports most devices built and
|
|
sold by Huawei, T-Mobile, Vodafone, Option, ZTE, Novatel.
|
|
|
|
This package contains the data files needed for usb_modeswitch to function.
|
|
|
|
%description -l de
|
|
USB Modeswitch deaktiviert die CDROM-Emulation einiger UMTS-Karten.
|
|
Dadurch erkennt Linux die Datenkarte und kann damit Internet-
|
|
Verbindungen aufbauen. Die gängigen Karten von Huawei, T-Mobile,
|
|
Vodafone, Option, ZTE und Novatell werden unterstützt.
|
|
|
|
Dieses Paket enthält die Dateien für usb_modeswitch benötigt
|
|
um zu funktionieren.
|
|
|
|
|
|
%prep
|
|
%setup -q -n %{source_name}-%{version}
|
|
|
|
%build
|
|
|
|
%install
|
|
rm -rf $RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
|
|
mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d/
|
|
|
|
install -p -m 644 usb_modeswitch.d/* $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
|
|
install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT/lib/udev/rules.d
|
|
|
|
%post
|
|
udevadm control --reload-rules
|
|
|
|
%postun
|
|
udevadm control --reload-rules
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
/lib/udev/rules.d/40-usb_modeswitch.rules
|
|
%config(noreplace) %{_sysconfdir}/usb_modeswitch.d/
|
|
%doc ChangeLog COPYING README
|
|
|
|
%changelog
|
|
* Mon Mar 28 2011 Rahul Sundaram <sundaram@fedoraproject.org> 20110227-1
|
|
- New upstream release. Resolves rhbz#654800
|
|
- Update spec to match current guidelines
|
|
- Some spec file fixes from Alexander Todorov. Resolves rhbz#632559
|
|
- Drop patch
|
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20101222-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
* Thu Dec 30 2010 Dan Williams <dcbw@redhat.com> 20101222-1
|
|
- New upstream
|
|
|
|
* Tue Aug 24 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100817-1
|
|
- New upstream
|
|
|
|
* Thu Aug 12 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100707-1
|
|
- New upstream
|
|
|
|
* Tue Jun 22 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100621-1
|
|
- New upstream
|
|
|
|
* Tue Apr 20 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100418-2
|
|
- Remove buildroot, make package noarch
|
|
|
|
* Tue Apr 20 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100418-1
|
|
- First build
|