From b5bbca047eb85f3366d16be1c2c5d5c55cd47809 Mon Sep 17 00:00:00 2001 From: Huzaifa Sidhpurwala Date: Wed, 21 Apr 2010 05:49:27 +0000 Subject: [PATCH 1/4] Initialize branch F-12 for usb_modeswitch-data --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..06de2d2 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-12 From bd6b7a1ba5ea379c1a60e42dbc9d7f8f4b770052 Mon Sep 17 00:00:00 2001 From: Huzaifa Sidhpurwala Date: Wed, 21 Apr 2010 06:11:01 +0000 Subject: [PATCH 2/4] first commit --- .cvsignore | 1 + import.log | 1 + sources | 1 + usb_modeswitch-data.spec | 68 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+) create mode 100644 import.log create mode 100644 usb_modeswitch-data.spec diff --git a/.cvsignore b/.cvsignore index e69de29..d76dccc 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +usb-modeswitch-data-20100418.tar.bz2 diff --git a/import.log b/import.log new file mode 100644 index 0000000..0a3fd20 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +usb_modeswitch-data-20100418-2_fc12:F-12:usb_modeswitch-data-20100418-2.fc12.src.rpm:1271830061 diff --git a/sources b/sources index e69de29..4d871ad 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +659c9633513fa2f84465244a50c351b3 usb-modeswitch-data-20100418.tar.bz2 diff --git a/usb_modeswitch-data.spec b/usb_modeswitch-data.spec new file mode 100644 index 0000000..c0e517b --- /dev/null +++ b/usb_modeswitch-data.spec @@ -0,0 +1,68 @@ +%define source_name usb-modeswitch-data + +Name: usb_modeswitch-data +Version: 20100418 +Release: 2%{?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. + +%description -l de +USB Modeswitch deaktiviert die CDROM-Emulation einiger UMTS-Karten. +Dadurch erkennt Linux die Datenkarte und kann damit Internet- +Verbindungen aufbauen. Die gängigen Karten von Huawei, T-Mobile, +Vodafone, Option, ZTE und Novatell werden unterstützt. + +Dieses Paket enthält die Dateien für usb_modeswitch benötigt +um zu funktionieren. + + +%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 + +%changelog +* Tue Apr 20 2010 Huzaifa Sidhpurwala 20100418-2 +- Remove buildroot, make package noarch + +* Tue Apr 20 2010 Huzaifa Sidhpurwala 20100418-1 +- First build From a9ef6ef4df0714691637c57d6df8b6b4f2a1dd4e Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 14:47:45 +0000 Subject: [PATCH 3/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - import.log | 1 - 4 files changed, 23 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch delete mode 100644 import.log diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index bc44b3d..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: usb_modeswitch-data -# $Id$ -NAME := usb_modeswitch-data -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 06de2d2..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-12 diff --git a/import.log b/import.log deleted file mode 100644 index 0a3fd20..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -usb_modeswitch-data-20100418-2_fc12:F-12:usb_modeswitch-data-20100418-2.fc12.src.rpm:1271830061 From ab03b7afacaf5126df91eb3a7e0b428945619979 Mon Sep 17 00:00:00 2001 From: Huzaifa Sidhpurwala Date: Tue, 24 Aug 2010 16:28:04 +0530 Subject: [PATCH 4/4] new upstream --- .gitignore | 1 + sources | 1 + usb_modeswitch-data.spec | 13 +++++++++++-- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index d76dccc..19fbae3 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ usb-modeswitch-data-20100418.tar.bz2 +usb-modeswitch-data-20100817.tar.bz2 diff --git a/sources b/sources index 4d871ad..cc349b1 100644 --- a/sources +++ b/sources @@ -1 +1,2 @@ 659c9633513fa2f84465244a50c351b3 usb-modeswitch-data-20100418.tar.bz2 +ec177e3b48b7b2211cd8dbc7ebcfa863 usb-modeswitch-data-20100817.tar.bz2 diff --git a/usb_modeswitch-data.spec b/usb_modeswitch-data.spec index c0e517b..af0db98 100644 --- a/usb_modeswitch-data.spec +++ b/usb_modeswitch-data.spec @@ -1,8 +1,8 @@ %define source_name usb-modeswitch-data Name: usb_modeswitch-data -Version: 20100418 -Release: 2%{?dist} +Version: 20100817 +Release: 1%{?dist} Summary: USB Modeswitch gets 4G cards in operational mode Summary(de): USB Modeswitch aktiviert UMTS-Karten Group: Applications/System @@ -61,6 +61,15 @@ udevadm control --reload-rules %doc ChangeLog COPYING README %changelog +* Tue Aug 24 2010 Huzaifa Sidhpurwala 20100817-1 +- New upstream + +* Thu Aug 12 2010 Huzaifa Sidhpurwala 20100707-1 +- New upstream + +* Tue Jun 22 2010 Huzaifa Sidhpurwala 20100621-1 +- New upstream + * Tue Apr 20 2010 Huzaifa Sidhpurwala 20100418-2 - Remove buildroot, make package noarch