Name: spectrum3d Version: 2.5.0 Release: alt1 Summary: 3D audio spectrum analyser in real time Group: Sound License: GPLv3 Url: http://spectrum3d.sourceforge.net Source: %name-%version.tar.gz #:! for N in `grep -rl 'g_build_filename.*"icons"' ~/RPM/BUILD/spectrum3d-2*[0-9]`; do sed -Ei 's/(g_build_filename .*, "icons",)/\1 "spectrum3d",/' $N; done Patch: spectrum3d-2.5.0-iconspath.patch # Automatically added by buildreq on Thu Sep 18 2014 # optimized out: at-spi2-atk fontconfig glib2-devel libGL-devel libGLU-devel libX11-devel libat-spi2-core libatk-devel libcairo-devel libcairo-gobject libcairo-gobject-devel libcloog-isl4 libgdk-pixbuf libgdk-pixbuf-devel libgio-devel libpango-devel libwayland-client libwayland-cursor libwayland-server libxml2-devel pkg-config xorg-xproto-devel BuildRequires: gstreamer1-devel SDL-devel gtk3-devel jack-audio-connection-kit-devel %description Spectrum 3D displays a 3D audio spectrogram in real time; the source can be either the microphone or an audio file; it is also possible to record a file and to have it analysed; so analysis can be done done on the fly (harmonics are displayed while the audio file is being played), or before the file is being played (in that case, the analysis of the whole will be performed and displayed, then the file can be played afterwards). %prep %setup %patch -p1 %build %configure %make_build icondir=%{_datadir}/icons/%{name} svgicopndir=%{_datadir}/icons/%{name} %install %makeinstall icondir=%{buildroot}%{_datadir}/icons/%{name} svgicondir=%{buildroot}%{_iconsdir}/%{name} install -D data/spectrum3d.png %{buildroot}%{_datadir}/icons/spectrum3d.png install -D data/spectrum3d.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/spectrum3d.png %files %doc README* %{_bindir}/* %{_datadir}/applications/* %{_datadir}/icons/%{name}/* %{_datadir}/icons/hicolor/scalable/apps/%{name}.png %{_datadir}/icons/%{name}.png %changelog * Tue Feb 03 2015 Fr. Br. George 2.5.0-alt1 - Autobuild version bump to 2.5.0 - Fix icon path patch * Thu Sep 18 2014 Fr. Br. George 2.4.0-alt1 - Autobuild version bump to 2.4.0 - Fix icon path * Thu Sep 18 2014 Fr. Br. George 2.3.0-alt1 - Initial build