#2 Update to new stable release 1.0 from new upstream
Closed 2 months ago by genodeftest. Opened 4 months ago by genodeftest.
rpms/ genodeftest/moodbar f29-new-upstream  into  f29

Update to new stable release 1.0 from new upstream
Christian Stadelmann • 4 months ago  

@@ -1,13 +0,0 @@ 

- diff -urNad moodbar-0.1.2~/analyzer/main.c moodbar-0.1.2/analyzer/main.c

- --- moodbar-0.1.2~/analyzer/main.c	2006-10-12 01:43:30.000000000 -0400

- +++ moodbar-0.1.2/analyzer/main.c	2007-04-01 13:20:33.000000000 -0400

- @@ -262,6 +262,9 @@

-    GOptionContext *ctx;

-    GError *err = NULL;

-  

- +  // must be called before any other glib function is called

- +  if (!g_thread_supported ()) g_thread_init(NULL);

- +

-    ctx = g_option_context_new ("[INFILE] - Run moodbar analyzer");

-    g_option_context_add_group (ctx, gst_init_get_option_group ());

-    g_option_context_add_main_entries (ctx, entries, NULL);

file modified
+39 -22

@@ -1,50 +1,67 @@ 

  Name:           moodbar

- Version:        0.1.2

- Release:        20%{?dist}

- Summary:        Identifies the "mood" of your music files

+ Version:        1.0

+ Release:        1%{?dist}

+ Summary:        Audio timeline visualization

  

  Group:          Applications/Multimedia

- License:        GPLv2+

- URL:            http://amarok.kde.org/wiki/Moodbar

- Source0:        http://pwsp.net/~qbob/moodbar-%{version}.tar.gz

+ License:        GPLv3

+ URL:            https://github.com/exaile/moodbar

+ Source0:        https://github.com/exaile/moodbar/releases/download/v%{version}/moodbar-%{version}.tar.xz

  

- # Fix a Glib crash, patch from Debian

- Patch0:         moodbar-0.1.2-glib.patch

+ BuildRequires:  meson

+ BuildRequires:  gcc-c++

  

+ BuildRequires:  pkgconfig(gstreamer-1.0)

+ BuildRequires:  pkgconfig(gstreamer-audio-1.0)

+ BuildRequires:  pkgconfig(fftw3)

+ BuildRequires:  pkgconfig(glib-2.0)

+ BuildRequires:  pkgconfig(gio-2.0)

  

- BuildRequires:  gcc

- BuildRequires:  gstreamer-devel, fftw-devel

+ # Requirements for testing the package

+ BuildRequires:  python3

+ BuildRequires:  python3-numpy

+ BuildRequires:  gstreamer1

  

  %description

- Moodbar is a program that takes a music file and generates a .mood file

- identifying the "mood" of the music.

- Amarok can then use it to figure out when something interesting happens

- in the song.

+ Moodbar is a music visualization method that assigns colors to different parts

+ of a track and presents them as a timeline.

+ Applied to a music player, the main goal is to help the user navigate within a

+ particular track.

+ For example, if the user wants to skip to the first chorus of a song, a good

+ moodbar implementation should be able to provide a hint of where this might

+ occur in the timeline.

  

  %prep

  %setup -q

- %patch0 -p1 -b .glib

  

  

  %build

- %configure --disable-static

- make %{?_smp_mflags}

+ %meson

+ %meson_build

  

  

  %install

- rm -rf $RPM_BUILD_ROOT

- make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT

- rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-*/libmoodbar.la

+ %meson_install

  

  

+ %check

+ %meson_test

+ 

+ 

+ %post -p /sbin/ldconfig

+ %postun -p /sbin/ldconfig

+ 

  

  %files

- %doc AUTHORS COPYING ChangeLog NEWS README TODO

  %{_bindir}/%{name}

- %{_libdir}/gstreamer-*/libmoodbar.so

  

  

  %changelog

+ * Sat Apr 27 2019 Christian Stadelmann <genodeftest@fedoraproject.org> - 1.0-1

+ - Update to new stable release with new upstream URL at the Exaile project

+ - Drop old patch, update license, update description

+ - Run tests

+ 

  * Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.2-20

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild

  

  • Update to new stable release with new upstream URL at the Exaile project
  • Drop old patch, update license, update description
  • Enable running tests

rebased onto 6e7be26

4 months ago

rebased onto ad505bc

4 months ago

rebased onto 5163486

2 months ago

Pull-Request has been closed by genodeftest

2 months ago