Accepting request 99733 from home:vuntz:branches:graphics
Fix build OBS-URL: https://build.opensuse.org/request/show/99733 OBS-URL: https://build.opensuse.org/package/show/graphics/gegl?expand=0&rev=22
This commit is contained in:
committed by
Git OBS Bridge
parent
460952747a
commit
e7f8e6222d
34
gegl.spec
34
gegl.spec
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package gegl
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 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
|
||||
@@ -15,14 +15,24 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: gegl
|
||||
# Patched code is built by default.
|
||||
# Use rpmbuild -D 'BUILD_ORIG 1' to build original code.
|
||||
# Use rpmbuild -D 'BUILD_ORIG 1' -D 'BUILD_ORIG_ADDON 1' to build patched build plus original as addon.
|
||||
BuildRequires: ImageMagick OpenEXR-devel SDL-devel asciidoc babl-devel enscript gcc-c++ graphviz-gd gtk2-devel libjpeg-devel libpng-devel librsvg-devel libstdc++-devel lua-devel
|
||||
BuildRequires: ImageMagick
|
||||
BuildRequires: OpenEXR-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: asciidoc
|
||||
BuildRequires: babl-devel
|
||||
BuildRequires: enscript
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: graphviz-gd
|
||||
BuildRequires: gtk2-devel
|
||||
BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: librsvg-devel
|
||||
BuildRequires: libstdc++-devel
|
||||
BuildRequires: lua-devel
|
||||
# FIXME: add back with next release after 0.1.0, when gobj2dot.rb will be there
|
||||
# BuildRequires: ruby
|
||||
BuildRequires: glib2-devel >= 2.16.1
|
||||
@@ -42,11 +52,13 @@ Provides: patched_subset
|
||||
%endif
|
||||
Url: http://gegl.org/
|
||||
Version: 0.1.8
|
||||
Release: 1
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Group: System/Libraries
|
||||
Release: 0
|
||||
Summary: Generic Graphics Library
|
||||
License: GPL-3.0+ ; LGPL-3.0+
|
||||
Group: System/Libraries
|
||||
Source: ftp://ftp.gimp.org/pub/gegl/0.1/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM gegl-lua52.patch bgo#667675 vuntz@opensuse.org -- Fix build with lua 5.2
|
||||
Patch0: gegl-lua52.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%define debug_package_requires libgegl-0_1-0 = %{version}-%{release}
|
||||
|
||||
@@ -57,7 +69,6 @@ support for a wide range of color models and pixel storage formats for
|
||||
input and output.
|
||||
|
||||
%package 0_1
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Generic Graphics Library
|
||||
Group: System/Libraries
|
||||
|
||||
@@ -71,7 +82,6 @@ input and output.
|
||||
%if 0%{?BUILD_ORIG_ADDON}
|
||||
|
||||
%package 0_1-orig-addon
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Generic Graphics Library
|
||||
Group: System/Libraries
|
||||
Supplements: packageand(%{name}-0_1:%(cd %{_libdir} ; rpm -qf --queryformat=%%{NAME} `readlink %{_libdir}/libavcodec.so` ))
|
||||
@@ -86,7 +96,6 @@ input and output.
|
||||
%endif
|
||||
|
||||
%package -n libgegl-0_1-0
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Generic Graphics Library
|
||||
Group: System/Libraries
|
||||
Recommends: %{name}-0_1 >= %{version}
|
||||
@@ -98,7 +107,6 @@ support for a wide range of color models and pixel storage formats for
|
||||
input and output.
|
||||
|
||||
%package devel
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Generic Graphics Library
|
||||
Group: System/Libraries
|
||||
Requires: libgegl-0_1-0 = %{version} babl-devel glib2-devel glibc-devel pcre-devel
|
||||
@@ -110,7 +118,6 @@ support for a wide range of color models and pixel storage formats for
|
||||
input and output.
|
||||
|
||||
%package doc
|
||||
License: GPLv3+ ; LGPLv3+
|
||||
Summary: Generic Graphics Library
|
||||
Group: System/Libraries
|
||||
Requires: libgegl-0_1-0 = %{version}
|
||||
@@ -123,6 +130,7 @@ input and output.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
# docs-build-fix.diff
|
||||
|
||||
%build
|
||||
|
Reference in New Issue
Block a user