%define name xmmsctrl %define summary Xmmsctrl is a small xmms control program %define version 1.9 %define release %mkrel 1 Name: %{name} Version: %{version} Release: %{release} Summary: %{summary} License: GPL Source0: http://www.cs.aau.dk/~adavid/utils/%{name}-%{version}.tar.bz2 URL: http://www.cs.aau.dk/~adavid/utils/ Group: Sound BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: libxmms-devel %description Xmmsctrl is a small utility to control xmms from the command line. Its goal is to be used coupled with sh to test xmms state and perform an appropriate action, e.g. if playing then pause else play. The interest of this is to bind keys in a window manager to have control over xmms with keys that do play/next/pause, prev, control sound... %prep rm -rf $RPM_BUILD_ROOT %setup -n %{name}-%{version} %build %make %install install -d -m 755 %{buildroot}%{_bindir} install -m 755 %{name} %{buildroot}%{_bindir}/ chmod 755 samples/* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc HELP Changelog README samples/ %{_bindir}/%{name} %changelog * Thu Jul 21 2005 Nicolas Lécureuil <neoclust@mandriva.org> 1.9-1mdk - New release 1.9 * Sat Jan 1 2005 Olivier Blin <blino@mandrake.org> 1.8-2mdk - do not require xmms, it only needs the lib (and it can be used with beep-media-player too) * Tue Jun 15 2004 Laurent Culioli <laurent@mandrake.org> 1.8-1mdk - 1.8 * Thu Apr 1 2004 Austin Acton <austin@mandrake.org> 1.7-1mdk - 1.7 * Thu Apr 03 2003 Laurent Culioli <laurent@pschit.net> 1.6-2mdk - add require : xmms * Thu Apr 03 2003 Laurent Culioli <laurent@pschit.net> 1.6-1mdk - initial package