File eciadsl-usermode.spec of Package eciadsl-usermode

#
# spec file for package eciadsl-usermode (Version 0.11)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org
#

# norootforbuild

Name:         eciadsl-usermode
URL:          http://eciadsl.flashtux.org
Summary:      A Beta-Quality Usermode Driver for the ECI ADSL USB Modem
Version:      0.11
Release:      1
License:      GPL
Group:        Hardware/Other
Source0:      %name-%version.tar.bz2
Source1:      eciadsl-synch_bin.tar.bz2
Patch1:       eciadsl.patch
Patch2:       eciadsl-kernel-header.patch
BuildRoot:    %{_tmppath}/%{name}-%{version}-build
Prefix:       /usr

%description
This package contains the driver for the ECI Hi-Focus ADSL USB modem.
It also supports many USB ADSL modems based on the Globespan chipset.
It is not a kernel module. It is a user-mode program that handles the
modem. A kernel module is under development.



Authors:
--------
    David Faure <david@mandrakesoft.com>
    Benoit PAPILLAULT <benoit.papillault@free.fr>

%prep
%setup -q -T -b 0 -a 1
%patch1
%patch2

%build
	export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
	./configure --prefix=%_prefix
	make

%install
	make DESTDIR=%buildroot install
        cp eciadsl-synch_bin/* %buildroot/etc/eciadsl

%post
echo "Now you need to configure the driver. Please read the README"
echo "and INSTALL files located in /usr/share/doc/packages/eciadsl-usermode."

%files
%defattr(-,root,root)
%_prefix/bin/*
%config(noreplace) /etc/eciadsl
%doc README* INSTALL* TROUBLESHOOTING* BUGS TODO rc.adsl

%clean
	rm -rf %buildroot

%changelog -n eciadsl-usermode
* Wed Jan 25 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 05 2006 - max@suse.de
- New version: 0.11
* Wed Oct 05 2005 - dmueller@suse.de
- add norootforbuild
* Thu Jul 21 2005 - max@suse.de
- New version: 0.10
* Wed Sep 29 2004 - max@suse.de
- Corrected path to docu in %%post output [Bug #46484].
* Fri Sep 10 2004 - schwab@suse.de
- Remove gratuitous use of kernel headers.
* Tue Mar 09 2004 - max@suse.de
- Update to CVS snapshot for kernel 2.6 support.
* Thu Aug 14 2003 - max@suse.de
- New package: eciadsl
- Needed for certain USB DSL modems in France, Italy, UK, etc.
openSUSE Build Service is sponsored by