%global aud_plugin_api %(grep '[ ]*#define[ ]*_AUD_PLUGIN_VERSION[ ]\\+' %{_includedir}/audacious/plugin.h 2>/dev/null | sed 's!.*_AUD_PLUGIN_VERSION[ ]*\\([0-9]\\+\\).*!\\1!') %if 0%{aud_plugin_api} > 0 %global aud_plugin_dep Requires: audacious(plugin-api)%{?_isa} = %{aud_plugin_api} %endif %{?aud_plugin_dep} %global plugindir %(pkg-config audacious --variable=input_plugin_dir 2>/dev/null) Summary: Future Composer input plugin for Audacious Name: audacious-plugin-fc Version: 0.6 Release: 19%{?dist} Provides: audacious-plugins-fc = %{version}-%{release} URL: http://xmms-fc.sourceforge.net/ License: GPLv2+ Group: Applications/Multimedia Source: http://downloads.sourceforge.net/xmms-fc/audacious-plugin-fc-%{version}.tar.bz2 # post 0.6.1, committed upstream Patch0: audacious-plugin-fc-0.6-aud30.patch # port to Audacious 3.1 API, committed upstream Patch1: audacious-plugin-fc-0.6-aud31.patch # port to Audacious 3.2 API Patch2: audacious-plugin-fc-0.6-aud37.patch # since Audacious 3.2-beta1 # need glib-2.0.pc and gtk+-3.0.pc CFLAGS and include glib.h early Patch3: audacious-plugin-fc-0.6-aud38.patch # Patch4: audacious-plugin-fc-0.6-aud40.patch BuildRequires: audacious-devel BuildRequires: libfc14audiodecoder-devel BuildRequires: pkgconfig %description This is an input plugin for Audacious which can play back Future Composer music files from AMIGA. Song-length detection and seek are implemented, too. %prep # Enforce availability of the audacious(plugin-api) dependency. %{!?aud_plugin_dep:echo 'No audacious(plugin-api) dependency!' && exit -1} %setup -q %patch0 -p1 -b .aud30 %patch1 -p1 -b .aud31 %patch2 -p1 -b .aud37 %patch3 -p1 -b .aud38 %patch4 -p1 -b .aud40 %build %configure make %{?_smp_mflags} %install make DESTDIR=${RPM_BUILD_ROOT} install %files %doc COPYING README %{plugindir}/fcdecoder.so %exclude %{plugindir}/fcdecoder.la %changelog * Wed Jul 18 2012 Fedora Release Engineering - 0.6-19 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Mon Jun 18 2012 Michael Schwendt - 0.6-18 - Rebuild for Audacious 3.3-alpha1 generic plugin API/ABI bump. - Patch for Audacious 3.3-alpha1 API changes. * Thu Jan 12 2012 Fedora Release Engineering - 0.6-17 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Jan 2 2012 Michael Schwendt - 0.6-16 - Rebuild for Audacious 3.2-beta1 generic plugin API/ABI bump. - Patch for Audacious 3.2-beta1 glib/gtk related header changes. * Fri Dec 23 2011 Michael Schwendt - 0.6-15 - Rebuild for Audacious 3.2-alpha1 generic plugin API/ABI bump. - Patch for Audacious 3.2-alpha1 API changes. * Wed Oct 26 2011 Michael Schwendt - 0.6-14 - Rebuild for Audacious 3.1-beta3 generic plugin API/ABI bump. * Fri Oct 14 2011 Michael Schwendt - 0.6-13 - Set config defaults, which helps with cleaning up the config file. - Include missing misc.h for the config database API. - Port to Audacious 3.1 Preferences API. - Rebuild for Audacious 3.1-beta1 generic plugin API/ABI bump. * Fri Sep 16 2011 Michael Schwendt - 0.6-10 - Depend on audacious(plugin-api)%%{?_isa}. - Drop %%defattr line. * Wed Jul 6 2011 Michael Schwendt - 0.6-9 - Add missing preferences widget config types. * Mon Jul 4 2011 Michael Schwendt - 0.6-8 - Rebuild for Audacious 3.0-beta1 generic plugin API/ABI bump. * Wed Jun 15 2011 Michael Schwendt - 0.6-7 - Patch for Audacious 3.0-alpha1 GUI API. * Wed Feb 23 2011 Michael Schwendt - 0.6-6 - Update the audacious(plugin-api) stuff in the spec file, so the new _AUD_PLUGIN_VERSION_MIN is not taken by mistake. - Merge from 0.6-3.0.1: - Patch and rebuild for Audacious 2.5-alpha1 generic plugin API bump. * Mon Feb 07 2011 Fedora Release Engineering - 0.6-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Fri Feb 4 2011 Michael Schwendt - 0.6-4 - No build: wait for mass-rebuild in Rawhide. - Enhance the audacious(plugin-api) stuff in the spec file. * Thu Jan 27 2011 Michael Schwendt - 0.6-3 - Require specific audacious(plugin-api) capability. * Thu Dec 9 2010 Michael Schwendt - 0.6-2 - Rebuild for Audacious 2.4.2 generic plugin API/ABI bump. * Sun Aug 22 2010 Michael Schwendt - 0.6-1 - Update to 0.6 (merged API patches). * Fri Jul 23 2010 Michael Schwendt - 0.5.1-4 - Larger patch, also to remove deprecated API usage. * Wed Jul 21 2010 Michael Schwendt - 0.5.1-3 - Patch and rebuild for Audacious 2.4 beta1 generic plugin API/ABI bump. * Thu Jul 15 2010 Michael Schwendt - 0.5.1-2 - Rebuild for Audacious 2.4 alpha3 generic plugin API/ABI bump. * Sun Jul 11 2010 Michael Schwendt - 0.5.1-1 - Update to 0.5.1 (should fix big-endian platforms). * Sat Jul 10 2010 Michael Schwendt - 0.5-2 - Display "4 channels". * Sun Jun 20 2010 Michael Schwendt - 0.5-1 - Upgrade to 0.5 for libfc14audiodecoder. * Sat Jun 12 2010 Michael Schwendt - 0.4-4 - Patch for Audacious 2.4 API changes. * Sun Jan 17 2010 Michael Schwendt - 0.4-3 - Rebuild for audacious.pc --libs changes. * Sat Oct 24 2009 Michael Schwendt - 0.4-2 - Set empty/unknown initial songtime instead of 0:00. * Fri Oct 23 2009 Michael Schwendt - 0.4-1 - Upgrade to 0.4 for Audacious 2.2 InputPlugin API changes. * Fri Jul 24 2009 Fedora Release Engineering - 0.3-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild * Sun Jun 7 2009 Michael Schwendt - 0.3-4 - Patch for Audacious 2. * Fri Jun 5 2009 Michael Schwendt - 0.3-3 - Rebuild for libmowgli SONAME dependency. - Add audacious-plugins-fc Provides. * Mon Feb 23 2009 Fedora Release Engineering - 0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Thu Oct 16 2008 Michael Schwendt - 0.3-1 - Update to 0.3 for Audacious >= 1.4.0. * Fri Aug 29 2008 Michael Schwendt - 0.2-7 - in %%build add work-around for #454364 (libSAD API headers are broken) * Fri Feb 08 2008 Michael Schwendt - rebuilt for GCC 4.3 as requested by Fedora Release Engineering * Wed Nov 21 2007 Michael Schwendt - 0.2-5 - patch for new API - rebuilt for SONAME changes in Audacious 1.4.x * Tue Aug 21 2007 Michael Schwendt - rebuilt * Thu Aug 2 2007 Michael Schwendt - 0.2-2 - clarify licence (GPLv2+) * Thu Mar 8 2007 Michael Schwendt - 0.2-1 - Upstream update to 0.2 for Audacious >= 1.3.0. * Thu Jan 18 2007 Michael Schwendt - 0.1-2 - Initial package submission for Fedora Package Review (#222648).