File mtaskbar.spec of Package mtaskbar

# norootforbuild

%define _prefix				/opt/kde3
%define _sysconfdir			/etc%{_prefix}

Name:				mtaskbar
Version:			0.7
Release:			4.guru.suse%(echo "%{suse_version}" | %__sed -e 's/.$//')
Summary:			Enhanced Taskbar Panel for KDE
Source:			http://www.uni-weimar.de/~wolff3/kdelook/mtaskbar-%{version}.tar.bz2
Patch1:			%{name}-fix-extra-qualifier.diff
Patch2:			%{name}-fix-keyevent-undef.diff
URL:				http://www.uni-weimar.de/~wolff3/index_taskbar.html
Group:			System/GUI/KDE
License:			GPL
BuildRoot:		%{_tmppath}/build-%{name}-%{version}
BuildRequires:	kdelibs3 kdelibs3-devel kdebase3 kdebase3-devel
BuildRequires:	autoconf automake libtool

%description
TaskBar v2 is an open source program for the Linux/X11 KDE desktop environment.
It is a modified TaskBar for the KDE 3.3 kicker panel which supports thumbnail
images of application windows, transparency on (semi) transparent panels and a
few other features to beatifulize the kicker panel without loosing convenient
functionality.

%if %suse_version >= 930
%debug_package
%endif
%prep
%setup -q -n "mtaskbar-%{version}/mtaskbar"
%patch1
. /etc/opt/kde3/common_options
update_admin
./configure $configkde

%patch2

%build
. /etc/opt/kde3/common_options
make %{?jobs:-j%{jobs}}

%install
. /etc/opt/kde3/common_options
%makeinstall

%if %suse_version < 930
%__strip "%{buildroot}%{_libdir}"/*.so
%endif

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

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS README TODO
%{_libdir}/libmtaskbar.so
%{_libdir}/libmtaskbar.la
%{_datadir}/apps/kicker/applets/mtaskbar.desktop

%changelog
* Sun Apr 23 2006 Pascal Bleser <guru@unixtech.be> 0.7-4
- use unsermake
- pass -j to make
- remove Packager and Distribution, injected by rpmmacros
- add patch to remove extra qualifier, to fix build on 10.1
- add binary stripping on SUSE < 9.3

* Tue Dec  6 2005 Pascal Bleser <guru@unixtech.be> 0.7-3
- rewrote spec file, removed stupid kde version limitation

* Mon Nov 29 2004 Pascal Bleser <guru@unixtech.be> 0.7-2
- new package

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