<div dir="ltr"><div>%define majorminor 0.10<br>%define gstreamer gstreamer<br><br>%define gst_minver 0.10.0<br><br>Name: %{gstreamer}-plugins-bad<br>Version: 0.10.20<br>Release: 1.gst<br>Summary: GStreamer plug-ins of bad quality<br>
<br>%define majorminor 0.10<br><br>Group: Applications/Multimedia<br>License: LGPL<br>URL: <a href="http://gstreamer.freedesktop.org/">http://gstreamer.freedesktop.org/</a><br>Vendor: GStreamer Backpackers Team <<a href="mailto:package@gstreamer.freedesktop.org">package@gstreamer.freedesktop.org</a>><br>
Source: <a href="http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.gz">http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.gz</a><br>BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)<br>
<br>Requires: %{gstreamer} >= %{gst_minver}<br>BuildRequires: %{gstreamer}-devel >= %{gst_minver}<br><br>BuildRequires: gcc-c++<br>BuildRequires: ladspa-devel<br>BuildRequires: faad2-devel >= 2.0<br>
#BuildRequires: gsm-devel >= 1.0.10<br>#Requires: SDL >= 1.2.0<br>#BuildRequires: swfdec-devel<br>Provides: gstreamer-faad = %{version}-%{release}<br>Requires: faac >= 1.23<br>#Provides: gstreamer-gsm = %{version}-%{release}<br>
Requires: libmms >= 0.1<br>#Requires: gmyth<br><br>%description<br>GStreamer is a streaming media framework, based on graphs of filters which<br>operate on media data. Applications using this library can do anything<br>
from real-time sound processing to playing videos, and just about anything<br>else media-related. Its plugin-based architecture means that new data<br>types or processing capabilities can be added simply by installing new<br>
plug-ins.<br><br>This package contains GStreamer Plugins that are considered to be of bad<br>quality, even though they might work.<br><br>%prep<br>%setup -q -n gst-plugins-bad-%{version}<br><br>%build<br>./configure --prefix=/usr --enable-orc --enable-resindvd --disable-cdaudio \<br>
--disable-quicktime --disable-jack --disable-cog --disable-dirac --disable-lv2 \<br> --disable-musicbrainz --disable-mythtv --disable-soundtouch --disable-theoradec --disable-vdpau \<br> --disable-vp8 --disable-videomaxrate --disable-shm --disable-invtelecine --disable-ivfparse \<br>
--disable-jpegformat --disable-geometrictransform --disable-gaudieffects --disable-coloreffects \<br> --disable-dataurisrc --disable-modplug --disable-segmentclip \<br> --enable-ofa --enable-shared --enable-debug=no CFLAGS=-O2<br>
<br>make %{?_smp_mflags}<br><br>%install<br>rm -rf $RPM_BUILD_ROOT<br><br>%makeinstall<br> <br># Clean out files that should not be part of the rpm.<br>
rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.la<br>rm -f $RPM_BUILD_ROOT%{_libdir}/gstreamer-%{majorminor}/*.a<br>rm -f $RPM_BUILD_ROOT%{_libdir}/*.a<br>rm -f $RPM_BUILD_ROOT%{_libdir}/*.la<br><br>rm -f $RPM_BUILD_ROOT%{_includedir}/gstreamer-%{majorminor}/gst/video/*.h<br>
rm -f $RPM_BUILD_ROOT%{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor/*.h<br>rm -f $RPM_BUILD_ROOT%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/*.h<br>sudo rm -f %{_libdir}/pkgconfig/gstreamer-plugins-bad-0.10.pc<br>
<br>%find_lang gst-plugins-bad-%{majorminor}<br><br>%clean<br>rm -rf $RPM_BUILD_ROOT<br><br>%files -f gst-plugins-bad-%{majorminor}.lang<br>%defattr(-, root, root)<br>%doc AUTHORS COPYING README REQUIREMENTS gst-plugins-bad.doap<br>
<br># non-core plugins without external dependencies<br>%{_libdir}/gstreamer-%{majorminor}/libgsttta.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstspeed.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstcdxaparse.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstfreeze.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgsth264parse.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstnsf.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstnuvdemux.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstrfbsrc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstreal.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstmve.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmpegvideoparse.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstbayer.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstdvdspu.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstfestival.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgststereo.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstvcdsrc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstdvb.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstsdpelem.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmpeg4videoparse.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstfbdevsink.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstrawparse.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstselector.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstsubenc.so<br>
%{_libdir}/gstreamer-%{majorminor}/libresindvd.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstaiff.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstdccp.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstpcapparse.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmpegtsmux.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstscaletempoplugin.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmpegdemux.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstjp2k.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstapexsink.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstqtmux.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstlegacyresample.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmxf.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstvmnc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstvideosignal.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstvalve.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstautoconvert.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstdtmf.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstliveadder.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstrtpmux.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstsiren.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstadpcmdec.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstadpcmenc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstid3tag.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgsthdvparse.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstdebugutilsbad.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstasfmux.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstpnm.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstvideomeasure.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstaudioparsersbad.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstrsvg.so<br><br>#%{_includedir}/gstreamer-%{majorminor}/gst/video/gstbasevideocodec.h<br>
#%{_includedir}/gstreamer-%{majorminor}/gst/video/gstbasevideodecoder.h<br>#%{_includedir}/gstreamer-%{majorminor}/gst/video/gstbasevideoencoder.h<br>#%{_includedir}/gstreamer-%{majorminor}/gst/video/gstbasevideoparse.h<br>
#%{_includedir}/gstreamer-%{majorminor}/gst/video/gstbasevideoutils.h<br>#%{_includedir}/gstreamer-%{majorminor}/gst/signalprocessor/gstsignalprocessor.h<br><br>#%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography-enumtypes.h<br>
#%{_includedir}/gstreamer-%{majorminor}/gst/interfaces/photography.h<br>%{_libdir}/<a href="http://libgstphotography-0.10.so">libgstphotography-0.10.so</a><br>%{_libdir}/gstreamer-%{majorminor}/libgstcamerabin.so<br>%{_libdir}/libgstphotography-%{majorminor}.so.0<br>
%{_libdir}/libgstphotography-%{majorminor}.so.0.0.0<br>%{_libdir}/libgstbasevideo*<br>%{_libdir}/libgstsignalprocessor*<br>%{_libdir}/gstreamer-%{majorminor}/libgstmpegpsmux.so<br><br># hopefully very shortlived .pc file for bad<br>
#%{_libdir}/pkgconfig/gstreamer-plugins-bad-0.10.pc<br><br># gstreamer-plugins with external dependencies but in the main package<br>%{_libdir}/gstreamer-%{majorminor}/libgstfaad.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstfaac.so<br>
#%{_libdir}/gstreamer-%{majorminor}/libgsttrm.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstsdl.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstswfdec.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmms.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstxvid.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstbz2.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstneonhttpsrc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstalsaspdif.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstmusepack.so<br>
#%{_libdir}/gstreamer-%{majorminor}/libgstgsm.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstdtsdec.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstladspa.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstmythtvsrc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstdc1394.so<br>
#%{_libdir}/gstreamer-%{majorminor}/libgsttimidity.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstwildmidi.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstjack.so<br>#%{_libdir}/gstreamer-%{majorminor}/libgstsndfile.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstcelt.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmpeg2enc.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmplex.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstkate.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstassrender.so<br>
%{_libdir}/gstreamer-%{majorminor}/libgstfrei0r.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstschro.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstofa.so<br>%{_libdir}/gstreamer-%{majorminor}/libgstmetadata.so<br><br>%changelog<br>
* Thu Mar 12 2009 Christian Schaller <chrisian.schaller at collabora dot co uk><br>- Add Celt, mpeg2enc and mplex plugins to spec file<br><br>* Thu Oct 9 2008 Christian Schaller <chrisian.schaller at collabora dot co uk><br>
- flacparse, flvmux and j2kdec plugins added<br><br>* Mon Sep 1 2008 Christian Schaller <christian.schaller at collabora dot co uk><br>- Add tsmux and scaletempo plugins<br><br>* Fri May 2 2008 Christian Schaller <christian.schaller at collabora dot co uk><br>
- Add Wildmidi plugin<br><br>* Mon Apr 14 2008 Tim-Philipp Müller <tim.muller at collabora dot co uk><br>- Remove souphttpsrc plugin, which has moved to gst-plugins-good.<br><br>* Thu Apr 3 2008 Christian Schaller <christian.schaller at collabora dot co uk><br>
- Add new OSSv4 plugin to SPEC file<br><br>* Tue Apr 1 2008 Tim-Philipp Müller <tim.muller at collabora dot co uk><br>- Update spec file for srtenc plugin rename to subenc<br><br>* Tue Apr 1 2008 Christian Schaller <christian.schaller at collabora dot co uk><br>
- Update spec with libgstsrtenc plugin<br><br>* Wed Jan 23 2008 Christian Schaller <christian.schaller at collabora dot co uk><br>- Update spec with fbdev sink and rawparse, remove videoparse<br><br>* Fri Dec 14 2007 Christian Schaller <christian.schaller at collabora dot co uk><br>
- Update spec file with timidity, libgstdvb, libgstsdpelem, libgstspeexresample, libgstmpeg4videoparse<br><br>* Tue Jun 12 2007 Jan Schmidt <jan at fluendo dot com><br>- wavpack and qtdemux have moved to good.<br><br>
* Thu Mar 22 2007 Christian Schaller <christian at fluendo dot com><br>- Add x264 and mpegvideoparse plugins<br><br>* Fri Dec 15 2006 Thomas Vander Stichele <thomas at apestaart dot org><br>- add doap file<br>
- more cleanup<br><br>* Sun Nov 27 2005 Thomas Vander Stichele <thomas at apestaart dot org><br>- redone for split<br><br></div>Thank you!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 12:09 PM, Nathanael D. Noblet <span dir="ltr"><<a href="mailto:nathanael@gnat.ca" target="_blank">nathanael@gnat.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On 04/29/2013 10:01 AM, Chuck Crisler wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am trying to build v 0.10.20 of the bad plugins RPM. Almost everything<br>
is working except that the rpmbuild process is copying some header files<br>
(gst/video, gst/signalprocessor and gst/interfaces) and the<br>
gstreamer-plugins-bad-0.10.pc file, which cause dependency problems in<br>
the resulting RPM. I am not sure if the *.h files are really causing a<br>
problem but the PC file does establish dependency issues. Since this is<br>
supposed to be an RPM to distribute binaries, not a devel RPM, why are<br>
these files being included? I have modified the spec file to delete the<br>
headers but the PC file is troublesome since normal users can't delete<br>
it (rw_r__r__).<br>
</blockquote>
<br></div></div>
Post your specfile via pastebin or something and I can perhaps help clean that part up...<span class="HOEnZb"><font color="#888888"><br>
<br>
<br>
-- <br>
Nathanael d. Noblet<br>
t <a href="tel:403.875.4613" value="+14038754613" target="_blank">403.875.4613</a><br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</font></span></blockquote></div><br></div>