speedtouch/speedtouch.spec

71 lines
1.9 KiB
RPMSpec

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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 1.3.1-3mamba
- automatic rebuild by autodist
* Thu Nov 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-2mamba
- specfile updated and rebuilt
* Wed May 18 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3.1-1qilnx
- update to version 1.3.1 by autospec
* Fri Sep 17 2004 Silvan Calarco <silvan.calarco@mambasoft.it> 1.3-1qilnx
- first build