c2c6c1f
Summary:       Real-time Convolution Engine
c2c6c1f
Name:          jconvolver
c2c6c1f
Version:       0.8.4
c2c6c1f
Release:       2%{?dist}
c2c6c1f
License:       GPLv2+
c2c6c1f
Group:         Applications/Multimedia
c2c6c1f
URL:           http://www.kokkinizita.net/linuxaudio/
c2c6c1f
Source0:       http://www.kokkinizita.net/linuxaudio/downloads/%{name}-%{version}.tar.bz2
c2c6c1f
# Demo reverbs
c2c6c1f
# Don't bundle until license is cleared up
c2c6c1f
#Source1:       http://www.kokkinizita.net/linuxaudio/downloads/%{name}-reverbs.tar.bz2
c2c6c1f
BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
c2c6c1f
c2c6c1f
Obsoletes:     jace <= 0.2.0
c2c6c1f
Provides:      jace = %{version}-%{release}
c2c6c1f
Obsoletes:     jconv <= 0.8.1
c2c6c1f
Provides:      jconv = %{version}-%{release}
c2c6c1f
c2c6c1f
c2c6c1f
BuildRequires: clthreads-devel 
c2c6c1f
BuildRequires: fftw-devel 
c2c6c1f
BuildRequires: jack-audio-connection-kit-devel
c2c6c1f
BuildRequires: libsndfile-devel 
c2c6c1f
BuildRequires: zita-convolver-devel
c2c6c1f
c2c6c1f
%description
c2c6c1f
Jconvolver is a real-time convolution engine. It can execute up to a 64 by 64
c2c6c1f
convolution matrix (i.e. 4096 simultaneous convolutions) as long as your CPU(s)
c2c6c1f
can handle the load. It is designed to be efficient also for sparse (e.g.
c2c6c1f
diagonal) matrices. Unused matrix elements do not take any CPY time.
c2c6c1f
c2c6c1f
%prep
c2c6c1f
#setup -q -a 1
c2c6c1f
%setup -q
c2c6c1f
c2c6c1f
# fix paths of configuration files
c2c6c1f
find config-files/ -name \*.conf \
c2c6c1f
  -exec sed -i -e "s|/audio/reverbs|%{_datadir}/%{name}/reverbs|g" {} \; \
c2c6c1f
  -exec sed -i -e "s|^#/cd |/cd |g" {} \;
c2c6c1f
c2c6c1f
# Force Fedora's optflags
c2c6c1f
sed -i 's|-O3|%{optflags}|' source/Makefile
c2c6c1f
c2c6c1f
%build
c2c6c1f
make %{?_smp_mflags} PREFIX=%{_prefix} LIBDIR=%{_lib} -C source
c2c6c1f
c2c6c1f
%install
c2c6c1f
rm -rf %{buildroot}
c2c6c1f
mkdir -p %{buildroot}%{_bindir}
c2c6c1f
make install PREFIX=%{buildroot}%{_prefix} LIBDIR=%{_lib} -C source
c2c6c1f
c2c6c1f
# install configuration files and demo reverbs
c2c6c1f
mkdir -p %{buildroot}%{_datadir}/%{name}
c2c6c1f
cp -a config-files/* %{buildroot}%{_datadir}/%{name}
c2c6c1f
#cp -a reverbs/ %%{buildroot}%%{_datadir}/%%{name}/
c2c6c1f
c2c6c1f
%clean
c2c6c1f
rm -rf %{buildroot}
c2c6c1f
c2c6c1f
%files
c2c6c1f
%defattr(-,root,root,-)
c2c6c1f
%doc AUTHORS README* COPYING
c2c6c1f
%{_bindir}/*
c2c6c1f
%{_datadir}/%{name}/
c2c6c1f
c2c6c1f
%changelog
c2c6c1f
* Tue Dec 22 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.8.4-2
c2c6c1f
- Don't bundle the reverbs until we hear from the author about the license
c2c6c1f
c2c6c1f
* Wed Dec 16 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.8.4-1
c2c6c1f
- update version to 0.8.4
c2c6c1f
- software name changed from jconv to jconvolver
c2c6c1f
- drop libsndfile patch. not needed anymore
c2c6c1f
c2c6c1f
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.8.1-2
c2c6c1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c2c6c1f
c2c6c1f
* Tue May 05 2009 Orcan Ogetbil <oget [DOT] fedora [AT] gmail [DOT] com> - 0.8.1-1
c2c6c1f
- update version to 0.8.1
c2c6c1f
- prepare package for Fedora submission (SPEC file from PlanetCCRMA)
c2c6c1f
c2c6c1f
* Sat Mar 21 2009 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.8.0-2
c2c6c1f
- fix typo in uhjenc.conf
c2c6c1f
c2c6c1f
* Sat Mar 21 2009 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.8.0-1
c2c6c1f
- updated to 0.8.0, include new extended demo reverb files
c2c6c1f
- move configuration and examples to /usr/share/jconv/
c2c6c1f
c2c6c1f
* Wed Oct 29 2008 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.2.0-1
c2c6c1f
- package renamed to jconv from jace, now uses the zita-convolver library
c2c6c1f
- upgrade to jconv 0.2.0
c2c6c1f
c2c6c1f
* Wed Sep  5 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.2.0-1
c2c6c1f
- update to 0.2.0
c2c6c1f
- add springreverb.wav
c2c6c1f
c2c6c1f
* Thu Apr 19 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.1.0-1
c2c6c1f
- update to 0.1.0
c2c6c1f
c2c6c1f
* Sun Apr  1 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.0.4-2
c2c6c1f
- update to 0.0.4
c2c6c1f
- include lucia.wav example impulse response
c2c6c1f
- tweak demo configuration files to point to the doc directory
c2c6c1f
c2c6c1f
* Tue Dec 12 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.0.3-2
c2c6c1f
- build on fc6
c2c6c1f
c2c6c1f
* Sat May 13 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 0.1.8-1
c2c6c1f
- initial build