building the bad RPM

Chuck Crisler ccrisler at mutualink.net
Mon Apr 29 09:53:51 PDT 2013


<Duh>
Thank you!


On Mon, Apr 29, 2013 at 12:38 PM, Nathanael D. Noblet <nathanael at gnat.ca>wrote:

> On 04/29/2013 10:16 AM, Chuck Crisler wrote:
>
>> %define majorminor  0.10
>> %define gstreamer   gstreamer
>>
>> %define gst_minver   0.10.0
>>
>> Name:         %{gstreamer}-plugins-bad
>> Version:     0.10.20
>> Release:     1.gst
>> Summary:     GStreamer plug-ins of bad quality
>>
>> %define     majorminor    0.10
>>
>> Group:         Applications/Multimedia
>> License:     LGPL
>> URL: http://gstreamer.freedesktop.**org/<http://gstreamer.freedesktop.org/>
>> Vendor:         GStreamer Backpackers Team
>> <package at gstreamer.**freedesktop.org <package at gstreamer.freedesktop.org>
>> <mailto:package at gstreamer.**freedesktop.org<package at gstreamer.freedesktop.org>
>> >>
>>
>> Source:
>> http://gstreamer.freedesktop.**org/src/gst-plugins-bad/gst-**
>> plugins-bad-%{version}.tar.gz
>> BuildRoot:
>> %{_tmppath}/%{name}-%{version}**-%{release}-root-%(%{__id_u} -n)
>>
>> Requires:         %{gstreamer} >= %{gst_minver}
>> BuildRequires:    %{gstreamer}-devel >= %{gst_minver}
>>
>> BuildRequires:  gcc-c++
>> BuildRequires: ladspa-devel
>> BuildRequires:  faad2-devel >= 2.0
>> #BuildRequires:  gsm-devel >= 1.0.10
>> #Requires:      SDL >= 1.2.0
>> #BuildRequires:  swfdec-devel
>> Provides:      gstreamer-faad = %{version}-%{release}
>> Requires:      faac >= 1.23
>> #Provides:       gstreamer-gsm = %{version}-%{release}
>> Requires: libmms >= 0.1
>> #Requires: gmyth
>>
>> %description
>> GStreamer is a streaming media framework, based on graphs of filters which
>> operate on media data. Applications using this library can do anything
>> from real-time sound processing to playing videos, and just about anything
>> else media-related.  Its plugin-based architecture means that new data
>> types or processing capabilities can be added simply by installing new
>> plug-ins.
>>
>> This package contains GStreamer Plugins that are considered to be of bad
>> quality, even though they might work.
>>
>> %prep
>> %setup -q -n gst-plugins-bad-%{version}
>>
>> %build
>> ./configure --prefix=/usr --enable-orc --enable-resindvd
>> --disable-cdaudio \
>>    --disable-quicktime --disable-jack --disable-cog --disable-dirac
>> --disable-lv2 \
>>    --disable-musicbrainz --disable-mythtv --disable-soundtouch
>> --disable-theoradec --disable-vdpau \
>>    --disable-vp8 --disable-videomaxrate --disable-shm
>> --disable-invtelecine --disable-ivfparse \
>>    --disable-jpegformat --disable-geometrictransform
>> --disable-gaudieffects --disable-coloreffects \
>>    --disable-dataurisrc --disable-modplug --disable-segmentclip \
>>    --enable-ofa --enable-shared --enable-debug=no CFLAGS=-O2
>>
>> make %{?_smp_mflags}
>>
>> %install
>> rm -rf $RPM_BUILD_ROOT
>>
>> %makeinstall
>>
>> # Clean out files that should not be part of the rpm.
>> rm -f $RPM_BUILD_ROOT%{_libdir}/**gstreamer-%{majorminor}/*.la
>> rm -f $RPM_BUILD_ROOT%{_libdir}/**gstreamer-%{majorminor}/*.a
>> rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
>> rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
>>
>> rm -f $RPM_BUILD_ROOT%{_includedir}/**gstreamer-%{majorminor}/gst/**
>> video/*.h
>> rm -f
>> $RPM_BUILD_ROOT%{_includedir}/**gstreamer-%{majorminor}/gst/**
>> signalprocessor/*.h
>> rm -f
>> $RPM_BUILD_ROOT%{_includedir}/**gstreamer-%{majorminor}/gst/**
>> interfaces/*.h
>> sudo rm -f %{_libdir}/pkgconfig/**gstreamer-plugins-bad-0.10.pc
>>
>
> For your current spec to work change the above to
>
> rm $RPM_BUILD_ROOT/%{_libdir}/**pkgconfig/gstreamer-plugins-**bad-0.10.pc
>
>
>
> --
> Nathanael d. Noblet
> t 403.875.4613
> ______________________________**_________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130429/32111649/attachment.html>


More information about the gstreamer-devel mailing list