7fd0812
Name:           jack-rack
be9058e
Version:        1.4.7
7ef14b4
Release:        8%{?dist}
7fd0812
Summary:        Stereo LADSPA effects rack for the JACK audio API
7fd0812
7fd0812
Group:          Applications/Multimedia
7fd0812
License:        GPLv2+
7fd0812
URL:            http://jack-rack.sourceforge.net/
7fd0812
Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.bz2
7fd0812
Patch0:         jack-rack-1.4.5rc1-ladspa-path.patch
7fd0812
Patch1:         jack-rack-desktop_fix.patch
fbdfa6a
Patch2:         jack-rack-1.4.7-ldflags.patch
7fd0812
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
7fd0812
fbdfa6a
BuildRequires: libtool
fbdfa6a
1f94227
BuildRequires: gettext-devel, desktop-file-utils
7fd0812
BuildRequires: gtk2-devel libgnomeui-devel alsa-lib-devel
7fd0812
BuildRequires: ladspa-devel curl-devel
7fd0812
BuildRequires: jack-audio-connection-kit-devel >= 0.66.3
7fd0812
BuildRequires: liblrdf-devel openssl-devel
7fd0812
BuildRequires: lash-devel, libxml2-devel
7fd0812
7fd0812
7fd0812
%description
7fd0812
JACK Rack is a stereo LADSPA effects rack for the JACK audio API.  It uses
7fd0812
GTK+ 2 for the gui. LADSPA version 1.1 is needed.
7fd0812
7fd0812
7fd0812
%prep
7fd0812
%setup -q
7fd0812
%if %{_lib} == "lib64"
7fd0812
%patch0 -p1
7fd0812
%endif
7fd0812
%patch1 -p1 -b .fix
fbdfa6a
%patch2 -p1 -b .ldflags
7fd0812
fbdfa6a
autoreconf -vif
7fd0812
7fd0812
# Fix encoding
7fd0812
cp -p NEWS NEWS.ISO-8859-1
7fd0812
iconv -f ISO-8859-1 -t UTF-8 NEWS.ISO-8859-1 -o NEWS
7fd0812
touch -r NEWS.ISO-8859-1 NEWS
7fd0812
7fd0812
%build
7fd0812
%configure --enable-lash
7fd0812
make %{?_smp_mflags}
7fd0812
7fd0812
7fd0812
%install
7fd0812
rm -rf $RPM_BUILD_ROOT
7fd0812
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p -c"
7fd0812
7fd0812
mkdir -p $RPM_BUILD_ROOT%{_datadir}/xml/jack-rack/dtds
7fd0812
cp -p $RPM_BUILD_ROOT%{_datadir}/dtds/* \
7fd0812
  $RPM_BUILD_ROOT%{_datadir}/xml/jack-rack/dtds
7fd0812
rm -rf $RPM_BUILD_ROOT%{_datadir}/dtds/
7fd0812
7fd0812
7fd0812
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
7fd0812
7fd0812
desktop-file-install --vendor "fedora"             \
7fd0812
  --dir $RPM_BUILD_ROOT%{_datadir}/applications    \
7fd0812
  --delete-original                                \
7fd0812
  --add-category X-Fedora                          \
6d72eb6
  --add-category X-DigitalProcessing               \
7fd0812
 $RPM_BUILD_ROOT%{_datadir}/applications/jack-rack.desktop
7fd0812
7fd0812
7fd0812
%find_lang %{name}
7fd0812
7fd0812
%clean
7fd0812
rm -rf $RPM_BUILD_ROOT
7fd0812
7fd0812
7fd0812
%files -f %{name}.lang
7fd0812
%defattr(-,root,root,-)
7fd0812
%doc AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README TODO
7fd0812
%{_bindir}/ecarack
7fd0812
%{_bindir}/jack-rack
7fd0812
%{_datadir}/jack-rack/
7fd0812
%{_datadir}/xml/jack-rack/
7fd0812
%{_datadir}/applications/*jack-rack.desktop
7fd0812
%{_datadir}/pixmaps/jack-rack-icon.png
7fd0812
7fd0812
7fd0812
%changelog
7ef14b4
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-8
7ef14b4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
7ef14b4
1f94227
* Sun Nov 28 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.4.7-7
1f94227
- Add gettext-devel for autopoint
1f94227
d88700b
* Fri Nov 05 2010 Nicolas Chauvet <kwizart@gmail.com> - 1.4.7-6
d88700b
- Rebuilt for libxml2
d88700b
fbdfa6a
* Sun Feb 14 2010 Nicolas Chauvet <kwizart@fedoraproject.org> - 1.4.7-5
fbdfa6a
- Fix Missing ldflags - rhbz#564926
fbdfa6a
6d72eb6
* Wed Sep 23 2009 Orcan Ogetbil <oget[DOT]fedora[AT]gmail[DOT]com> - 1.4.7-4
6d72eb6
- Update desktop file according to F-12 FedoraStudio feature
6d72eb6
1381d26
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-3
1381d26
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
1381d26
a6eeae7
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.7-2
a6eeae7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
a6eeae7
be9058e
* Wed Feb 13 2008 kwizart < kwizart at gmail.com > - 1.4.7-1
be9058e
- Update to 1.4.7
be9058e
f46a48b
* Sat Feb  9 2008 kwizart < kwizart at gmail.com > - 1.4.6-4
f46a48b
- Rebuild for gcc43
f46a48b
7fd0812
* Wed Oct 11 2007 kwizart <kwizart at gmail.com > - 1.4.6-3
7fd0812
- Build with new lash 5.3 
7fd0812
  (Removed obsolete ladcca-devel)
7fd0812
- Move dtds dir. to %%{_datadir}/xml/jack-rack/dtds
7fd0812
7fd0812
* Wed Oct  4 2007 kwizart <kwizart at gmail.com > - 1.4.6-2
7fd0812
- Fix desktop file, License field, NEWS encoding
7fd0812
- Add BR ladcca-devel and Add --enable-lash
7fd0812
7fd0812
* Tue Aug 28 2007 kwizart <kwizart at gmail.com > - 1.4.6-1
7fd0812
- Update to 1.4.6
7fd0812
- Spec clean-up
7fd0812
7fd0812
* Sat May 19 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.5-1
7fd0812
- update to 1.4.5 final
7fd0812
7fd0812
* Wed Dec  6 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.5-0.2.rc1
7fd0812
- spec file tweaks, moved icon to proper freedesktop directory, 
7fd0812
  added post/postun scripts
7fd0812
- added patch for ladspa path on x86_64
7fd0812
7fd0812
* Sat May 13 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.5-0.1.rc1
7fd0812
- update to 1.4.5rc1, includes support for LASH
7fd0812
7fd0812
* Fri May 12 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.4-3
7fd0812
- restore proper gnome build dependency
7fd0812
7fd0812
* Sun May  7 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.4-2
7fd0812
- add Planet CCRMA categories to desktop file
7fd0812
7fd0812
* Fri Nov 18 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.4-1
7fd0812
- updated to 1.4.4, build requirements now include lash (instead of ladcca)
7fd0812
7fd0812
* Fri Jun 24 2005 Mario Torre <mppr_kris@tiscali.it>
7fd0812
- Added a patch to compile with jack version >= 0.99.36-cvs, the patch removes
7fd0812
  a reference to jack_set_server_dir, deprecated in jack 0.99.0 and now
7fd0812
  totally removed.
7fd0812
  If Fernando forgives me, this patch is dedicated to Piera and Emilia :)
7fd0812
- Added a patch to fix a problem with gettext - needs some more investigation
7fd0812
  of the problem
7fd0812
7fd0812
* Sun Dec 26 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.3-3
7fd0812
- spec file cleanup
7fd0812
- jack_set_server_dir is no longer supported, erase '-D' option
7fd0812
7fd0812
* Sat May  8 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 
7fd0812
- added proper buildrequires
7fd0812
7fd0812
* Sun Feb 29 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.3-2
7fd0812
- rebuild for liblrdf 0.3.5
7fd0812
7fd0812
* Sat Nov  8 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.3-1
7fd0812
- spec file cleanup
7fd0812
7fd0812
* Thu Nov  6 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.3-1
7fd0812
- updated to 1.4.3, needs ladcca >= 0.4.0
7fd0812
7fd0812
* Sat Jul 26 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.2-1
7fd0812
- updated to 1.4.2
7fd0812
- added local files to file list
7fd0812
7fd0812
* Wed Apr  2 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.1-2
7fd0812
- rebuild for jack 0.66.3, added explicit requires for it
7fd0812
7fd0812
* Fri Feb 21 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.1-1
7fd0812
- updated to 1.4.1
7fd0812
7fd0812
* Sat Feb 15 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.4.0-1
7fd0812
- updated to 1.4.0
7fd0812
- added dtd's in file list
7fd0812
7fd0812
* Wed Feb 11 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.3.0-1
7fd0812
- updated to 1.3.0
7fd0812
7fd0812
* Wed Feb  5 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.0-1
7fd0812
- updated to 1.2.0
7fd0812
7fd0812
* Tue Jan 14 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.1.1-1
7fd0812
- added proper patch for icon issue (thanks to Bob Ham)
7fd0812
- added patch to make gcc2.96 happy on redhat 7.3
7fd0812
7fd0812
* Mon Jan 13 2003 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.1.1-1
7fd0812
- updated to 1.1.1, now uses librdf and ladcca
7fd0812
- patched to compile with gtk2 2.0.6 (otherwise uses a 2.2 feature)
7fd0812
- added desktop entry compatible with 7.2/7.3/8.0
7fd0812
7fd0812
* Mon Dec 30 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.1-1
7fd0812
- update to 1.0.1
7fd0812
7fd0812
* Mon Nov 11 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0-1
7fd0812
- Initial build.
7fd0812