Put the fluidsynth plugin in its own subpackage and make it require

soundfont2-default (rhbz#1078925)
This commit is contained in:
Hans de Goede 2014-03-20 17:23:51 +01:00
parent 7905a61100
commit 71a5f96bda

View File

@ -10,7 +10,7 @@
Name: gstreamer1-plugins-bad-free Name: gstreamer1-plugins-bad-free
Version: 1.2.3 Version: 1.2.3
Release: 2%{?dist} Release: 3%{?dist}
Summary: GStreamer streaming media framework "bad" plugins Summary: GStreamer streaming media framework "bad" plugins
License: LGPLv2+ and LGPLv2 License: LGPLv2+ and LGPLv2
@ -107,6 +107,22 @@ This package (%{name}-extras) contains
extra "bad" plugins for sources (mythtv), sinks (fbdev) and extra "bad" plugins for sources (mythtv), sinks (fbdev) and
effects (pitch) which are not used very much and require additional effects (pitch) which are not used very much and require additional
libraries to be installed. libraries to be installed.
%package fluidsynth
Summary: GStreamer "bad" plugins fluidsynth plugin
Requires: %{name} = %{version}-%{release}
Requires: soundfont2-default
%description fluidsynth
GStreamer is a streaming media framework, based on graphs of elements which
operate on media data.
gstreamer-plugins-bad contains plug-ins that aren't tested well enough,
or the code is not of good enough quality.
This package (%{name}-fluidsynth) contains the fluidsynth plugin which allows
playback of midi files.
%endif %endif
@ -136,7 +152,9 @@ aren't tested well enough, or the code is not of good enough quality.
--enable-debug --disable-static --enable-experimental \ --enable-debug --disable-static --enable-experimental \
--disable-dts --disable-faac --disable-faad --disable-nas \ --disable-dts --disable-faac --disable-faad --disable-nas \
--disable-mimic --disable-libmms --disable-mpeg2enc --disable-mplex \ --disable-mimic --disable-libmms --disable-mpeg2enc --disable-mplex \
--disable-neon --disable-openal --disable-rtmp --disable-xvid --disable-neon --disable-openal --disable-rtmp --disable-xvid \
--disable-eglgles --disable-mpg123 --disable-ofa --disable-opencv \
--disable-openjpeg --disable-uvch264 --disable-voamrwbenc --disable-webp
make %{?_smp_mflags} make %{?_smp_mflags}
@ -250,12 +268,16 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcamerab
%{_libdir}/gstreamer-%{majorminor}/libgstassrender.so %{_libdir}/gstreamer-%{majorminor}/libgstassrender.so
%{_libdir}/gstreamer-%{majorminor}/libgstcurl.so %{_libdir}/gstreamer-%{majorminor}/libgstcurl.so
%{_libdir}/gstreamer-%{majorminor}/libgstdecklink.so %{_libdir}/gstreamer-%{majorminor}/libgstdecklink.so
%{_libdir}/gstreamer-%{majorminor}/libgstfluidsynthmidi.so
%{_libdir}/gstreamer-%{majorminor}/libgstkate.so %{_libdir}/gstreamer-%{majorminor}/libgstkate.so
%{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so %{_libdir}/gstreamer-%{majorminor}/libgstmodplug.so
%{_libdir}/gstreamer-%{majorminor}/libgstschro.so %{_libdir}/gstreamer-%{majorminor}/libgstschro.so
%{_libdir}/gstreamer-%{majorminor}/libgstzbar.so %{_libdir}/gstreamer-%{majorminor}/libgstzbar.so
%{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so %{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so
%files fluidsynth
# Plugins with external dependencies
%{_libdir}/gstreamer-%{majorminor}/libgstfluidsynthmidi.so
%endif %endif
@ -291,6 +313,10 @@ chrpath --delete $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/libgstcamerab
%{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc %{_libdir}/pkgconfig/gstreamer-plugins-bad-%{majorminor}.pc
%changelog %changelog
* Thu Mar 20 2014 Hans de Goede <hdegoede@}redhat.com> - 1.2.3-3
- Put the fluidsynth plugin in its own subpackage and make it require
soundfont2-default (rhbz#1078925)
* Wed Mar 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.3-2 * Wed Mar 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.2.3-2
- Bump (libass) - Bump (libass)