source: projects/specs/trunk/u/usb-modeswitch-data/usb-modeswitch-data-vl.spec @ 10627

Revision 10627, 1.8 KB checked in by tomop, 8 years ago (diff)

usb-modeswitch-data-20160612-1

Line 
1Name:           usb-modeswitch-data
2Version:        20160612
3Release:        1%{?_dist_release}
4Summary:        USB Modeswitch gets 4G cards in operational mode
5Group:          Applications/System
6License:        GPLv2+
7URL:            http://www.draisberghof.de/usb_modeswitch/
8
9Vendor:         Project Vine
10Distribution:   Vine Linux
11
12Source0:        http://www.draisberghof.de/%{name}/%{name}-%{version}.tar.bz2
13BuildArch:      noarch
14Requires:       udev
15Requires:       usb-modeswitch >= 1.1.2
16
17%description
18USB Modeswitch brings up your datacard into operational mode. When plugged
19in they identify themselves as cdrom and present some non-Linux compatible
20installation files. This tool deactivates this cdrom-devices and enables
21the real communication device. It supports most devices built and
22sold by Huawei, T-Mobile, Vodafone, Option, ZTE, Novatel.
23
24This package contains the data files needed for usb_modeswitch to function.
25
26%prep
27%setup -q -n %{name}-%{version}
28
29
30%install
31rm -rf $RPM_BUILD_ROOT
32mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
33mkdir -p $RPM_BUILD_ROOT/lib/udev/rules.d/
34
35install -p -m 644  usb_modeswitch.d/* $RPM_BUILD_ROOT%{_sysconfdir}/usb_modeswitch.d/
36install -p -m 644 40-usb_modeswitch.rules $RPM_BUILD_ROOT/lib/udev/rules.d
37
38%clean
39rm -rf $RPM_BUILD_ROOT
40
41%post
42udevadm control --reload ||:
43
44%postun
45udevadm control --reload ||:
46
47%files
48%defattr(-,root,root,-)
49%license COPYING
50%doc ChangeLog README
51/lib/udev/rules.d/40-usb_modeswitch.rules
52%{_sysconfdir}/usb_modeswitch.d/
53
54%changelog
55* Sat Jul 16 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 20160612-1
56- new upstream release.
57
58* Thu Apr 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 20100418-1
59- initial build for Vine Linux
60
61* Tue Apr 20 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100418-2
62- Remove buildroot, make package noarch
63
64* Tue Apr 20 2010 Huzaifa Sidhpurwala <huzaifas@redhat.com> 20100418-1
65- First build
Note: See TracBrowser for help on using the repository browser.