Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37593524
en ru br
ALT Linux repos
S:1.10.0-alt2

Group :: System/Libraries
RPM: libgstreamermm1.0

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%def_disable snapshot

%define ver_major 1.10
%define gst_api_ver 1.0
%define _name gstreamermm

%def_enable docs
%def_disable examples
%def_disable check

Name: lib%_name%gst_api_ver
Version: %ver_major.0
Release: alt2

Summary: C++ wrapper for GStreamer (1.0 API) library
Group: System/Libraries
License: LGPLv2+
Url: https://www.gtkmm.org/

%if_disabled snapshot
Source: https://ftp.gnome.org/pub/gnome/sources/%_name/%ver_major/%_name-%version.tar.xz
%else
Source: %_name-%version.tar
%endif
Patch: gstreamermm-1.10.0-up-no-volatile.patch

%define glib_ver 2.48
%define gst_ver 1.8.0

BuildRequires: mm-common doxygen gcc-c++ libglibmm-devel >= %glib_ver
BuildRequires: gst-plugins-base%gst_api_ver  gst-plugins%gst_api_ver-devel >= %gst_ver
BuildRequires: /proc %_bindir/gst-inspect-%gst_api_ver
%{?_enable_docs:BuildRequires: doxygen %_bindir/dot %_bindir/xsltproc}
%{?_enable_examples:BuildRequires: libgtkmm3-devel}
%{?_enable_check:BuildRequires: libgtest-devel}

%description
GStreamermm provides C++ bindings for the GStreamer (1.0 API) streaming multimedia
library (http://gstreamer.freedesktop.org).  With GStreamermm it is possible to
develop applications that work with multimedia in C++.

%package devel
Summary: Headers for developing programs that will use %name
Group: Development/C++
Requires: %name = %version-%release

%description devel
This package contains libraries and header files needed for developing
GStreamermm applications.

%package doc
Summary: GStreamermm documentation
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name < %version

%description doc
This package contains all API documentation for the GStreamermm library.

%prep
%setup -n %_name-%version
%patch -p1 -b .volatile

%build
%{?_enable_snapshot:
mm-common-prepare --force --copy
touch gstreamer/src/plugin_filelist.am
%autoreconf}
%configure \
   %{?_enable_snapshot:--enable-maintainer-mode \
   %{?_enable docs:--enable-documentation}}
%make_build

%install
%makeinstall_std

%check
%make check

%files
%_libdir/lib%_name-%gst_api_ver.so.*
%doc AUTHORS ChangeLog NEWS README

%files devel
%_includedir/gstreamermm-%gst_api_ver/
%_libdir/%_name-%gst_api_ver/
%_libdir/lib%_name-%gst_api_ver.so
%_pkgconfigdir/%_name-%gst_api_ver.pc

%if_enabled docs
%files doc
%_datadir/devhelp/books/%_name-%gst_api_ver/
%_datadir/doc/%_name-%gst_api_ver/
%endif


%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin