%define name jackmix %define version 0.1.0.r1 %define release %mkrel 1 %define major 0 %define libname %mklibname %{name} %major Name: %{name} Summary: Fancy mixer for JACK audio server Version: %{version} Release: %{release} Source: http://roederberg.dyndns.org/~arnold/file_share/jackmix/%{name}-%{version}.tar.bz2 URL: http://pilatus.roederberg.dyndns.org/~arnold/jackmix/ License: GPL Group: Sound BuildRoot: %{_tmppath}/%{name}-buildroot BuildRequires: qt3-devel jackit-devel liblo-devel Requires: %libname = %version %description Ever struggled with a number of jack applications on your desktop everyone using its own master volume-fader but not one common place for all the volumes directly accessible? The solution to your problem is JackMix, a mixer app for jack that looks exaclty like the mixer you would use if you had to connect your analog equipment. %package -n %libname Summary: Fancy mixer for JACK audio server Group: Sound %description -n %libname Ever struggled with a number of jack applications on your desktop everyone using its own master volume-fader but not one common place for all the volumes directly accessible? The solution to your problem is JackMix, a mixer app for jack that looks exaclty like the mixer you would use if you had to connect your analog equipment. %prep %setup -q %build make -f Makefile.cvs %configure # crappy fix for an error that should not be perl -p -i -e 's/CXXLD\)/CXXLD\)\ \-L\/usr\/lib\/qt3\/lib\ \-ljack/g' jackmix/Makefile %make %install rm -rf $RPM_BUILD_ROOT %makeinstall #menu mkdir -p $RPM_BUILD_ROOT%{_menudir} cat << EOF > $RPM_BUILD_ROOT%{_menudir}/%{name} ?package(%{name}): command="%{name}" icon="sound_section.png" needs="x11" title="JackMix" longtitle="Mixer for JACK audio server" section="Multimedia/Sound" EOF %clean rm -rf $RPM_BUILD_ROOT %post %update_menus %postun %clean_menus %post -n %libname -p /sbin/ldconfig %postun -n %libname -p /sbin/ldconfig %files %defattr(-,root,root) %doc README %{_bindir}/%name %{_menudir}/%name %files -n %libname %defattr(-, root, root) %_libdir/*.so.* %_libdir/*.so %_libdir/*.la %changelog * Thu Jun 01 2006 Lenny Cartier <lenny@mandriva.com> 0.1.0.r1-1mdv2007.0 - rebuild * Tue May 16 2006 Emmanuel Andry <eandry@mandriva.org> 0.1.0.r1-1mdk - 0.1.0 - mkrel - buildrequires liblo-devel - fixed group - libification * Thu Dec 30 2004 Austin Acton <austin@mandrake.org> 0.0.3-1mdk - 0.0.3 - source URL * Fri Jul 16 2004 Michael Scherer <misc@mandrake.org> 0.0.1-2mdk - rebuild for new gcc * Fri Apr 2 2004 Austin Acton <austin@mandrake.org> 0.0.1-1mdk - initial package