update to 1.2.1 [release 1.2.1-1mamba;Mon Jul 12 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 07:14:29 +01:00
parent 50a4b2e77f
commit 9eaf739781

View File

@ -1,47 +1,50 @@
Name: moodbar
Version: 0.1.2
Release: 3mamba
Version: 1.2.1
Release: 1mamba
Summary: Creates a colorful visual representation of the contents of an audio file
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://amarok.kde.org/wiki/Moodbar
Source: http://pwsp.net/~qbob/moodbar-%{version}.tar.gz
URL: https://amarok.kde.org/wiki/Moodbar
Source: https://github.com/exaile/moodbar/releases/download/v%{version}/moodbar-%{version}.tar.xz
#Source: http://pwsp.net/~qbob/moodbar-%{version}.tar.gz
Patch0: %{name}-0.1.2-g_thread_init.patch
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libfftw-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libselinux-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: pkgconfig
Requires: gst-plugins-ugly
Provides: gst-plugins-moodbar = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
#Requires: gst-plugins-ugly
#Provides: gst-plugins-moodbar = %{?epoch:%epoch:}%{version}-%{release}
%description
The Moodbar is an algorithm for creating a colorful visual representation of the contents of an audio file, giving an idea of its "mood" (this is a rather fanciful term for the simple analysis it actually does).
The Moodbar was invented by Gavin Wood and Simon O'Keefe for inclusion in the Amarok music player.
This package contains a GStreamer plugin with elements that are used in the moodbar analysis, and an application that actually does the analysis.
%debug_package
%prep
%setup -q
%patch0 -p1
#%patch0 -p1
%build
%configure
%make
%meson
%meson_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%meson_install
rm -f %{buildroot}%{_libdir}/gstreamer-0.10/libmoodbar.a
#rm -f %{buildroot}%{_libdir}/gstreamer-0.10/libmoodbar.a
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -49,11 +52,15 @@ rm -f %{buildroot}%{_libdir}/gstreamer-0.10/libmoodbar.a
%files
%defattr(-,root,root)
%{_bindir}/moodbar
%{_libdir}/gstreamer-0.10/libmoodbar.la
%{_libdir}/gstreamer-0.10/libmoodbar.so
%doc AUTHORS COPYING ChangeLog NEWS README TODO
#%{_libdir}/gstreamer-0.10/libmoodbar.la
#%{_libdir}/gstreamer-0.10/libmoodbar.so
%doc COPYING
#ChangeLog NEWS README TODO
%changelog
* Mon Jul 12 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- update to 1.2.1
* Mon Jul 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1.2-3mamba
- added requirement for gst-plugins-ugly (for libmad plugin)