%define name xmms-weasel %define version 0.0.1 %define release %mkrel 5 Summary: Hide XMMS window automatically Name: %{name} Version: %{version} Release: %{release} Source0: %{name}-%{version}.tar.bz2 License: GPL Group: Sound Url: http://xmms-weasel.sourceforge.net BuildRequires: xmms-devel Requires: xmms BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot BuildRequires: chrpath %description XMMS Weasel is a general plugin for XMMS. XMMS Weasel automatically slides out XMMS from the screen as soon as the mouse pointer is leaving the XMMS window. If the mouse pointer hits the edge of the screen where XMMS was hidden, XMMS slides back in. XMMS Weasel is only active if XMMS is docked at the top of the screen. %prep %setup -q %build %define __libtoolize true %configure2_5x %make %install rm -rf $RPM_BUILD_ROOT %makeinstall_std rm -f %buildroot%_libdir/xmms/General/libweasel.la chrpath -d %buildroot%_libdir/xmms/General/libweasel.so %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc NEWS README ChangeLog %_libdir/xmms/General/libweasel.so %changelog * Thu Aug 24 2006 Götz Waschk <waschk@mandriva.org> 0.0.1-5mdv2007.0 - remove rpath * Mon Jul 31 2006 Götz Waschk <waschk@mandriva.org> 0.0.1-1mdv2007.0 - Rebuild * Sun May 14 2006 Götz Waschk <waschk@mandriva.org> 0.0.1-3mdk - Rebuild - use mkrel * Fri May 13 2005 Götz Waschk <waschk@mandriva.org> 0.0.1-2mdk - rebuild * Fri Apr 2 2004 Götz Waschk <waschk@linux-mandrake.com> 0.0.1-1mdk - initial package