packages: usb-modeswitch/usb-modeswitch-makefile.patch, usb-modeswitch/usb-...

qboosh qboosh at pld-linux.org
Sun Jul 31 20:40:57 CEST 2011


Author: qboosh                       Date: Sun Jul 31 18:40:57 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- pl

---- Files affected:
packages/usb-modeswitch:
   usb-modeswitch-makefile.patch (1.3 -> 1.4) , usb-modeswitch.spec (1.8 -> 1.9) 

---- Diffs:

================================================================
Index: packages/usb-modeswitch/usb-modeswitch-makefile.patch
diff -u packages/usb-modeswitch/usb-modeswitch-makefile.patch:1.3 packages/usb-modeswitch/usb-modeswitch-makefile.patch:1.4
--- packages/usb-modeswitch/usb-modeswitch-makefile.patch:1.3	Thu Apr 28 12:28:11 2011
+++ packages/usb-modeswitch/usb-modeswitch-makefile.patch	Sun Jul 31 20:40:52 2011
@@ -1,15 +1,15 @@
---- usb-modeswitch-1.1.7/Makefile.makefile	2011-02-23 00:07:38.000000000 +0100
-+++ usb-modeswitch-1.1.7/Makefile	2011-04-28 12:08:16.000000000 +0200
-@@ -2,6 +2,8 @@ PROG        = usb_modeswitch
- VERS        = 1.1.7
+--- usb-modeswitch-1.1.8/Makefile.orig	2011-06-15 00:01:41.000000000 +0200
++++ usb-modeswitch-1.1.8/Makefile	2011-07-31 20:32:17.556662528 +0200
+@@ -2,6 +2,8 @@
+ VERS        = 1.1.8
  CC          = gcc
  CFLAGS      += -Wall
-+CPPFLAGS    = $(NULL)
-+LDFLAGS     = $(NULL)
++CPPFLAGS    =
++LDFLAGS     =
  LIBS        = -l usb
  RM          = /bin/rm -f
  OBJS        = usb_modeswitch.c
-@@ -16,7 +18,7 @@ MANDIR      = $(PREFIX)/share/man/man1
+@@ -16,13 +18,13 @@
  all:        $(PROG)
  
  $(PROG): $(OBJS)
@@ -18,3 +18,10 @@
  
  clean:
  	$(RM) usb_modeswitch
+ 
+ install: all
+-	install -D -s --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
++	install -D --mode=755 usb_modeswitch $(SBINDIR)/usb_modeswitch
+ 	install -D --mode=755 usb_modeswitch.tcl $(SBINDIR)/usb_modeswitch_dispatcher
+ 	install -D --mode=755 usb_modeswitch.sh $(UDEVDIR)/usb_modeswitch
+ 	install -D --mode=644 usb_modeswitch.conf $(ETCDIR)/usb_modeswitch.conf

================================================================
Index: packages/usb-modeswitch/usb-modeswitch.spec
diff -u packages/usb-modeswitch/usb-modeswitch.spec:1.8 packages/usb-modeswitch/usb-modeswitch.spec:1.9
--- packages/usb-modeswitch/usb-modeswitch.spec:1.8	Fri Jul  1 19:51:39 2011
+++ packages/usb-modeswitch/usb-modeswitch.spec	Sun Jul 31 20:40:52 2011
@@ -1,5 +1,6 @@
 # $Revision$, $Date$
 Summary:	Switching tool for controlling "flip flop" USB devices
+Summary(pl.UTF-8):	Narzędzie do sterowania przełączającymi się urządzeniami USB
 Name:		usb-modeswitch
 Version:	1.1.8
 Release:	1
@@ -9,19 +10,27 @@
 # Source0-md5:	1aaaa45e0465843e4973d7778bfbafbb
 Patch0:		%{name}-makefile.patch
 URL:		http://www.draisberghof.de/usb_modeswitch/
-BuildRequires:	libusb-compat-devel
+BuildRequires:	libusb-compat-devel >= 0.1
 Requires:	tcl >= 8.4
 Suggests:	usb-modeswitch-data
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 USB Modeswitch brings up your datacard into operational mode. When
-plugged in they identify themselves as cdrom and present some
+plugged in they identify themselves as CD-ROM 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.
 
+%description -l pl.UTF-8
+USB Modeswitch potrafi przełączyć pewne urządzenia komunikacyjne w
+tryb operacyjny. Takie urządzenia po podłączeniu identyfikują się jako
+CD-ROM i oferują jedynie niezgodne z Linuksem pliki instalacyjne. To
+narzędzie wyłącza emulację CD i włącza prawdziwe urządzenie
+komunikacjne. Obsługuje większość urządzeń wytworzonych i oferowanych
+przez firmy Huawei, T-Mobile, Vodafone, Option, ZTE, Novatel.
+
 %prep
 %setup -q
 %patch0 -p1
@@ -59,6 +68,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.9  2011/07/31 18:40:52  qboosh
+- pl
+
 Revision 1.8  2011/07/01 17:51:39  megabajt
 - updated to 1.1.8
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/usb-modeswitch/usb-modeswitch-makefile.patch?r1=1.3&r2=1.4&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/usb-modeswitch/usb-modeswitch.spec?r1=1.8&r2=1.9&f=u



More information about the pld-cvs-commit mailing list