Accepting request 175822 from home:mvyskocil:branches:hardware

- drop /bin/eject from dependencies, it is no longer called
- install device_reference.txt as %doc
- use URL in all relevant Source tags
- drop obsoleted sections from spec

OBS-URL: https://build.opensuse.org/request/show/175822
OBS-URL: https://build.opensuse.org/package/show/hardware/usb_modeswitch?expand=0&rev=38
This commit is contained in:
Ismail Dönmez 2013-05-16 11:59:51 +00:00 committed by Git OBS Bridge
parent 667b43e94a
commit c2515e87f9
3 changed files with 3589 additions and 9 deletions

3575
device_reference.txt Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Thu May 16 07:18:38 UTC 2013 - mvyskocil@suse.com
- drop /bin/eject from dependencies, it is no longer called
- install device_reference.txt as %doc
- use URL in all relevant Source tags
- drop obsoleted sections from spec
-------------------------------------------------------------------
Mon Dec 3 12:34:50 UTC 2012 - p.drouand@gmail.com

View File

@ -32,15 +32,15 @@ Url: http://www.draisberghof.de/usb_modeswitch
%define source_name usb-modeswitch
%define date 20121109
Source0: http://www.draisberghof.de/usb_modeswitch/%{source_name}-%{version}.tar.bz2
Source1: %{source_name}-data-%{date}.tar.bz2
Source2: %{name}-data.rpmlintrc
Source1: http://www.draisberghof.de/usb_modeswitch/%{source_name}-data-%{date}.tar.bz2
Source2: http://www.draisberghof.de/usb_modeswitch/device_reference.txt
Source1000: %{name}-data.rpmlintrc
Patch1: huawei-timing.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: fdupes
BuildRequires: libusb-devel
BuildRequires: tcl
BuildRequires: udev
Requires: /bin/eject
Requires: tcl >= 8.4
Requires: usb_modeswitch-data = %version
@ -51,11 +51,6 @@ show up as USB storage initially to be switched into their more useful
"application mode". This is most common for UMTS/3G wireless WAN
devices.
Authors:
--------
Josua Dietze and others
%package data
Summary: Data Files for USB Modeswitch
Group: Hardware/Mobile
@ -69,6 +64,8 @@ Data files for usb_modeswitch package.
%setup -q -a1 -n %{source_name}-%{version}
%patch1 -p1 -d %{source_name}-data-%{date}
cp %{SOURCE2} .
%build
CFLAGS="%{optflags}" make
@ -80,7 +77,7 @@ cd %{source_name}-data-%{date}
%files
%defattr(-,root,root,-)
%doc README COPYING ChangeLog
%doc README COPYING ChangeLog device_reference.txt
%{_sbindir}/usb_modeswitch
%{_sbindir}/usb_modeswitch_dispatcher
%{_udevdir}/usb_modeswitch