%define name ermixer %define version 0.7 %define release 2mdk Name: %{name} Summary: A full featured OSS mixer Version: %{version} Release: %{release} License: GPL Group: Sound URL: http://ermixer.sourceforge.net Source: http://erevan.cuore.org/files/ermixer/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: libmenu.so.5, libncurses.so.5, libc.so.6, libgpm.so.1, /lib/ld-linux.so.2 BuildRequires: libncurses5-devel %description This is a very sophisticated OSS mixer with a lot of useful features like handling of multiple profile files, it offers a complete interface to the mixer capatibilities. You can use it with a nice curses interface or with a command line interface (useful for use it in scripts). %prep rm -rf $RPM_BUILD_ROOT %setup %build %configure make mkdir -p $RPM_BUILD_ROOT/%{_menudir}/ cat << EOF > $RPM_BUILD_ROOT/%{_menudir}/ermixer ?package(ermixer):command="/usr/bin/ermixer" icon="sound_section.png" needs="text" section="Multimedia/Sound" title="Ermixer" longtitle="A full featured OSS mixer" EOF %install %makeinstall %clean rm -rf $RPM_BUILD_ROOT %post %{update_menus} %postun %{clean_menus} %files %defattr(-,root,root) %doc INSTALL COPYING ChangeLog %{_bindir}/ermixer %{_mandir}/man1/ermixer.1.bz2 %{_menudir}/ermixer %changelog * Thu Jan 30 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.7-2mdk - rebuild * Thu May 16 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.7-1mdk - added by Michele Balistreri <brain@email.it>