2008-09-22 16:17:16 +02:00
|
|
|
|
#
|
2009-08-26 15:09:14 +02:00
|
|
|
|
# spec file for package gegl (Version 0.1.0)
|
2008-09-22 16:17:16 +02:00
|
|
|
|
#
|
2010-01-29 16:25:19 +01:00
|
|
|
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2008-09-22 16:17:16 +02:00
|
|
|
|
#
|
|
|
|
|
# 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/
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
# 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.
|
2009-08-26 15:09:14 +02:00
|
|
|
|
BuildRequires: ImageMagick OpenEXR-devel SDL-devel asciidoc babl-devel enscript gcc-c++ graphviz gtk2-devel libjpeg-devel libpng-devel librsvg-devel libstdc++-devel lua-devel
|
|
|
|
|
# FIXME: add back with next release after 0.1.0, when gobj2dot.rb will be there
|
|
|
|
|
# BuildRequires: ruby
|
2009-02-06 23:39:50 +01:00
|
|
|
|
BuildRequires: glib2-devel >= 2.16.1
|
|
|
|
|
BuildRequires: libopenraw-devel >= 0.0.5
|
2008-09-22 16:17:16 +02:00
|
|
|
|
# Only for directory ownership:
|
|
|
|
|
BuildRequires: gtk-doc
|
|
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
|
BuildRequires: ffmpeg-devel
|
|
|
|
|
%if 0%{?BUILD_ORIG_ADDON}
|
|
|
|
|
Provides: patched_subset
|
|
|
|
|
%else
|
|
|
|
|
Provides: %{name}-orig-addon = %{version}
|
|
|
|
|
Obsoletes: %{name}-orig-addon
|
|
|
|
|
%endif
|
|
|
|
|
%else
|
|
|
|
|
Provides: patched_subset
|
|
|
|
|
%endif
|
|
|
|
|
Url: http://gegl.org/
|
2009-08-26 15:09:14 +02:00
|
|
|
|
Version: 0.1.0
|
2010-01-29 16:25:19 +01:00
|
|
|
|
Release: 2
|
|
|
|
|
License: GPLv3+ ; LGPLv3+
|
2008-09-22 16:17:16 +02:00
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Summary: Generic Graphics Library
|
|
|
|
|
Source: ftp://ftp.gimp.org/pub/gegl/v0.0/%{name}-%{version}.tar.bz2
|
2010-01-29 16:25:19 +01:00
|
|
|
|
# PATCH-FIX-UPSTREAM gegl-new-babl.patch vuntz@opensuse.org -- Fix build with latest babl, taken from Fedora
|
|
|
|
|
Patch0: gegl-new-babl.patch
|
2008-09-22 16:17:16 +02:00
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-09-29 18:35:13 +02:00
|
|
|
|
%define debug_package_requires libgegl-0_0-0 = %{version}-%{release}
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
|
|
|
|
image editing on larger than RAM buffers. Through babl it provides
|
|
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Calvin Williamson
|
|
|
|
|
Caroline Dahloff
|
|
|
|
|
Manish Singh
|
|
|
|
|
Jay Cox Daniel Rogers
|
|
|
|
|
Sven Neumann
|
|
|
|
|
Michael Natterer
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Philip Lafleur
|
|
|
|
|
Dominik Ernst
|
|
|
|
|
Richard Kralovic
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Victor Bogado
|
|
|
|
|
Martin Nordholts
|
|
|
|
|
Geert Jordaens
|
|
|
|
|
Michael Schumacher
|
|
|
|
|
John Marshall
|
|
|
|
|
<EFBFBD>tienne Bersac
|
|
|
|
|
Mark Probst
|
|
|
|
|
H<EFBFBD>kon Hitland
|
|
|
|
|
Tor Lillqvist
|
|
|
|
|
Hans Breuer
|
|
|
|
|
Deji Akingunola
|
|
|
|
|
Bradley Broom
|
|
|
|
|
Hans Petter Jansson
|
|
|
|
|
Jan Heller
|
|
|
|
|
dmacks@netscpace.org
|
|
|
|
|
Sven Anders
|
|
|
|
|
Hubert Figuiere
|
|
|
|
|
Garry R. Osgood
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Shlomi Fish
|
|
|
|
|
Jakub Steiner
|
|
|
|
|
|
|
|
|
|
%package 0_0
|
2010-01-29 16:25:19 +01:00
|
|
|
|
License: GPLv3+ ; LGPLv3+
|
2008-09-22 16:17:16 +02:00
|
|
|
|
Summary: Generic Graphics Library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
|
|
|
|
|
%description 0_0
|
|
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
|
|
|
|
image editing on larger than RAM buffers. Through babl it provides
|
|
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Calvin Williamson
|
|
|
|
|
Caroline Dahloff
|
|
|
|
|
Manish Singh
|
|
|
|
|
Jay Cox Daniel Rogers
|
|
|
|
|
Sven Neumann
|
|
|
|
|
Michael Natterer
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Philip Lafleur
|
|
|
|
|
Dominik Ernst
|
|
|
|
|
Richard Kralovic
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Victor Bogado
|
|
|
|
|
Martin Nordholts
|
|
|
|
|
Geert Jordaens
|
|
|
|
|
Michael Schumacher
|
|
|
|
|
John Marshall
|
|
|
|
|
<EFBFBD>tienne Bersac
|
|
|
|
|
Mark Probst
|
|
|
|
|
H<EFBFBD>kon Hitland
|
|
|
|
|
Tor Lillqvist
|
|
|
|
|
Hans Breuer
|
|
|
|
|
Deji Akingunola
|
|
|
|
|
Bradley Broom
|
|
|
|
|
Hans Petter Jansson
|
|
|
|
|
Jan Heller
|
|
|
|
|
dmacks@netscpace.org
|
|
|
|
|
Sven Anders
|
|
|
|
|
Hubert Figuiere
|
|
|
|
|
Garry R. Osgood
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Shlomi Fish
|
|
|
|
|
Jakub Steiner
|
|
|
|
|
|
|
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
|
%if 0%{?BUILD_ORIG_ADDON}
|
|
|
|
|
|
|
|
|
|
%package 0_0-orig-addon
|
2010-01-29 16:25:19 +01:00
|
|
|
|
License: GPLv3+ ; LGPLv3+
|
2008-09-22 16:17:16 +02:00
|
|
|
|
Summary: Generic Graphics Library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Supplements: packageand(%{name}-0_0:%(cd %{_libdir} ; rpm -qf --queryformat=%%{NAME} `readlink %{_libdir}/libavcodec.so` ))
|
|
|
|
|
|
|
|
|
|
%description 0_0-orig-addon
|
|
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
|
|
|
|
image editing on larger than RAM buffers. Through babl it provides
|
|
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Calvin Williamson
|
|
|
|
|
Caroline Dahloff
|
|
|
|
|
Manish Singh
|
|
|
|
|
Jay Cox Daniel Rogers
|
|
|
|
|
Sven Neumann
|
|
|
|
|
Michael Natterer
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Philip Lafleur
|
|
|
|
|
Dominik Ernst
|
|
|
|
|
Richard Kralovic
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Victor Bogado
|
|
|
|
|
Martin Nordholts
|
|
|
|
|
Geert Jordaens
|
|
|
|
|
Michael Schumacher
|
|
|
|
|
John Marshall
|
|
|
|
|
<EFBFBD>tienne Bersac
|
|
|
|
|
Mark Probst
|
|
|
|
|
H<EFBFBD>kon Hitland
|
|
|
|
|
Tor Lillqvist
|
|
|
|
|
Hans Breuer
|
|
|
|
|
Deji Akingunola
|
|
|
|
|
Bradley Broom
|
|
|
|
|
Hans Petter Jansson
|
|
|
|
|
Jan Heller
|
|
|
|
|
dmacks@netscpace.org
|
|
|
|
|
Sven Anders
|
|
|
|
|
Hubert Figuiere
|
|
|
|
|
Garry R. Osgood
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Shlomi Fish
|
|
|
|
|
Jakub Steiner
|
|
|
|
|
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%package -n libgegl-0_0-0
|
2010-01-29 16:25:19 +01:00
|
|
|
|
License: GPLv3+ ; LGPLv3+
|
2008-09-22 16:17:16 +02:00
|
|
|
|
Summary: Generic Graphics Library
|
|
|
|
|
Group: System/Libraries
|
2008-09-29 18:35:13 +02:00
|
|
|
|
Recommends: %{name}-0_0 >= %{version}
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
|
|
%description -n libgegl-0_0-0
|
|
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
|
|
|
|
image editing on larger than RAM buffers. Through babl it provides
|
|
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Calvin Williamson
|
|
|
|
|
Caroline Dahloff
|
|
|
|
|
Manish Singh
|
|
|
|
|
Jay Cox Daniel Rogers
|
|
|
|
|
Sven Neumann
|
|
|
|
|
Michael Natterer
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Philip Lafleur
|
|
|
|
|
Dominik Ernst
|
|
|
|
|
Richard Kralovic
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Victor Bogado
|
|
|
|
|
Martin Nordholts
|
|
|
|
|
Geert Jordaens
|
|
|
|
|
Michael Schumacher
|
|
|
|
|
John Marshall
|
|
|
|
|
<EFBFBD>tienne Bersac
|
|
|
|
|
Mark Probst
|
|
|
|
|
H<EFBFBD>kon Hitland
|
|
|
|
|
Tor Lillqvist
|
|
|
|
|
Hans Breuer
|
|
|
|
|
Deji Akingunola
|
|
|
|
|
Bradley Broom
|
|
|
|
|
Hans Petter Jansson
|
|
|
|
|
Jan Heller
|
|
|
|
|
dmacks@netscpace.org
|
|
|
|
|
Sven Anders
|
|
|
|
|
Hubert Figuiere
|
|
|
|
|
Garry R. Osgood
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Shlomi Fish
|
|
|
|
|
Jakub Steiner
|
|
|
|
|
|
|
|
|
|
%package devel
|
2010-01-29 16:25:19 +01:00
|
|
|
|
License: GPLv3+ ; LGPLv3+
|
2008-09-22 16:17:16 +02:00
|
|
|
|
Summary: Generic Graphics Library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Requires: libgegl-0_0-0 = %{version} babl-devel glib2-devel glibc-devel pcre-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
|
|
|
|
image editing on larger than RAM buffers. Through babl it provides
|
|
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Calvin Williamson
|
|
|
|
|
Caroline Dahloff
|
|
|
|
|
Manish Singh
|
|
|
|
|
Jay Cox Daniel Rogers
|
|
|
|
|
Sven Neumann
|
|
|
|
|
Michael Natterer
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Philip Lafleur
|
|
|
|
|
Dominik Ernst
|
|
|
|
|
Richard Kralovic
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Victor Bogado
|
|
|
|
|
Martin Nordholts
|
|
|
|
|
Geert Jordaens
|
|
|
|
|
Michael Schumacher
|
|
|
|
|
John Marshall
|
|
|
|
|
<EFBFBD>tienne Bersac
|
|
|
|
|
Mark Probst
|
|
|
|
|
H<EFBFBD>kon Hitland
|
|
|
|
|
Tor Lillqvist
|
|
|
|
|
Hans Breuer
|
|
|
|
|
Deji Akingunola
|
|
|
|
|
Bradley Broom
|
|
|
|
|
Hans Petter Jansson
|
|
|
|
|
Jan Heller
|
|
|
|
|
dmacks@netscpace.org
|
|
|
|
|
Sven Anders
|
|
|
|
|
Hubert Figuiere
|
|
|
|
|
Garry R. Osgood
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Shlomi Fish
|
|
|
|
|
Jakub Steiner
|
|
|
|
|
|
|
|
|
|
%package doc
|
2010-01-29 16:25:19 +01:00
|
|
|
|
License: GPLv3+ ; LGPLv3+
|
2008-09-22 16:17:16 +02:00
|
|
|
|
Summary: Generic Graphics Library
|
|
|
|
|
Group: System/Libraries
|
|
|
|
|
Requires: libgegl-0_0-0 = %{version}
|
|
|
|
|
|
|
|
|
|
%description doc
|
|
|
|
|
GEGL provides infratructure to do demand based cached non destructive
|
|
|
|
|
image editing on larger than RAM buffers. Through babl it provides
|
|
|
|
|
support for a wide range of color models and pixel storage formats for
|
|
|
|
|
input and output.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Authors:
|
|
|
|
|
--------
|
|
|
|
|
Calvin Williamson
|
|
|
|
|
Caroline Dahloff
|
|
|
|
|
Manish Singh
|
|
|
|
|
Jay Cox Daniel Rogers
|
|
|
|
|
Sven Neumann
|
|
|
|
|
Michael Natterer
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Philip Lafleur
|
|
|
|
|
Dominik Ernst
|
|
|
|
|
Richard Kralovic
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Victor Bogado
|
|
|
|
|
Martin Nordholts
|
|
|
|
|
Geert Jordaens
|
|
|
|
|
Michael Schumacher
|
|
|
|
|
John Marshall
|
|
|
|
|
<EFBFBD>tienne Bersac
|
|
|
|
|
Mark Probst
|
|
|
|
|
H<EFBFBD>kon Hitland
|
|
|
|
|
Tor Lillqvist
|
|
|
|
|
Hans Breuer
|
|
|
|
|
Deji Akingunola
|
|
|
|
|
Bradley Broom
|
|
|
|
|
Hans Petter Jansson
|
|
|
|
|
Jan Heller
|
|
|
|
|
dmacks@netscpace.org
|
|
|
|
|
Sven Anders
|
|
|
|
|
Hubert Figuiere
|
|
|
|
|
Garry R. Osgood
|
|
|
|
|
<EFBFBD>yvind Kol<EFBFBD>s
|
|
|
|
|
Kevin Cozens
|
|
|
|
|
Shlomi Fish
|
|
|
|
|
Jakub Steiner
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%setup -q
|
2010-01-29 16:25:19 +01:00
|
|
|
|
%patch0 -p0
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure\
|
2009-02-06 23:39:50 +01:00
|
|
|
|
--enable-workshop=yes\
|
2008-09-22 16:17:16 +02:00
|
|
|
|
--disable-static
|
|
|
|
|
make %{?jobs:-j%jobs}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%makeinstall
|
|
|
|
|
%if ! 0%{?BUILD_ORIG}
|
|
|
|
|
for MODULE in \
|
|
|
|
|
%{_libdir}/gegl-0.0/ff-load.so \
|
|
|
|
|
; do
|
|
|
|
|
rm -f $RPM_BUILD_ROOT$MODULE
|
|
|
|
|
done
|
|
|
|
|
%endif
|
2009-06-12 18:14:50 +02:00
|
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2008-09-29 18:35:13 +02:00
|
|
|
|
chmod -x $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gegl/*.*
|
2008-09-22 16:17:16 +02:00
|
|
|
|
|
|
|
|
|
%post -n libgegl-0_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -n libgegl-0_0-0 -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%clean
|
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
|
|
|
|
|
%files 0_0
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%dir %{_libdir}/gegl-0.0
|
|
|
|
|
%{_libdir}/gegl-0.0/*.so
|
|
|
|
|
%if 0%{?BUILD_ORIG}
|
|
|
|
|
%if 0%{?BUILD_ORIG_ADDON}
|
|
|
|
|
%exclude %{_libdir}/gegl-0.0/ff-load.so
|
|
|
|
|
|
|
|
|
|
%files 0_0-orig-addon
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_libdir}/gegl-0.0/ff-load.so
|
|
|
|
|
%endif
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
%files -n libgegl-0_0-0
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%doc AUTHORS COPYING COPYING.LESSER ChangeLog NEWS README
|
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_includedir}/*
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_datadir}/gtk-doc/html/gegl
|
|
|
|
|
|
|
|
|
|
%changelog
|