01bd3d6
Summary: Realtime software looping sampler
01bd3d6
Name: sooperlooper
b22568f
Version: 1.6.13
ff1e21d
Release: 5%{?dist}
01bd3d6
License: GPLv2+
01bd3d6
Group: Applications/Multimedia
01bd3d6
URL: http://essej.net/sooperlooper/
b22568f
Source0: http://essej.net/sooperlooper/sooperlooper-%{version}-2.tar.gz
01bd3d6
Source1: sooperlooper.png
01bd3d6
Source2: sooperlooper.desktop
01bd3d6
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
01bd3d6
Requires: hicolor-icon-theme
01bd3d6
01bd3d6
BuildRequires: gettext-devel ncurses-devel wxGTK-devel rubberband-devel
01bd3d6
BuildRequires: desktop-file-utils jack-audio-connection-kit-devel
01bd3d6
BuildRequires: libsigc++-devel libsndfile-devel liblo-devel fftw-devel
01bd3d6
BuildRequires: libsamplerate-devel alsa-lib-devel libxml2-devel
01bd3d6
e6bc891
Patch0: sooperlooper-1.6.13-consts.patch
e6bc891
01bd3d6
%description
01bd3d6
SooperLooper is a realtime software looping sampler in the spirit of
01bd3d6
Gibson's Echoplex Digital Pro. If used with a low-latency kernel and
01bd3d6
the proper audio buffer configuration it is capable of truly realtime
01bd3d6
live looping performance.
01bd3d6
01bd3d6
01bd3d6
%prep
01bd3d6
%setup -q
e6bc891
%patch0 -p1 -b .consts
01bd3d6
# kill the stubborn overriding of CXXFLAGS
01bd3d6
sed -i 's/OPT_FLAGS="$OPT_FLAGS -pipe"/OPT_FLAGS=""/g' configure
01bd3d6
sed -i 's/OPT_FLAGS="$OPT_FLAGS -pipe"/OPT_FLAGS="%{optflags}"/g' \
01bd3d6
  libs/pbd/configure libs/midi++/configure
01bd3d6
01bd3d6
01bd3d6
%build
01bd3d6
%configure
01bd3d6
%{__make} %{?_smp_mflags}
01bd3d6
01bd3d6
01bd3d6
%install
01bd3d6
%{__rm} -rf %{buildroot}
01bd3d6
%{__make} DESTDIR=%{buildroot} install
01bd3d6
01bd3d6
# install icon in the proper freedesktop location
01bd3d6
%{__mkdir} -p %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
01bd3d6
%{__install} -m 0644 %{SOURCE1} %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
01bd3d6
01bd3d6
# desktop file categories
01bd3d6
BASE="AudioVideo Audio"
01bd3d6
XTRA="X-Digital_Processing X-Jack X-MIDI Midi"
01bd3d6
01bd3d6
%{__mkdir} -p %{buildroot}%{_datadir}/applications
01bd3d6
desktop-file-install --vendor fedora \
01bd3d6
  --dir %{buildroot}%{_datadir}/applications    \
01bd3d6
  `for c in ${BASE} ${XTRA} ; do echo "--add-category $c " ; done` \
01bd3d6
  %{SOURCE2}
01bd3d6
01bd3d6
01bd3d6
%clean
01bd3d6
%{__rm} -rf %{buildroot}
01bd3d6
01bd3d6
01bd3d6
%post
01bd3d6
touch --no-create %{_datadir}/icons/hicolor || :
01bd3d6
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
01bd3d6
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
01bd3d6
fi
01bd3d6
01bd3d6
%postun
01bd3d6
touch --no-create %{_datadir}/icons/hicolor || :
01bd3d6
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
01bd3d6
   %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
01bd3d6
fi
01bd3d6
01bd3d6
01bd3d6
%files
01bd3d6
%defattr(-,root,root,-)
01bd3d6
%doc README OSC COPYING
01bd3d6
%{_bindir}/*
01bd3d6
%{_datadir}/sooperlooper
01bd3d6
%{_datadir}/applications/*sooperlooper.desktop
01bd3d6
%{_datadir}/icons/hicolor/32x32/apps/sooperlooper.png
01bd3d6
01bd3d6
01bd3d6
%changelog
ff1e21d
* Wed Jul 14 2010 Dan Horák <dan@danny.cz> - 1.6.13-5
ff1e21d
- rebuilt against wxGTK-2.8.11-2
ff1e21d
42995cb
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.13-4
42995cb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
42995cb
e6bc891
* Wed Mar 04 2009 Caolán McNamara <caolanm@redhat.com> - 1.6.13-3
e6bc891
- constify ret of strchr(const char*)
e6bc891
c3548da
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.6.13-2
c3548da
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c3548da
b22568f
* Tue Jan 06 2009 Anthony Green <green@redhat.com> 1.6.13-1
b22568f
- New upstream release 1.6.13
f5f5bb8
01bd3d6
* Tue Apr 15 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 1.6.2-1
01bd3d6
- New upstream release 1.6.2
01bd3d6
01bd3d6
* Mon Oct  1 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.0-2
01bd3d6
- updated the desktop categories to conform to desktop standard
01bd3d6
  (added midi)
01bd3d6
01bd3d6
* Wed Sep 26 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.2.0-1
01bd3d6
- updated to 1.2.0, dropped patch0 and patch1, no need for extra
01bd3d6
  perl one liners, etc
01bd3d6
01bd3d6
* Wed Jun  6 2007 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.1.0-1
01bd3d6
- updated to 1.1.0
01bd3d6
- patch automake version comparison in autogen.sh, it is compared as
01bd3d6
  a number in perl and it fails for automake > 1.9 (1.10 in fc7)
01bd3d6
- fix #if to #ifdef and failed include in libs/pbd/mountpoint.cc (patch1)
01bd3d6
01bd3d6
* Wed Dec  6 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.8-0.4.c
01bd3d6
- added long int patch for x86_64
01bd3d6
01bd3d6
* Sat Sep  9 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.8-0.3.c
01bd3d6
- fixed typo in desktop file (SooperLooper instead of Sooperlooper, 
01bd3d6
  thanks to Anthony Green)
01bd3d6
01bd3d6
* Wed Aug  2 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.8-0.2.c
01bd3d6
- added auto* build dependencies, call ./autogen.sh to redo the autotools
01bd3d6
  configuration to match newer autotools versions, added missing
01bd3d6
  gettext-devel build requirement
01bd3d6
- added COPYING license file
01bd3d6
01bd3d6
* Tue Aug  1 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.8-0.1.c
01bd3d6
- specfile tweaks for Extras submission, change version/release to 
01bd3d6
  match naming guidelines
01bd3d6
01bd3d6
* Sun May  7 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.8c
01bd3d6
- update to 1.0.8c, add Planet CCRMA categories to desktop file,
01bd3d6
  add icon
01bd3d6
01bd3d6
* Fri Mar 31 2006 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.3
01bd3d6
- same for fc5
01bd3d6
01bd3d6
* Tue May 31 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.3
01bd3d6
- remove compiler option not recognized by gcc4.0
01bd3d6
01bd3d6
* Wed May  4 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.3
01bd3d6
- updated to 1.0.3, added menu entry
01bd3d6
01bd3d6
* Wed Feb 16 2005 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.0dev28-1
01bd3d6
- updated to 1.0.0dev28
01bd3d6
01bd3d6
* Mon Dec 27 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.0dev25-1
01bd3d6
- spec file cleanup
01bd3d6
01bd3d6
* Tue Dec  7 2004 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu> 1.0.0dev25-1
01bd3d6
- initial build.