75 lines
2.3 KiB
RPMSpec
75 lines
2.3 KiB
RPMSpec
Name: eagle-usb
|
|
Version: 2.3.3
|
|
Release: 2mamba
|
|
Summary: Utilities for Eagle driven usb modem
|
|
Group: System/Kernel and Hardware
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: http://www.eagle-usb.org
|
|
Source: http://baud123.free.fr/eagle-usb/eagle-usb-2.3/%{name}-%{version}.tar.bz2
|
|
Patch0: %{name}-2.3.3-kernel_test.patch
|
|
Patch1: %{name}-2.3.3-kernel_headers.patch
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
%description
|
|
This is an enhanced version of the Linux driver for DSL modems based on the Analog chipset Eagle 8051. The Sagem F@st 800 modem as well as USRobotics DSL modems are based on this chipset.
|
|
Depending on your setup/isp, you might also need ppp and/or a dhcp client.
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch0 -p1
|
|
%patch1 -p1
|
|
|
|
%build
|
|
%configure
|
|
# disable kernel driver build
|
|
sed -i "s|all: driver|all:|" driver/Makefile-2.6 driver/Makefile-2.4
|
|
sed -i "s|\(install: .*\) installdriver|\1|" driver/Makefile-2.6 driver/Makefile-2.4
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
%makeinstall
|
|
install -d %{buildroot}%{_mandir}
|
|
make -C doc install MANDIR=%{buildroot}%{_mandir}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ChangeLog LICENSE README
|
|
%{_sysconfdir}/hotplug/usb/eagle-usb
|
|
%{_sysconfdir}/init.d/eagle-usb
|
|
%{_sysconfdir}/sysconfig/network-scripts/net_cnx_down
|
|
%{_sysconfdir}/sysconfig/network-scripts/net_cnx_pg
|
|
%{_sysconfdir}/sysconfig/network-scripts/net_cnx_up
|
|
%dir %{_sysconfdir}/eagle-usb
|
|
%{_sysconfdir}/eagle-usb/*
|
|
%{_sbindir}/*
|
|
%{_datadir}/eagle-usb/lang/*
|
|
%{_datadir}/eagle-usb/dsp/*.bin
|
|
%{_mandir}/man8/*
|
|
|
|
%changelog
|
|
* Sat Aug 31 2013 Automatic Build System <autodist@mambasoft.it> 2.3.3-2mamba
|
|
- automatic rebuild by autodist
|
|
|
|
* Sun Nov 09 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.3-1mamba
|
|
- update to 2.3.3
|
|
|
|
* Wed May 18 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-3qilnx
|
|
- added firmware and other user tools
|
|
|
|
* Tue May 17 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-2qilnx
|
|
- added man pages
|
|
|
|
* Thu Apr 28 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.1-1qilnx
|
|
- package created by autospec
|