[meego-commits] 7487: New package Trunk:Testing/usb-modeswitch-data
Wang Quanxian
no_reply at build.meego.com
Mon Sep 13 01:57:57 UTC 2010
Hi,
Adding new package usb-modeswitch-data in project Trunk:Testing. Please review and accept ASAP.
Justification for this new package:
Add package usb-modeswitch-data to fix bug #5663
Thank You,
Wang Quanxian
[This message was auto-generated]
---
Request #7487:
submit: home:quanxianwang/usb-modeswitch-data(r1) -> Trunk:Testing/usb-modeswitch-data
Message:
Add package usb-modeswitch-data to fix bug #5663
State: new 2010-09-12T18:57:57 quanxianwang
Comment: None
This is a NEW package in Trunk:Testing project.
The files in the new package:
usb-modeswitch-data/
|__ usb-modeswitch-data-20100817.tar.bz2
|__ usb-modeswitch-data.changes
|__ usb-modeswitch-data.spec
The content of the spec file, usb-modeswitch-data.spec:
===================================================================
%define source_name usb-modeswitch-data
Name: usb-modeswitch-data
Version: 20100817
Release: 1%{?dist}
Summary: USB Modeswitch gets 4G 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/%{name}/%{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.
%prep
%setup -q -n %{source_name}-%{version}
%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
%clean
rm -rf $RPM_BUILD_ROOT
%post
udevadm control --reload-rules
%postun
udevadm control --reload-rules
%files
%defattr(-,root,root,-)
/lib/udev/rules.d/40-usb_modeswitch.rules
%{_sysconfdir}/usb_modeswitch.d/
%doc ChangeLog COPYING README
===================================================================
More information about the MeeGo-commits
mailing list