From c4d7e13ed71f04bf3f174033ca66e8473fdb3fe1 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 18:03:22 +0100 Subject: [PATCH] automatic rebuild by autodist [release 1.3.1-3mamba;Sat Aug 31 2013] --- README.md | 4 +++ speedtouch-1.3.1-gcc43.patch | 16 +++++++++ speedtouch.spec | 70 ++++++++++++++++++++++++++++++++++++ 3 files changed, 90 insertions(+) create mode 100644 speedtouch-1.3.1-gcc43.patch create mode 100644 speedtouch.spec diff --git a/README.md b/README.md index a35b425..b51f360 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,6 @@ # speedtouch +ALCATEL SpeedTouch USB ADSL modem user-space driver. +This package contains all the necessary software to use your SpeedTouch USB modem under Linux. +It currently support only PPPoA encapsulation. + diff --git a/speedtouch-1.3.1-gcc43.patch b/speedtouch-1.3.1-gcc43.patch new file mode 100644 index 0000000..c0aa53c --- /dev/null +++ b/speedtouch-1.3.1-gcc43.patch @@ -0,0 +1,16 @@ +Only in speedtouch-1.3.1: bin +Only in speedtouch-1.3.1.orig/src: crc.o +Only in speedtouch-1.3.1.orig/src: firmware.o +diff -ru speedtouch-1.3.1.orig/src/modem_run.c speedtouch-1.3.1/src/modem_run.c +--- speedtouch-1.3.1.orig/src/modem_run.c 2004-09-29 22:56:31.000000000 +0200 ++++ speedtouch-1.3.1/src/modem_run.c 2008-11-20 18:17:30.000000000 +0100 +@@ -91,7 +91,7 @@ + * Global variables + ******************************************************************************/ + +-static int verbose = 0; ++int verbose = 0; + FILE *flog = NULL; + + /***************************************************************************** +Only in speedtouch-1.3.1.orig/src: pusb.o diff --git a/speedtouch.spec b/speedtouch.spec new file mode 100644 index 0000000..578a6b9 --- /dev/null +++ b/speedtouch.spec @@ -0,0 +1,70 @@ +Name: speedtouch +Version: 1.3.1 +Release: 3mamba +Summary: ALCATEL SpeedTouch USB ADSL modem user-space driver +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://speedtouch.sourceforge.net +Source: http://downloads.sourceforge.net/sourceforge/speedtouch/speedtouch-%{version}.tar.bz2 +Patch0: %{name}-1.3.1-gcc43.patch +License: GPL +BuildRequires: libusb-devel >= 0.1.8 +BuildRequires: libatm-devel >= 2.4.1 +Requires: ppp >= 2.4.1 +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: ppp-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ALCATEL SpeedTouch USB ADSL modem user-space driver. +This package contains all the necessary software to use your SpeedTouch USB modem under Linux. +It currently support only PPPoA encapsulation. + +%prep +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%setup -q +%patch0 -p1 + +%build +%configure \ + --enable-install=$USER +%make + +%install +%makeoldinstall +install -d %{_buildroot}%{_sysconfdir}/speedtouch + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%doc ChangeLog COPYING INSTALL INSTALL.txt.fr TODO VERSION +%dir %{_sysconfdir}/speedtouch +%{_sysconfdir}/hotplug/usb/* +%{_bindir}/* +%{_sbindir}/* +%dir %{_datadir}/doc/ +%{_datadir}/doc/speedtouch/* +%{_mandir}/man1/* +%{_mandir}/man8/* +%dir %{_datadir}/speedtouch +%{_datadir}/speedtouch/* + +%changelog +* Sat Aug 31 2013 Automatic Build System 1.3.1-3mamba +- automatic rebuild by autodist + +* Thu Nov 20 2008 Silvan Calarco 1.3.1-2mamba +- specfile updated and rebuilt + +* Wed May 18 2005 Silvan Calarco 1.3.1-1qilnx +- update to version 1.3.1 by autospec + +* Fri Sep 17 2004 Silvan Calarco 1.3-1qilnx +- first build