3c603e6
3c603e6
Summary:       Audio autotuner for JACK
3c603e6
Name:          zita-at1
3c603e6
Version:       0.2.3
d69a6bb
Release:       5%{?dist}
3c603e6
License:       GPLv2+
3c603e6
Group:         Applications/Multimedia
3c603e6
URL:           http://kokkinizita.linuxaudio.org/
3c603e6
Source0:       http://kokkinizita.linuxaudio.org/linuxaudio/downloads/%{name}-%{version}.tar.bz2
3c603e6
# submitted upstream
3c603e6
Source1:       %{name}.desktop
3c603e6
# patch submitted upstream - next release will be relicensed
3c603e6
Patch0:        %{name}-%{version}-fsf-address.patch
3c603e6
3c603e6
BuildRequires: cairo-devel
3c603e6
BuildRequires: fftw3-devel
3c603e6
BuildRequires: zita-resampler-devel
3c603e6
BuildRequires: libpng-devel
3c603e6
BuildRequires: jack-audio-connection-kit-devel
3c603e6
BuildRequires: clthreads-devel
3c603e6
BuildRequires: clxclient-devel
3c603e6
BuildRequires: libXft-devel
3c603e6
BuildRequires: desktop-file-utils
3c603e6
%description
3c603e6
%{name} is an 'autotuner', normally used to correct the pitch of a voice 
3c603e6
singing (slightly) out of tune.
3c603e6
3c603e6
%prep
3c603e6
%setup -q
3c603e6
%patch0 -p1
3c603e6
3c603e6
sed -i -e 's|-march=native|%{optflags}|' -e 's|-ffast-math||' \
3c603e6
    source/Makefile
3c603e6
3c603e6
%build
3c603e6
cd source
3c603e6
make PREFIX=%{_prefix} %{?_smp_mflags}
3c603e6
3c603e6
%install
3c603e6
cd source
3c603e6
make DESTDIR=%{buildroot} PREFIX=%{_prefix} LIBDIR=%{_lib} install
3c603e6
3c603e6
# .desktop file
3c603e6
mkdir -p %{buildroot}%{_datadir}/applications
3c603e6
desktop-file-install  \
3c603e6
   --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
3c603e6
3c603e6
mkdir -p %{buildroot}%{_datadir}/pixmaps
3c603e6
install -m 644 %{_builddir}/%{name}-%{version}/doc/redzita.png \
3c603e6
    %{buildroot}%{_datadir}/pixmaps/%{name}.png
3c603e6
3c603e6
3c603e6
%files
3c603e6
%doc AUTHORS COPYING doc/*
3c603e6
%{_bindir}/%{name}
3c603e6
%{_datadir}/%{name}
3c603e6
%{_datadir}/applications/%{name}.desktop
3c603e6
%{_datadir}/pixmaps/%{name}.png
3c603e6
3c603e6
%changelog
d69a6bb
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-5
d69a6bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
d69a6bb
3c603e6
* Sat Nov 19 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.3-4
3c603e6
- Removed -ffast-math
3c603e6
- Consistent use of macros
3c603e6
3c603e6
* Tue Nov 15 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.3-3
3c603e6
- Removed -msse flag removal for powerpc
3c603e6
- Comment patch and sources
3c603e6
3c603e6
* Fri Nov 11 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.3-2
3c603e6
- add desktop file and icon
3c603e6
- removed unneccessary constructs
3c603e6
3c603e6
* Wed Oct 26 2011 Brendan Jones <brendan.jones.it@gmail.com> - 0.2.3-1
3c603e6
- initial build
3c603e6