%define name speedtouch %define version 1.2 %define release 6rh330rev4 %define beta 3 Summary: ALCATEL SpeedTouch USB ADSL modem user-space driver Name: %{name} Version: %{version} Release: %{release} Source: %{name}-%{version}-beta%{beta}.tar.bz2 Patch: modem_run.c.diff URL: http://speedtouch.sf.net License: GPL Group: System/Kernel and hardware BuildRoot: %{_tmppath}/%{name}-buildroot Requires: ppp %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 %setup -q -n speedtouch-%{version}-beta%{beta} %patch -p 1 %build %configure --enable-release --enable-syslog --enable-install=`whoami` %{__make} %install rm -rf $RPM_BUILD_ROOT %makeinstall install -d -m 755 %{buildroot}%{_datadir}/speedtouch/ install -d -m 755 %{buildroot}%{_sysconfdir} install -d -m 755 %{buildroot}%{_bindir} install -m 755 doc-linux/speedtouch.sh %{buildroot}%{_datadir}/speedtouch/ install -m 644 doc-linux/speedtouch.conf %{buildroot}%{_sysconfdir} ln -s %{_sbindir}/pppoa2 %{buildroot}%{_bindir}/pppoa2 ln -s %{_sbindir}/pppoa3 %{buildroot}%{_bindir}/pppoa3 #rm %{buildroot}%{_sysconfdir}/init.d/speedtouch %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %{_sbindir}/modem_run %{_sbindir}/pppoa* %{_bindir}/pppoa* %{_mandir}/man1/* %{_datadir}/speedtouch %config(noreplace) %{_sysconfdir}/speedtouch.conf %doc %{_docdir}/speedtouch %changelog * Tue Feb 10 2004 Leonard den Ottolander 1.2-6rh330rev4 - Added modem_run patch for use with 330 rev.4 - Do NOT use this version with anything but the 330 rev.4 * Fri Nov 21 2003 Leonard den Ottolander 1.2-6rh - Built from 1.2-beta3 (includes read_from_usb_thread patch) - Dropped Mandrake's config patch * Thu Oct 16 2003 Leonard den Ottolander 1.2-4rh - Built from CVS (2003-10-16) which incorporates report and dump patches - Slight modifications to usbpipe patch * Sun Sep 28 2003 Leonard den Ottolander 1.2-3rh-otest - Separate log levels in report(), independent of the state of REPORT_DUMP, cleanup of report() * Fri Sep 26 2003 Leonard den Ottolander 1.2-3rh_jtest - Added an extra verbosity level. We couldn't use dumping since the kernel would kill pppoa3, probably due to excessive logging, but this means we also lose other debug info. - Modifications to previous patch (reporting and other cleanup) * Wed Sep 24 2003 Leonard den Ottolander 1.2-3rh - patched with code received from Ok Overbeek (usbpipe patch) * Sun Jul 7 2003 Leonard den Ottolander 1.2-2rh - built with 1.2beta2 source * Tue Apr 2 2003 Leonard den Ottolander 1.2-1rh - built for Red Hat 7.3 * Mon Feb 10 2003 Damien Chaumette 1.2-1mdk - new version 1.2-beta1 * Sat Jan 11 2003 Damien Chaumette 1.1-2mdk - fix speedtouch.sh patch * Mon Dec 2 2002 Laurent Culioli 1.1-1mdk - 1.1 - regenerate patch - added backward compatibility symlinks for old binary location - clean specfile * Thu Aug 1 2002 Damien Chaumette 1.0-3mdk - add a new patch to fix wrong "failed" msg at connection start * Wed Feb 27 2002 dam's 1.0-2mdk - applied mandrake configuration to launch script * Wed Jan 23 2002 dam's 1.0-1mdk - patchs corrected - version 1.0 * Thu Sep 6 2001 dam's 0.01_20010815-5mdk - corrected bad rights * Sun Sep 2 2001 dam's 0.01_20010815-4mdk - new connection script * Tue Aug 28 2001 dam's 0.01_20010815-3mdk - adsl.sh -> speedtouch.sh * Fri Aug 24 2001 dam's 0.01_20010815-2mdk - added patch n°1 (script) * Fri Aug 17 2001 dam's 0.01-20010815-1mdk - 08.15.2001 version * Thu Jul 19 2001 dam's 0.01-1mdk - First mandrake package