usb_modeswitch-data/usb_modeswitch-data.spec

141 lines
4.8 KiB
RPMSpec
Raw Normal View History

2010-04-21 06:06:11 +00:00
%define source_name usb-modeswitch-data
Name: usb_modeswitch-data
2014-11-24 19:05:38 +00:00
Version: 20140529
Release: 1%{?dist}
Summary: USB Modeswitch gets mobile broadband cards in operational mode
2010-04-21 06:06:11 +00:00
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
2010-04-21 06:06:11 +00:00
BuildArch: noarch
2014-04-16 13:46:12 +00:00
BuildRequires: systemd
Requires: systemd
2012-04-24 19:43:11 +00:00
# 1.2.3-1 removes the requirement on TCL which was mistakenly
# in the -data package, so require 1.2.3-1 to ensure that both
# usb_modeswitch and -data agree on whether TCL is needed or not
2012-11-13 10:10:31 +00:00
Requires: usb_modeswitch >= 1.2.5
2010-04-21 06:06:11 +00:00
2010-04-21 06:06:11 +00:00
%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
2010-04-21 06:06:11 +00:00
%install
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
2013-08-26 15:50:42 +00:00
mkdir -p $RPM_BUILD_ROOT%{_udevrulesdir}
2010-04-21 06:06:11 +00:00
install -p -m 644 usb_modeswitch.d/* $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
2013-08-26 15:50:42 +00:00
install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT%{_udevrulesdir}
2010-04-21 06:06:11 +00:00
%post
udevadm control --reload-rules || :
2010-04-21 06:06:11 +00:00
%postun
udevadm control --reload-rules || :
2010-04-21 06:06:11 +00:00
%files
2013-08-26 15:50:42 +00:00
%{_udevrulesdir}/40-usb_modeswitch.rules
%config(noreplace) %{_sysconfdir}/usb_modeswitch.d/
2010-04-21 06:06:11 +00:00
%doc ChangeLog COPYING README
%changelog
2014-11-24 19:05:38 +00:00
* Mon Nov 24 2014 Till Maas <opensource@till.name> - 20140529-1
- New upstream release
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20140327-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2014-04-16 13:46:12 +00:00
* Wed Apr 16 2014 Peter Robinson <pbrobinson@fedoraproject.org> 20140327-1
- New upstream release
2013-11-22 15:12:57 +00:00
* Fri Nov 22 2013 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 20131113-1
- New upstream release
2013-08-26 15:50:42 +00:00
* Mon Aug 26 2013 Dan Williams <dcbw@redhat.com> - 20130807-1
- Fix udev rules path
2013-08-16 17:17:01 +00:00
* Fri Aug 16 2013 Dan Williams <dcbw@redhat.com> - 20130807-1
- New upstream release
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20130610-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2013-06-12 06:44:33 +00:00
* Wed Jun 12 2013 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 20130610-1
- New upstream release
* Fri Feb 15 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20121109-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2012-11-13 10:10:31 +00:00
* Tue Nov 13 2012 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 20121109-1
- New upstream release. Resolves rhbz#875833
2012-08-24 06:17:34 +00:00
* Fri Aug 24 2012 Huzaifa Sidhpurwala <huzaifas@redhat.com> - 20120815-1
- New upstream release. Resolves rhbz#847681
* Sun Jul 22 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20120531-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Mon Jun 18 2012 Dan Williams <dcbw@redhat.com> 20120531-1
- New upstream data release
- Handle failure of udevadm control --reload-rules (rh #824849)
2012-04-24 19:43:11 +00:00
* Tue Apr 24 2012 Dan Williams <dcbw@redhat.com> 20120120-1
- New upstream release.
- Remove dep on TCL since nothing in the package requires it
* Tue Oct 25 2011 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20111023-1
- New upstream release.
2011-07-25 05:32:35 +00:00
* Mon Jul 25 2011 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20110714-1
- New upstream release. Resolves rhbz#714648
* 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
2010-08-24 10:54:31 +00:00
* Tue Aug 24 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100817-1
- New upstream
2010-08-12 05:05:39 +00:00
* Thu Aug 12 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100707-1
- New upstream
2010-06-22 05:04:17 +00:00
* Tue Jun 22 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100621-1
- New upstream
2010-06-22 05:04:17 +00:00
2010-04-21 06:06:11 +00:00
* 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