File gnonlin.spec of Package gnonlin
#
# spec file for package gnonlin
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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: gnonlin
Version: 0.10.17
Release: 1
%define gst_branch 0.10
License: LGPLv2.1+
Summary: Non-liner audio and video support for GStreamer
Url: http://gstreamer.freedesktop.org/
Group: Productivity/Multimedia/Other
Source: %{name}-%{version}.tar.bz2
BuildRequires: gstreamer-0_10-plugins-base-devel
BuildRequires: gtk-doc
# Needed to build the docs
BuildRequires: python-xml
%define gnonlin_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: %gnonlin_req
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Gnonlin is a library built on top of GStreamer, which provides support
for writing non-linear audio and video editing applications. It
introduces the concept of a timeline.
%package -n gstreamer-0_10-plugin-gnonlin
License: LGPLv2.1+
Summary: Non-liner audio and video support for GStreamer
Group: Productivity/Multimedia/Other
Provides: %{name} = %{version}
%description -n gstreamer-0_10-plugin-gnonlin
Gnonlin is a library built on top of GStreamer, which provides support
for writing non-linear audio and video editing applications. It
introduces the concept of a timeline.
%package -n gstreamer-0_10-plugin-gnonlin-doc
License: LGPLv2.1+
Summary: Non-liner audio and video support for GStreamer -- Documentation
Group: Documentation/Other
Requires: gstreamer-0_10-plugin-gnonlin = %{version}
%description -n gstreamer-0_10-plugin-gnonlin-doc
Gnonlin is a library built on top of GStreamer, which provides support
for writing non-linear audio and video editing applications. It
introduces the concept of a timeline.
%prep
chmod 0644 %{S:0}
%setup -q
%build
%configure\
--disable-static \
--enable-gtk-doc
%__make %{?_smp_mflags} V=1
%install
%makeinstall
find %{buildroot}%{_libdir} -name '*.la' -delete -print
%clean
rm -rf %{buildroot}
%files -n gstreamer-0_10-plugin-gnonlin
%defattr(-, root, root)
%doc AUTHORS ChangeLog COPYING NEWS README RELEASE REQUIREMENTS
%{_libdir}/gstreamer-%{gst_branch}/libgnl.so
%files -n gstreamer-0_10-plugin-gnonlin-doc
%defattr(-, root, root)
%doc %{_datadir}/gtk-doc/html/gnonlin-0.10/
%changelog