Sophie

Sophie

distrib > Mandriva > 9.0 > i586 > media > contrib-src > by-pkgid > 1f28796ff0b4d386a3f4d00d94517947 > files > 2

ermixer-0.7-1mdk.src.rpm

%define name ermixer
%define version 0.7
%define release 1mdk

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 May 16 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.7-1mdk
- added by Michele Balistreri <brain@email.it>