commit 96359b735f1d1c4ab40bcdf51f787606bb2a0fbd
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Sun Jun 6 18:33:03 2021 +0100
Just importing for history
Package was approved on 2011-05-10
https://bugzilla.rpmfusion.org/show_bug.cgi?id=1718
.gitignore | 1 +
sources | 1 +
spek.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
3 files changed, 90 insertions(+)
---
diff --git a/.gitignore b/.gitignore
index e69de29..53dfa24 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/spek-0.7.tar.bz2
diff --git a/sources b/sources
index e69de29..9c94107 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (spek-0.7.tar.bz2) =
af737bc0d5f411b048a42d140ae2235ecf6932667bff7f1f3e497568b8aa8555c80e980a5c90d71e2d48ada183dce7b909de782b57b52c4729b5d3d2e33591ba
diff --git a/spek.spec b/spek.spec
new file mode 100644
index 0000000..a13c317
--- /dev/null
+++ b/spek.spec
@@ -0,0 +1,88 @@
+Name: spek
+Version: 0.7
+Release: 3%{?dist}
+Summary: Free acoustic spectrum analyzer
+Group: Applications/Multimedia
+License: GPLv3
+URL:
http://www.spek-project.org/
+Source0:
http://spek.googlecode.com/files/%{name}-%{version}.tar.bz2
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildRequires: gtk2-devel ffmpeg-devel vala-devel
+BuildRequires: intltool gettext
+BuildRequires: desktop-file-utils
+Requires: gtk2 >= 2.18
+Requires: ffmpeg
+
+%description
+Spek helps to analyze your audio files by showing their spectrogram.
+Spectrograms are used to analyze the quality of audio files, you can easily
+detect lossy re-encodes, web-rips and other badness by just looking at the
+spectrogram. Spek uses ffmpeg to read audio files which means it supports
+most file formats you can think of.
+
+%prep
+%setup -q
+
+# Fix missing semicolons in the desktop file
+#
http://code.google.com/p/spek/issues/detail?id=49
+sed -i "s|Categories=AudioVideo;Audio|Categories=AudioVideo;Audio;|"
data/spek.desktop.in.in
+sed -i "s|application/x-dts|application/x-dts;|" data/spek.desktop.in.in
+
+%build
+%configure
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+# Remove Vala-generated C files
+pushd src && for i in *.vala; do rm `basename $i .vala`.c; done && popd
+
+make DESTDIR=%{buildroot} INSTALL="install -p" CP="cp -p" install
+
+desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
+
+%find_lang %{name}
+
+%clean
+rm -rf %{buildroot}
+
+%files -f %{name}.lang
+%defattr(-,root,root,-)
+%doc COPYING AUTHORS NEWS README
+%{_bindir}/%{name}
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/icons/*/*/apps/%{name}.*
+%{_datadir}/man/man1/%{name}.1.*
+
+%post
+update-desktop-database &> /dev/null || :
+touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+
+%postun
+update-desktop-database &> /dev/null || :
+if [ $1 -eq 0 ] ; then
+ touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
+ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+fi
+
+%posttrans
+gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
+
+%changelog
+* Tue May 10 2011 Thibault North <tnorth(a)fedoraproject.org> - 0.7-3
+- Fix buildroot
+
+* Tue May 10 2011 Thibault North <tnorth(a)fedoraproject.org> - 0.7-2
+- Fix desktop file
+
+* Sun Apr 24 2011 Thibault North <tnorth(a)fedoraproject.org> - 0.7-1
+- New upstream release
+- Drop gstreamer dependency for ffmpeg
+
+* Tue Jun 01 2010 glang <glang(a)lavabit.com> - 0.4-2
+- Added gstreamer-plugins-base and good runtime dependency
+
+* Sun May 30 2010 Christophe Donatsch <cdonatsch(a)lavabit.com> - 0.4-1
+- Initial packaging