File gstreamer-0_10-plugins-gl.spec of Package gstreamer-0_10-plugins-gl
#
# spec file for package gstreamer-0_10-plugins-gl
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2010 Dominique Leuenberger, Amsterdam, Netherlands.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: gstreamer-0_10-plugins-gl
%define _name gst-plugins-gl
Version: 0.10.2
Release: 8
%define gst_branch 0.10
License: LGPLv2.1+
Summary: GStreamer OpenGL Plug-Ins
Url: http://gstreamer.freedesktop.org/
Group: Productivity/Multimedia/Other
Source: %{_name}-%{version}.tar.bz2
BuildRequires: Mesa-devel
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: glew-devel
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: gtk-doc
BuildRequires: liboil-devel
BuildRequires: libpng-devel
BuildRequires: translation-update-upstream
%define gstreamer010_plugins_gl_req %(zgrep --text "^GST.*_REQ" %{S:0} | sort -u | sed 's/GST_REQ=/gstreamer-0_10 >= /;s/GSTPB_REQ=/gstreamer-0_10-plugins-base >= /' | tr '\\n' ' ')
Requires: %gstreamer010_plugins_gl_req
Requires: %{name}-lang = %{version}
# Generic name, never used in SuSE:
Provides: gst-plugins-gl = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Enhances: gstreamer-0_10
%description
This module contains integration libraries and plug-ins for using
OpenGL within GStreamer pipelines. This module contains elements
for, among others:
* output: glimagesink
* adapters: glupload, gldownload
* video processing: gldeinterlace, glcolorscale
* GL effects: glfiltersobel, glfilterblur, gleffects, others
* sources: gltestsrc
%package devel
License: LGPLv2.1+
Summary: GStreamer OpenGL Plug-Ins - Development headers
Group: Development/Libraries/Other
Requires: libgstgl-0_10-1 = %{version}
Requires: gstreamer-0_10-plugins-gl = %{version}
%description devel
This package contains headers and libraries needed to develop based
on gstreamer-plugins-gl
This module contains integration libraries and plug-ins for using
OpenGL within GStreamer pipelines. This module contains elements
for, among others:
* output: glimagesink
* adapters: glupload, gldownload
* video processing: gldeinterlace, glcolorscale
* GL effects: glfiltersobel, glfilterblur, gleffects, others
* sources: gltestsrc
%package -n libgstgl-0_10-1
License: LGPLv2.1+
Summary: GStreamer OpenGL Plug-Ins - Shared Library
Group: System/Libraries
%description -n libgstgl-0_10-1
Shared Library, is normally installed as a dependency when needed
This module contains integration libraries and plug-ins for using
OpenGL within GStreamer pipelines. This module contains elements
for, among others:
* output: glimagesink
* adapters: glupload, gldownload
* video processing: gldeinterlace, glcolorscale
* GL effects: glfiltersobel, glfilterblur, gleffects, others
* sources: gltestsrc
%lang_package
%prep
%setup -q -n %{_name}-%{version}
translation-update-upstream po gst-plugins-gl-0.10
%build
%configure\
--disable-schemas-install\
--disable-static \
--disable-gtk-doc
make %{?_smp_mflags}
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%fdupes %{buildroot}%{_datadir}/gtk-doc/html
%find_lang %{_name}-%{gst_branch}
%clean
rm -rf %{buildroot}
%post -n libgstgl-0_10-1 -p /sbin/ldconfig
%postun -n libgstgl-0_10-1 -p /sbin/ldconfig
%files
%defattr(-, root, root)
%doc AUTHORS COPYING NEWS README RELEASE REQUIREMENTS
%{_libdir}/gstreamer-%{gst_branch}/libgstopengl.so
%files lang -f %{_name}-%{gst_branch}.lang
%files -n libgstgl-0_10-1
%defattr(-, root, root)
%{_libdir}/libgstgl-0.10.so.1
%{_libdir}/libgstgl-0.10.so.1.0.0
%files devel
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/gst-plugins-gl-plugins-%{gst_branch}
%doc %{_datadir}/gtk-doc/html/gst-plugins-gl-libs-%{gst_branch}
%{_includedir}/gstreamer-%{gst_branch}/gst/gl/
%{_libdir}/libgstgl-0.10.so
%{_libdir}/pkgconfig/gstreamer-gl-%{gst_branch}.pc
%changelog