[audacious-plugin-fc] - Require specific audacious(plugin-api) capability.

Michael Schwendt mschwendt at fedoraproject.org
Thu Jan 27 10:56:17 UTC 2011


commit 4b1cdf04e1c0617b8f6f80d32749cc82d19f383f
Author: Michael Schwendt <mschwendt at fedoraproject.org>
Date:   Thu Jan 27 11:56:02 2011 +0100

    - Require specific audacious(plugin-api) capability.

 audacious-plugin-fc.spec |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)
---
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 <mschwendt at fedoraproject.org> - 0.6-3
+- Require specific audacious(plugin-api) capability.
+
 * Thu Dec  9 2010 Michael Schwendt <mschwendt at fedoraproject.org> - 0.6-2
 - Rebuild for Audacious 2.4.2 generic plugin API/ABI bump.
 


More information about the scm-commits mailing list