Add usb_modeswitch.sh udev script and move Tcl dispatcher script to
sbindir, resolves rhbz#782614, patch from Dominic Cleal Fix bus/device-based search, from deb#656248
This commit is contained in:
parent
df1647c66f
commit
b7e2c7ea8c
@ -2,7 +2,7 @@
|
||||
|
||||
Name: usb_modeswitch
|
||||
Version: 1.2.2
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: USB Modeswitch gets mobile broadband cards in operational mode
|
||||
Summary(de): USB Modeswitch aktiviert UMTS-Karten
|
||||
Group: Applications/System
|
||||
@ -48,15 +48,17 @@ mkdir -p $RPM_BUILD_ROOT%{_mandir}/man1
|
||||
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}
|
||||
|
||||
install -p -m 755 usb_modeswitch $RPM_BUILD_ROOT%{_sbindir}/
|
||||
install -p -m 755 usb_modeswitch.tcl $RPM_BUILD_ROOT%{_sbindir}/usb_modeswitch_dispatcher
|
||||
install -p -m 644 usb_modeswitch.conf $RPM_BUILD_ROOT%{_sysconfdir}/
|
||||
gzip -9c usb_modeswitch.1 > usb_modeswitch.1.gz && install -m 644 usb_modeswitch.1.gz $RPM_BUILD_ROOT%{_datadir}/man/man1
|
||||
install -p -m 755 usb_modeswitch.tcl $RPM_BUILD_ROOT/lib/udev/usb_modeswitch
|
||||
install -p -m 755 usb_modeswitch.sh $RPM_BUILD_ROOT/lib/udev/usb_modeswitch
|
||||
|
||||
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%{_sbindir}/usb_modeswitch
|
||||
%{_sbindir}/usb_modeswitch_dispatcher
|
||||
%{_mandir}/man1/usb_modeswitch.1.gz
|
||||
/lib/udev/usb_modeswitch
|
||||
%config(noreplace) %{_sysconfdir}/usb_modeswitch.conf
|
||||
@ -64,6 +66,11 @@ install -p -m 755 usb_modeswitch.tcl $RPM_BUILD_ROOT/lib/udev/usb_modeswitch
|
||||
|
||||
|
||||
%changelog
|
||||
* Wed Jan 25 2012 Huzaifa Sidhpurwala <huzaifas@redhat.com> 1.2.2-2
|
||||
- Add usb_modeswitch.sh udev script and move Tcl dispatcher script to sbindir,
|
||||
resolves rhbz#782614, patch from Dominic Cleal
|
||||
- Fix bus/device-based search, from deb#656248
|
||||
|
||||
* Fri Jan 20 2012 Huzaifa Sidhpurwala <huzaifas@redhat.com> 1.2.2-1
|
||||
- New upstream version 1.2.2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user