File kndiswrapper.spec of Package kndiswrapper

Name: 		kndiswrapper
Version: 	0.2.5
Release: 	1
License: 	GPL
Summary: 	KDE
Group: 		KDE
Url:		http://www.kde-apps.org/content/show.php/KNDISWrapper?content=86885
Source0: 	%{name}-%{version}.tar.gz
Source1:	win_drvrs-0.1.tar.bz2
Patch0:		%{name}.diff
BuildRequires:  qt3-devel unsermake kdelibs3-devel
BuildRoot: 	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ExclusiveArch:  i586

%description
NDIS Wrapper for KDE3
%prep
rm -rf $RPM_BUILD_ROOT
%setup -q -a 1
%patch0 -p0

%build
configure --prefix=/opt/kde \
	  --host=i386-pc-linux-gnu \
          --build=i386-pc-linux-gnu \
	  --sysconfdir=/etc \
          --disable-debug \
	  --disable-nls \
	  --without-included-gettext \
          --disable-final \
	  --with-xinerama \
	  --with-extra-libs=/usr/lib \
	  --with-extra-includes=/usr/include \
          --with-install-root=$RPM_BUILD_ROOT \
	  --enable-audio=oss,esd \
	  --enable-tcltk \
	  --with-tcltk \
	  --with-tclx=/usr/lib

make

%install
make DESTDIR=$RPM_BUILD_ROOT install
cp -r etc $RPM_BUILD_ROOT/
mv $RPM_BUILD_ROOT/opt/kde/share/applnk/Utilities $RPM_BUILD_ROOT/opt/kde/share/applnk/Internet

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
/*
openSUSE Build Service is sponsored by