<div dir="ltr"><div><Duh><br></div>Thank you!<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 29, 2013 at 12:38 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="im">On 04/29/2013 10:16 AM, Chuck Crisler wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
%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/" target="_blank">http://gstreamer.freedesktop.<u></u>org/</a><br>
Vendor: GStreamer Backpackers Team<br>
<<a href="mailto:package@gstreamer.freedesktop.org" target="_blank">package@gstreamer.<u></u>freedesktop.org</a><br></div>
<mailto:<a href="mailto:package@gstreamer.freedesktop.org" target="_blank">package@gstreamer.<u></u>freedesktop.org</a>>><div><div class="h5"><br>
Source:<br>
<a href="http://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-%{version}.tar.gz" target="_blank">http://gstreamer.freedesktop.<u></u>org/src/gst-plugins-bad/gst-<u></u>plugins-bad-%{version}.tar.gz</a><br>
BuildRoot:<br>
%{_tmppath}/%{name}-%{version}<u></u>-%{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<br>
--disable-lv2 \<br>
--disable-musicbrainz --disable-mythtv --disable-soundtouch<br>
--disable-theoradec --disable-vdpau \<br>
--disable-vp8 --disable-videomaxrate --disable-shm<br>
--disable-invtelecine --disable-ivfparse \<br>
--disable-jpegformat --disable-geometrictransform<br>
--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}/<u></u>gstreamer-%{majorminor}/*.la<br>
rm -f $RPM_BUILD_ROOT%{_libdir}/<u></u>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}/<u></u>gstreamer-%{majorminor}/gst/<u></u>video/*.h<br>
rm -f<br>
$RPM_BUILD_ROOT%{_includedir}/<u></u>gstreamer-%{majorminor}/gst/<u></u>signalprocessor/*.h<br>
rm -f<br>
$RPM_BUILD_ROOT%{_includedir}/<u></u>gstreamer-%{majorminor}/gst/<u></u>interfaces/*.h<br>
sudo rm -f %{_libdir}/pkgconfig/<u></u>gstreamer-plugins-bad-0.10.pc<br>
</div></div></blockquote>
<br>
For your current spec to work change the above to<br>
<br>
rm $RPM_BUILD_ROOT/%{_libdir}/<u></u>pkgconfig/gstreamer-plugins-<u></u>bad-0.10.pc<div class="HOEnZb"><div class="h5"><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>
</div></div></blockquote></div><br></div>