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