rpms/moodbar/F-8 moodbar-0.1.2-glib.patch, NONE, 1.1 moodbar.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Aurelien Bompard (abompard) fedora-extras-commits at redhat.com
Wed Jan 2 21:37:26 UTC 2008


Author: abompard

Update of /cvs/pkgs/rpms/moodbar/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28988/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	moodbar-0.1.2-glib.patch moodbar.spec 
Log Message:
initial import

moodbar-0.1.2-glib.patch:

--- NEW FILE moodbar-0.1.2-glib.patch ---
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);


--- NEW FILE moodbar.spec ---
Name:           moodbar
Version:        0.1.2
Release:        3%{?dist}
Summary:        Identifies the "mood" of your music files

Group:          Applications/Multimedia
License:        GPLv2+
URL:            http://amarok.kde.org/wiki/Moodbar
Source0:        http://pwsp.net/~qbob/moodbar-%{version}.tar.gz

# Fix a Glib crash, patch from Debian
Patch0:         moodbar-0.1.2-glib.patch

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gstreamer-devel, fftw-devel

%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.

%prep
%setup -q
%patch0 -p1 -b .glib


%build
%configure --disable-static
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install INSTALL="%{__install} -p" DESTDIR=$RPM_BUILD_ROOT
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-*/libmoodbar.la


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc AUTHORS COPYING ChangeLog NEWS README TODO
%{_bindir}/%{name}
%{_libdir}/gstreamer-*/libmoodbar.so


%changelog
* Sun Dec 30 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.1.2-3
- remove versioned dependency

* Sat Dec 29 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.1.2-2
- fixes from the review request (#251950), thanks to Debarshi Ray

* Mon Aug 13 2007 Aurelien Bompard <abompard at fedoraproject.org> 0.1.2-1
- initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/moodbar/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	30 Dec 2007 17:52:54 -0000	1.1
+++ .cvsignore	2 Jan 2008 21:36:47 -0000	1.2
@@ -0,0 +1 @@
+moodbar-0.1.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/moodbar/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	30 Dec 2007 17:52:54 -0000	1.1
+++ sources	2 Jan 2008 21:36:47 -0000	1.2
@@ -0,0 +1 @@
+28c8eb65e83b30f71b84be4fab949360  moodbar-0.1.2.tar.gz




More information about the fedora-extras-commits mailing list