Author: jwrdegoede
Update of /cvs/free/rpms/audacious-plugins-freeworld/devel
In directory se02.es.rpmfusion.net:/tmp/cvs-serv27620
Modified Files:
audacious-plugins-freeworld.spec
Log Message:
Fix parsing of spec file outside buildroot
Index: audacious-plugins-freeworld.spec
===================================================================
RCS file:
/cvs/free/rpms/audacious-plugins-freeworld/devel/audacious-plugins-freeworld.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- audacious-plugins-freeworld.spec 28 Jan 2011 09:52:10 -0000 1.13
+++ audacious-plugins-freeworld.spec 28 Jan 2011 10:37:23 -0000 1.14
@@ -51,7 +51,9 @@
%package mp3
Summary: MP3 playback plugin for Audacious
Group: Applications/Multimedia
+%if %(test -f %{_includedir}/audacious/plugin.h && echo 1 || echo 0)
Requires: audacious(plugin-api) = %{aud_plugin_api}
+%endif
Requires(post): desktop-file-utils >= 0.9
Requires(postun): desktop-file-utils >= 0.9
@@ -71,7 +73,9 @@
%package aac
Summary: AAC playback plugin for Audacious
Group: Applications/Multimedia
+%if %(test -f %{_includedir}/audacious/plugin.h && echo 1 || echo 0)
Requires: audacious(plugin-api) = %{aud_plugin_api}
+%endif
Requires(post): desktop-file-utils >= 0.9
Requires(postun): desktop-file-utils >= 0.9
@@ -91,7 +95,9 @@
%package ffaudio
Summary: FFMpeg/FAAD2 based input plugin for Audacious
Group: Applications/Multimedia
-Requires: audacious(plugin-api) = %{aud_plugin_api}
+%if %(test -f %{_includedir}/audacious/plugin.h && echo 1 || echo 0)
+Requires: audacious(plugin-api) = %{aud_plugin_api}
+%endif
Requires(post): desktop-file-utils >= 0.9
Requires(postun): desktop-file-utils >= 0.9
@@ -113,7 +119,9 @@
%package mms
Summary: MMS stream plugin for Audacious
Group: Applications/Multimedia
+%if %(test -f %{_includedir}/audacious/plugin.h && echo 1 || echo 0)
Requires: audacious(plugin-api) = %{aud_plugin_api}
+%endif
# obsolete old livna package
Provides: audacious-plugins-nonfree-mms = %{version}-%{release}