File gstreamer.spec of Package gstreamer

# 
# Do NOT Edit the Auto-generated Part!
# Generated by: spectacle version 0.22git
# 
# >> macros
# << macros

Name:       gstreamer
Summary:    GStreamer streaming media framework runtime
Version:    0.10.32
Release:    1.4
Group:      Applications/Multimedia
License:    LGPLv2+
URL:        http://gstreamer.freedesktop.org/
Source0:    http://gstreamer.freedesktop.org/src/gstreamer/%{name}-%{version}.tar.bz2
Source100:  gstreamer.yaml
Patch0:     reduce-wakeups-from-idle.patch
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
BuildRequires:  pkgconfig(gtk-doc)
BuildRequires:  pkgconfig(glib-2.0)
BuildRequires:  pkgconfig(libxml-2.0)
BuildRequires:  bison
BuildRequires:  flex
BuildRequires:  check
BuildRequires:  python


%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 
plugins.



%package devel
Summary:    Development tools for GStreamer
Group:      Development/Libraries
Requires:   %{name} = %{version}-%{release}

%description devel
This package contains the libraries and includes files necessary to develop
applications and plugins for GStreamer. If you plan to develop applications
with GStreamer, consider installing the gstreamer-devel-docs package and the
documentation packages for any plugins you intend to use.


%package devel-docs
Summary:    API reference for GStreamer
Group:      Documentation
Requires:   %{name} = %{version}-%{release}

%description devel-docs
This package contains developer documentation for the GStreamer streaming
media framework.


%package tools
Summary:    Common tools and files for GStreamer streaming media framework
Group:      Applications/Multimedia
Requires:   %{name} = %{version}-%{release}

%description tools
This package contains wrapper scripts for the command-line tools that work
with different major/minor versions of GStreamer.



%prep
%setup -q -n %{name}-%{version}

# reduce-wakeups-from-idle.patch
%patch0 -p1
# >> setup
# << setup

%build
# >> build pre
export CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS"
# << build pre

%configure --disable-static \
    --with-package-name='Meego GStreamer package' \
    --with-package-origin='http://www.meego.org' \
    --enable-gtk-doc \
    --disable-dependency-tracking \
    --disable-examples \
    --disable-tests \
    --disable-valgrind \
    --disable-debug \
    --disable-nls \
    --disable-loadsave \
    --disable-introspection

make %{?jobs:-j%jobs}

# >> build post
# << build post
%install
rm -rf %{buildroot}
# >> install pre
# << install pre
%make_install

# >> install post
# << install post



%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig











%files
%defattr(-,root,root,-)
# >> files
%doc AUTHORS COPYING NEWS README RELEASE TODO
%{_libdir}/libgstreamer-0.10.so.*
%{_libdir}/libgstbase-0.10.so.*
%{_libdir}/libgstcontroller-0.10.so.*
%{_libdir}/libgstdataprotocol-0.10.so.*
%{_libdir}/libgstnet-0.10.so.*
%{_libdir}/libgstcheck-0.10.so.*
%dir %{_libdir}/gstreamer-0.10
%{_libdir}/gstreamer-0.10/libgstcoreelements.so
%{_libdir}/gstreamer-0.10/libgstcoreindexers.so
%dir %{_libexecdir}/gstreamer-0.10
%{_libexecdir}/gstreamer-0.10/gst-plugin-scanner
%{_bindir}/gst-feedback-0.10
%{_bindir}/gst-inspect-0.10
%{_bindir}/gst-launch-0.10
%{_bindir}/gst-typefind-0.10
%{_bindir}/gst-xmlinspect-0.10
%doc %{_mandir}/man1/gst-feedback-0.10.*
%doc %{_mandir}/man1/gst-inspect-0.10.*
%doc %{_mandir}/man1/gst-launch-0.10.*
%doc %{_mandir}/man1/gst-typefind-0.10.*
%doc %{_mandir}/man1/gst-xmlinspect-0.10.*
# << files


%files devel
%defattr(-,root,root,-)
# >> files devel
%dir %{_includedir}/gstreamer-0.10
%dir %{_includedir}/gstreamer-0.10/gst
%{_includedir}/gstreamer-0.10/gst/*.h
%{_includedir}/gstreamer-0.10/gst/base
%{_includedir}/gstreamer-0.10/gst/check
%{_includedir}/gstreamer-0.10/gst/controller
%{_includedir}/gstreamer-0.10/gst/dataprotocol
%{_includedir}/gstreamer-0.10/gst/net
%{_datadir}/aclocal/gst-element-check-0.10.m4
%{_libdir}/libgstreamer-0.10.so
%{_libdir}/libgstbase-0.10.so
%{_libdir}/libgstcontroller-0.10.so
%{_libdir}/libgstdataprotocol-0.10.so
%{_libdir}/libgstnet-0.10.so
%{_libdir}/libgstcheck-0.10.so
%{_libdir}/pkgconfig/gstreamer-0.10.pc
%{_libdir}/pkgconfig/gstreamer-base-0.10.pc
%{_libdir}/pkgconfig/gstreamer-controller-0.10.pc
%{_libdir}/pkgconfig/gstreamer-check-0.10.pc
%{_libdir}/pkgconfig/gstreamer-dataprotocol-0.10.pc
%{_libdir}/pkgconfig/gstreamer-net-0.10.pc
# << files devel

%files devel-docs
%defattr(-,root,root,-)
# >> files devel-docs
%doc %{_datadir}/gtk-doc/html/gstreamer-0.10/*
%doc %{_datadir}/gtk-doc/html/gstreamer-libs-0.10/*
%doc %{_datadir}/gtk-doc/html/gstreamer-plugins-0.10/*
# << files devel-docs

%files tools
%defattr(-,root,root,-)
# >> files tools
%{_bindir}/gst-feedback
%{_bindir}/gst-inspect
%{_bindir}/gst-launch
%{_bindir}/gst-typefind
%{_bindir}/gst-xmlinspect
#%{_bindir}/gst-xmllaunch
# << files tools

%changelog
* Sat Jan 22 2011 Ling Yue <ling.yue@intel.com> - 0.10.32
- Update to the latest upstream verion (FEA#10764)
* Mon Jan 17 2011 Ling Yue <ling.yue@intel.com> - 0.10.32
- Update to the latest upstream verion (0.10.31.4) (FEA#10764)
* Thu Dec  2 2010 Topi Santakivi <topi.santakivi@digia.com> - 0.10.31
- Update to the latest upstream version (FEA#10764)
* Fri Oct 29 2010 Ling Yue <ling.yue@intel.com> - 0.10.30
- Remove --disable-gst-debug to enable logging system during development.
* Wed Oct 27 2010 Anas Nashif <anas.nashif@intel.com> - 0.10.30
- Fixed build without introspection
* Wed Oct 27 2010 Anas Nashif <anas.nashif@intel.com> - 0.10.30
- Remove dependency on gobject-introspection
* Fri Sep  3 2010 Ling Yue <ling.yue@intel.com> - 0.10.30
- Fix gstreamer part of BMC#6520
- Remove BR of : ogg, theora, vorbis
- Subpackage: rename -doc to -devel-docs, add -tools
- --enable-gtk-doc and put docs in devel-docs
- Add more configure options to reduce image size and improve performance:
  - -disable-gst-debug, --disable-loadsave, --disable-nls
- Add CFLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS" as release
  build doesn't need them
- Remove --disable-check  and add libgstcheck related files to enable unit test
  library build
- Fix the mismatch in %%file.
* Thu Jul 29 2010 Ling Yue <ling.yue@intel.com> - 0.10.30
- Upgrade to 0.10.30
* Tue May 11 2010 Bin Gao <bin.gao@intel.com> 0.10.29
- Update to 0.10.29
* Thu Mar 18 2010 Damien Lespiau <damien.lespiau@intel.com> 0.10.28
- Build introspection data
- Tune the package name and origin to be Meego, not Moblin
- Remove/update old configure options
- Separate the -doc package from the -devel one
- Package libgst*.so inside -devel
- More accurate license
* Sat Mar 13 2010 Rusty Lynch <rusty.lynch@intel.com> - 0.10.28
- Update to 0.10.28, which required recreating the patch to
  reduce wakeups and dropping the gstbuffer patch
* Mon Nov 30 2009 Bin Gao <bin.gao@intel.com> 0.10.25
- Update to 0.10.25.
* Fri Nov 13 2009 Bin Gao <bin.gao@intel.com> 0.10.24
- Remove static declaration for function gst_subbuffer_get_type.
  This is needed for libva support.
* Sun Sep 27 2009 Bin Gao <bin.gao@intel.com> 0.10.24
- Use g_timeout_add_seconds to reduce wakeups from idle
* Fri Aug 28 2009 Vivian Zhang <vivian.zhang@intel.com> 0.10.24
- Update to 0.10.24
* Tue Jul 28 2009 Vivian Zhang <vivian.zhang@intel.com> 0.10.23
- Update to 0.10.23
* Sat Feb 14 2009 Vivian Zhang <vivian.zhang@intel.com> 0.10.22
- Update to 0.10.22
- Remove upstreamed patch
* Fri Dec 26 2008 Arjan van de Ven <arjan@linux.intel.com> 0.10.21
- Fix configure for a 3 digit bison version
* Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 0.10.21
- Update spec file using latest spec-builder
* Tue Dec 16 2008 Anas Nashif <anas.nashif@intel.com> 0.10.21
- Update spec file using latest spec-builder
* Mon Dec  8 2008 Rusty Lynch <rusty.lynch@intel.com> - 0.10.21-1
- Creating a 0.10.21-1 release
openSUSE Build Service is sponsored by