summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-23 14:34:35 -0400
committerMichel Alexandre Salim <msalim@cs.indiana.edu>2009-08-23 14:34:35 -0400
commitd2e0c1d1e58825ba7ab0b671b4afadfd94e41852 (patch)
treece50d44c273ffd413062f2f7db941ed5a9460c5a
parentaa998d6805d9d6007d9f4f994fea18533cd19b38 (diff)
sonic-visualiser-freeworld.spec:
initial spec, adapted from Fedora sonic-visualiser
-rw-r--r--rpmfusion/sonic-visualiser-freeworld.spec142
1 files changed, 142 insertions, 0 deletions
diff --git a/rpmfusion/sonic-visualiser-freeworld.spec b/rpmfusion/sonic-visualiser-freeworld.spec
new file mode 100644
index 0000000..0d0c852
--- /dev/null
+++ b/rpmfusion/sonic-visualiser-freeworld.spec
@@ -0,0 +1,142 @@
+Name: sonic-visualiser-freeworld
+Version: 1.6
+Release: 2%{?dist}
+Summary: A program for viewing and exploring audio data
+
+Group: Applications/Multimedia
+License: GPLv2+
+URL: http://www.sonicvisualiser.org/
+Source0: http://downloads.sourceforge.net/sv1/sonic-visualiser-%{version}.tar.bz2
+Source1: sonic-visualiser.desktop
+Patch0: sonic-visualiser-1.5-gcc44.patch
+Patch1: sonic-visualiser-1.5-alsa.patch
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: qt4-devel vamp-plugin-sdk-devel
+BuildRequires: libsndfile-devel libsamplerate-devel fftw-devel bzip2-devel
+BuildRequires: alsa-lib-devel jack-audio-connection-kit-devel
+BuildRequires: pulseaudio-libs-devel
+BuildRequires: redland-devel rubberband-devel
+BuildRequires: libmad-devel
+BuildRequires: liboggz-devel libfishsound-devel liblo-devel
+BuildRequires: desktop-file-utils
+Requires: hicolor-icon-theme
+
+Conflicts: sonic-visualiser
+
+%description
+Sonic Visualiser is an application for viewing and analysing the
+contents of music audio files.
+
+The aim of Sonic Visualiser is to be the first program you reach for
+when want to study a musical recording rather than simply listen to
+it.
+
+As well as a number of features designed to make exploring audio data
+as revealing and fun as possible, Sonic Visualiser also has powerful
+annotation capabilities to help you to describe what you find, and the
+ability to run automated annotation and analysis plugins in the Vamp
+analysis plugin format – as well as applying standard audio effects.
+
+
+%prep
+%setup -q -n sonic-visualiser-%{version}
+# https://sourceforge.net/tracker/?func=detail&aid=2715387&group_id=162924&atid=825705
+%patch0 -p1 -b .gcc44
+# https://sourceforge.net/tracker/?func=detail&aid=2715381&group_id=162924&atid=825705
+%patch1 -p1 -b .alsa
+
+
+%build
+qmake-qt4
+make %{?_smp_mflags}
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+# install does nothing right now
+# make install DESTDIR=$RPM_BUILD_ROOT
+mkdir -p $RPM_BUILD_ROOT%{_bindir}
+install -m 755 -p sv/sonic-visualiser \
+ $RPM_BUILD_ROOT%{_bindir}/
+# desktop file and icon
+mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps
+install -m 644 -p sv/icons/sv-48x48.png \
+ $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/48x48/apps/sonic-visualiser.png
+desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
+ %{SOURCE1}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%post
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+%postun
+touch --no-create %{_datadir}/icons/hicolor
+if [ -x %{_bindir}/gtk-update-icon-cache ]; then
+ %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
+fi
+
+
+%files
+%defattr(-,root,root,-)
+%doc COPYING README README.OSC
+%{_bindir}/sonic-visualiser
+%{_datadir}/applications/*.desktop
+%{_datadir}/icons/hicolor/*/apps/*.png
+
+
+%changelog
+* Sun Aug 23 2009 Michel Salim <salimma@fedoraproject.org> - 1.6-2
+- RPM Fusion packaging, based on Fedora spec
+
+* Fri Aug 21 2009 Michel Salim <salimma@fedoraproject.org> - 1.6-1
+- Update to 1.6
+
+* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
+
+* Thu Mar 26 2009 Michel Salim <salimma@fedoraproject.org> - 1.5-1
+- Update to 1.5
+
+* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
+
+* Sun Feb 8 2009 Michel Salim <salimma@fedoraproject.org> - 1.4-3
+- Fix compilation problem with GCC 4.4
+
+* Sun Dec 14 2008 Michel Salim <salimma@fedoraproject.org> - 1.4-2
+- Fix qmake profiles to properly detect 64-bit Linux
+
+* Sun Dec 14 2008 Michel Salim <salimma@fedoraproject.org> - 1.4-1
+- Update to 1.4
+- Replace PortAudio dependency with PulseAudio
+
+* Thu Jul 17 2008 Michel Salim <salimma@fedoraproject.org> - 1.3-1
+- Update to 1.3
+
+* Sun Mar 30 2008 Michel Salim <michel.sylvan@gmail.com> - 1.2-1
+- Update to 1.2
+
+* Fri Feb 15 2008 Michel Salim <michel.sylvan@gmail.com> - 1.0-5
+- Use correct optflags
+
+* Wed Feb 13 2008 Michel Salim <michel.sylvan@gmail.com> - 1.0-4
+- Exclude ppc for now. On it, qmake uses wrong (x86) optflags (#432733).
+- Add missing BR on libfishsound-devel
+
+* Sun Feb 3 2008 Michel Salim <michel.sylvan@gmail.com> - 1.0-3
+- Add some #includes, needed due to GCC 4.3's header dependency cleanup
+
+* Sun Jan 27 2008 Michel Salim <michel.sylvan@gmail.com> - 1.0-2
+- Fix icon placement and license
+
+* Wed Jan 16 2008 Michel Salim <michel.sylvan@gmail.com> - 1.0-1
+- Initial Fedora package
+