File kwlan.spec of Package kwlan

# norootforbuild

%define _prefix	/opt/kde3
%define rversion 0.6.3
%define rrelease 1.1
%define releasesuffix OS102DSB

Name:		kwlan
Version:	%{rversion}
Release:	%{rrelease}%{releasesuffix}
%if %suse_version < 1020
Distribution:	SUSE Linux %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
%else
Distribution:	openSUSE %(echo "%{suse_version}" | %__sed -e 's/.$//' -e ':a;s/\(.$\)/\.\1/g')
%endif
Summary:	Wireless Lan Manager
Source:		%{name}-%{rversion}.tar.bz2
Patch0:		%{name}-kdelinkdir.diff
URL:		http://home.arcor.de/tom.michel
Packager:	Donnie S Bhayangkara - http://donnie.110mb.com
Group:		Productivity/Networking/System
License:	GPL
BuildRoot:	%{_tmppath}/build-%{name}-%{version}
BuildRequires:	autoconf automake libstdc++-devel
BuildRequires: 	kdelibs3-devel qt3-devel
BuildRequires: 	wireless-tools
Requires:	wpa_supplicant

%description
Kwlan  is a simple gui to connect to various networks. It uses profiles to
define multiple networks per interface.

Profiles allow you to preconfigure dhcp, encryption and other settings. You can
configure profiles for your home network, your network at work and so on.


Authors:
--------
     Thomas Michel <tom.michel@arcor.de>

%if %suse_version >= 930
%debug_package
%endif
%prep
%setup -q -n "%{name}-%{rversion}"
%patch0
%{?suse_update_config:%{suse_update_config -f}}

%build

%configure --with-qt-libraries=/usr/lib/qt3/%_lib

%__make %{?jobs:-j%{jobs}}

%install
%makeinstall

%suse_update_desktop_file -r "%{name}" Qt KDE System Network 

find %{buildroot} -type f -o -type l | sed "s|^%{buildroot}||" >master.list

%if %suse_version < 930
%__strip "%{buildroot}%{_bindir}"/*
%endif

%clean
%__rm -rf "%{buildroot}"

%files -f master.list
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING README VERSION

%changelog
* Fri Aug 24 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.6.3
- new upstream version:
  * Fixed Bug: Setting to show New Interface Wizard was not stored correctly.
  * Fixed Bug: Adding new network from Scanning didn't fill in encryption
    settings automatically
  * Fixed Bug: WPA enabled networks were shown as new if wpa_supplicant was not
    started
  * Fixed Bug: access to pppd was not tested correctly
  * Access Dialup networks from context menu of interface systray icon.

* Tue May 22 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.6.2
- new upstream version:
  * Added option for ad-hoc networks
  * Added option to show commands in kdesu password requests
  * Shows signal strength in context menu
  * Shows unconfigured networks in context menu to automatically add them
- added patch0 (%{name}-%{rversion}-kdelinkdir.diff)

* Wed Mar 21 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.6.1
- new upstream version:
  * Kwlan main icon is only shown if no interface is monitored
  * Support for hidden SSIDS
  * ap_scan value for wpa_supplicant configurable
  * Only available profiles can be shown in profile selection context menu

* Fri Feb 9 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.6.0
- new upstream version
- changed URL
- removed BuildRequires: rpm >= 1.129
- add qt3-devel to BuildRequires
- Added qt library path with _lib macro on the configure statement
  to support x86_64 builds

* Mon Jan 1 2007 Donnie S Bhayangkara <dsbhayangkara@gmail.com> 0.5.8
- first DSB release

# Local Variables:
# mode: rpm-spec
# tab-width: 3
# End:
openSUSE Build Service is sponsored by