File paulstretch.spec of Package paulstretch
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: paulstretch
Version: 2.2
Release: 0
License: GPL-2.0+
Summary: Paul's Extreme Sound Stretch
Url: http://hypermammut.sourceforge.net/paulstretch/
Group: Productivity/Sound
Source: %{name}-%{version}-2.tar.bz2
Patch0: paulstretch-gcc.patch
Patch1: paulstretch-nomp3.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: audiofile-devel
BuildRequires: fftw3-devel
BuildRequires: fltk-devel
BuildRequires: fontconfig-devel
BuildRequires: gcc-c++
BuildRequires: libogg-devel
BuildRequires: libsamplerate-devel
BuildRequires: libvorbis-devel
BuildRequires: mxml-devel
BuildRequires: portaudio-devel
BuildRequires: zlib-devel
%if 0%{?fedora_version}
BuildRequires: fltk-fluid
BuildRequires: jack-audio-connection-kit-devel
BuildRequires: libsndfile1
%endif
%if 0%{?suse_version}
BuildRequires: libjack-devel
BuildRequires: xorg-x11-libXext-devel
%endif
%if 0%{?suse_version} >= 1210
BuildRequires: libXft-devel
BuildRequires: libXinerama-devel
%endif
%description
This is a program for stretching the audio. It is suitable only for extreme
sound stretching of the audio (like 50x) and for applying special effects by
"spectral smoothing" the sounds. It can transform any sound/music to a texture.
The program is Open-Source and it's released under the version 2 of the General
Public License. You can download the source code for Linux or the Windows
binaries.
Please note that this is suitable only for extreme time stretching (e.g. if
have a melody of 3 minutes and you want to listen it in 3 hours). If you want
"less extreme" time stretching, you can use a program which contains the
SoundTouch library.
%prep
%setup -q -n %{name}-%{version}-2
%patch0 -p1
%patch1 -p1
%build
fluid -c GUI.fl
fluid -c FreeEditUI.fl
g++ -ggdb GUI.cxx FreeEditUI.cxx *.cpp Input/AInputS.cpp Input/VorbisInputS.cpp Output/*.cpp `fltk-config --cflags` \
`fltk-config --ldflags` \
-laudiofile -lfftw3f -lvorbisenc -lvorbisfile -lvorbis -logg -lportaudio -lpthread -lmxml -lz \
`pkg-config --cflags --libs jack samplerate` \
-DHAVE_JACK -DENABLE_RESAMPLING \
-o %{name}
%install
install -D -m 755 %{name} %{buildroot}%{_bindir}/%{name}
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc COPYING readme.txt
%{_bindir}/%{name}
%changelog
* Thu Jan 23 2013 - Pavol Rusnak <prusnak@opensuse.org>
- updated to version 2.2
* Sat Feb 26 2011 - Edgar Aichinger <edogawa@aon.at>
- updated to version 2.1
* Mon Feb 22 2010 - Edgar Aichinger <edogawa@aon.at>
- patch to deactivate mp3 support (libmad dependency not allowed in OBS)
* Sat Aug 15 2009 - Edgar Aichinger <edogawa@aon.at>
- updated to version 2.0
* Fri Jun 27 2008 - Edgar Aichinger <edogawa@aon.at>
- patch to build with gcc 4.3.x, for openSUSE 11.0
* Mon Jan 14 2008 - Edgar Aichinger <edogawa@aon.at>
- patch to build against portaudio-v19, needs portaudio stable from 20071207 or later
* Mon Jan 07 2008 - Edgar Aichinger <edogawa@aon.at>
- initial spec for openSUSE/JAD, ver. 1.024