Name: jamin Summary: JACK Audio Connection Kit (JACK) Audio Mastering interface Version: 0.95.0 Release: 9.20100210cvs%{?dist} License: GPLv2+ Group: Applications/Multimedia URL: http://jamin.sourceforge.net Source0: %{name}-%{version}-20100210cvs.tar.bz2 # To fetch the sources: Source1: %{name}-snapshot.sh # Fix DSO-linking failure # http://sourceforge.net/tracker/?func=detail&aid=2948900&group_id=78441&atid=553292 Patch0: %{name}-linking.patch # Spectrum views enhancement & small eq fixes # http://sourceforge.net/tracker/?func=detail&aid=1902205&group_id=78441&atid=553292 Patch1: %{name}-spectrum.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: desktop-file-utils BuildRequires: fftw-devel BuildRequires: gettext BuildRequires: gtk2-devel BuildRequires: intltool BuildRequires: jack-audio-connection-kit-devel BuildRequires: ladspa-devel BuildRequires: liblo-devel BuildRequires: libtool BuildRequires: libxml2-devel BuildRequires: perl-XML-Parser Requires: ladspa-swh-plugins %description JAMin is the JACK Audio Connection Kit (JACK) Audio Mastering interface. JAMin is designed to perform professional audio mastering of any number of input streams. It uses LADSPA for its backend DSP work, specifically the swh plugins. %prep %setup -q %patch0 -p1 -b .linking %patch1 -p1 -b .spectrum # .desktop file fixes: # Add GenericName %{__sed} -i 's|\(GenericName=\)|\1Jack Audio Mastering|' data/%{name}.desktop.in # Remove extension from the icon (as required by freedesktop.org) %{__sed} -i 's|\.svg||' data/%{name}.desktop.in %build NOCONFIGURE=indeed ./autogen.sh %configure %{__make} %{?_smp_mflags} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} install # move icon to the proper freedesktop location %{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/scalable/apps %{__mv} %{buildroot}%{_datadir}/icons/%{name}.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ # desktop file categories BASE="Audio" XTRA="X-Multitrack X-DigitalProcessing X-Jack" %{__mkdir} -p %{buildroot}%{_datadir}/applications desktop-file-install \ --dir %{buildroot}%{_datadir}/applications \ `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \ %{buildroot}%{_datadir}/applications/%{name}.desktop # Kill .la file(s) %{__rm} -f %{buildroot}%{_libdir}/ladspa/*.la %find_lang %{name} %clean %{__rm} -rf %{buildroot} %post touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : update-mime-database %{_datadir}/mime &> /dev/null || : %postun if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : fi update-mime-database %{_datadir}/mime &> /dev/null || : %posttrans gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %files -f %{name}.lang %defattr(-,root,root,-) %doc AUTHORS ChangeLog COPYING TODO %{_bindir}/%{name}* %{_datadir}/%{name} %{_mandir}/man1/%{name}* %{_libdir}/ladspa/* %{_datadir}/applications/%{name}.desktop %{_datadir}/icons/hicolor/scalable/apps/%{name}.svg %{_datadir}/mime/packages/%{name}.xml %changelog * Tue Jul 20 2010 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 0.95.0-9.20100210cvs - Rebuild against new liblo * Wed Feb 10 2010 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.95.0-8.20100210cvs - Update to the latest cvs - Fix DSO-linking failure * Wed Aug 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 0.95.0-7 - Update .desktop file * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.95.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Tue Apr 07 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 0.95.0-5 - Suppress double ./configure (in autogen.sh) - Clean up unnecessary BR's - Minor SPEC file update for macro consistency - Update description * Fri Mar 06 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> 0.95.0-4 - Respin for Fedora (SPEC file borrowed from PlanetCCRMA) * Tue Nov 25 2008 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> - run autogen.sh for fc10 * Wed Nov 14 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> - updated desktop categories * Wed Dec 6 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.95.0-3 - spec file tweaks - move icon to proper freedesktop location, add post/postun scripts - add patch for ladspa plugin directory, added autoconf & friends build requirement (borrowed from SuSE source package) - add patch for default plugin search directory in x86_64 (it is hardwired in the plugin.c file) * Mon May 6 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.95.0-2 - added Planet CCRMA categories * Wed May 4 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.95.0-1 - updated to 0.95.0, fixed file list, added icon to desktop entry * Tue Dec 21 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> - spec file cleanup * Mon Aug 9 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.17-0.cvs.1 - switched to jamin cvs, the 0.9.0 version does not work with the newer versions of liblo * Mon Aug 9 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.0-1 - udpated to final 0.9.0 release - added liblo requirement, fixed file list * Fri Jul 30 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.9.0-0.beta10.1 - updated to the latest beta tarball (0.8.0 does not work with the newest swh-plugins) * Sat May 8 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> - added proper buildrequires * Mon Jan 12 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.8.0-1 - updated to 0.8.0 (first stable release) * Mon Dec 15 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.6.0-0.cvs.1 - initial build. - added menu entry