diff --git a/audacious-plugin-fc.spec b/audacious-plugin-fc.spec index 40ed9a5..fca0270 100644 --- a/audacious-plugin-fc.spec +++ b/audacious-plugin-fc.spec @@ -1,13 +1,13 @@ # Minimum audacious/audacious-plugins version in inter-package # dependencies. We need 2.4 for both. -%define aud_ver 2.4.2 +%global aud_ver 2.4.2 -%define plugindir %(pkg-config audacious --variable=input_plugin_dir) +%global plugindir %(pkg-config audacious --variable=input_plugin_dir) Summary: Future Composer input plugin for Audacious Name: audacious-plugin-fc Version: 0.6 -Release: 2%{?dist} +Release: 3%{?dist} URL: http://xmms-fc.sourceforge.net/ License: GPLv2+ Source: http://downloads.sourceforge.net/xmms-fc/audacious-plugin-fc-%{version}.tar.bz2 @@ -19,6 +19,7 @@ BuildRequires: pkgconfig Provides: audacious-plugins-fc = %{version}-%{release} Requires: audacious >= %{aud_ver} +Requires: audacious(plugin-api) = %(grep '[ ]*#define[ ]*__AUDACIOUS_PLUGIN_API__' %{_includedir}/audacious/plugin.h | sed 's!.*__AUDACIOUS_PLUGIN_API__[ ]*\([0-9]\+\).*!\1!') %description @@ -52,6 +53,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* 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.