File nwfermi.spec of Package nwfermi
%define module_name nwfermi
Name: %{module_name}
Version: 0.6.5.0
Release: 1
Summary: Kernel Driver for the NextWindow Touch Screen
License: GPL
URL: http://www.fusionnetwork.us/index.php/articles/linux-tutorials/hp-touchsmart-300-touchscreen-linux-nextwindow-working/
Source: %module_name-%{version}.tar.bz2
Group: System/Kernel and hardware
BuildRequires: kernel-desktop, kernel-desktop-devel
%description
Kernel Driver for USB touchscreen chipset, Nextwindow Fermi touchscreen driver.
%prep
%setup -q
#sed -i -e '246,247d' -e '/err(/d' nw-fermi.c
%build
make
%install
KVERPATH=`uname -r`
install -Dpm744 nw-fermi.ko $RPM_BUILD_ROOT/lib/modules/$KVERPATH/kernel/drivers/input/touchscreen/nw-fermi.ko
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
/lib/modules/*
%changelog