%define name xmms-itouch %define version 0.1.2 %define release 2mdk %define libdir %(eval "xmms-config --general-plugin-dir") %define datadir %(eval "xmms-config --data-dir") Summary: XMMS iTouch keyboard control plugin Name: %{name} Version: %{version} Release: %{release} Epoch: 0 License: GPL Group: Sound URL: http://www.saunalahti.fi/~syrjala/xmms-itouch/ Source0: http://www.saunalahti.fi/~syrjala/xmms-itouch/%{name}-%{version}.tar.bz2 Source1: http://www.saunalahti.fi/~syrjala/xmms-itouch/%{name}.config.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: xmms >= 0:1.2.0 BuildRequires: xmms-devel >= 0:1.2.0 %description With this XMMS plugin you can take advantage of the multimedia (playback and volume control) keys on your Logitech iTouch keyboard. When the plugin is used you can use the keys regardless of the current input focus. The plugin won't work if some other application (eg. xscreensaver) has grabbed the keyboard. %prep %setup -q bzcat %{SOURCE1} > %{name}.config %build %configure %make %install rm -rf $RPM_BUILD_ROOT; %makeinstall_std %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc AUTHORS COPYING ChangeLog INSTALL README %{libdir}/* %{datadir}/xmms-itouch.config %changelog * Fri Mar 25 2005 David Walluck <walluck@linux-mandrake.com> 0:0.1.2-2mdk - rebuild - update config - add macros to Source0 - remove zero-length NEWS file - fix summary-not-capitalized * Thu Feb 12 2004 David Walluck <walluck@linux-mandrake.com> 0:0.1.2-1mdk - release