455 lines
11 KiB
RPMSpec
455 lines
11 KiB
RPMSpec
#
|
||
# spec file for package gegl (Version 0.0.22)
|
||
#
|
||
# Copyright (c) 2009 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/
|
||
#
|
||
|
||
# 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 gtk2-devel libjpeg-devel libpng-devel librsvg-devel libstdc++-devel lua-devel ruby
|
||
BuildRequires: glib2-devel >= 2.16.1
|
||
# To build documentation, babl-0_0 is a must, "Recommends" is not enough:
|
||
BuildRequires: babl-0_0
|
||
BuildRequires: libopenraw-devel >= 0.0.5
|
||
# 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/
|
||
Version: 0.0.22
|
||
Release: 1
|
||
License: GPL v3 or later; LGPL v3 or later
|
||
Group: System/Libraries
|
||
Summary: Generic Graphics Library
|
||
Source: ftp://ftp.gimp.org/pub/gegl/v0.0/%{name}-%{version}.tar.bz2
|
||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||
%define debug_package_requires libgegl-0_0-0 = %{version}-%{release}
|
||
|
||
%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
|
||
License: GPL v3 or later; LGPL v3 or later
|
||
Summary: Generic Graphics Library
|
||
Group: System/Libraries
|
||
Requires: libbabl-0_0-0 >= %{version}
|
||
|
||
%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
|
||
License: GPL v3 or later; LGPL v3 or later
|
||
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
|
||
License: GPL v3 or later; LGPL v3 or later
|
||
Summary: Generic Graphics Library
|
||
Group: System/Libraries
|
||
Recommends: %{name}-0_0 >= %{version}
|
||
|
||
%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
|
||
License: GPL v3 or later; LGPL v3 or later
|
||
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
|
||
License: GPL v3 or later; LGPL v3 or later
|
||
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
|
||
|
||
%build
|
||
autoreconf -f -i
|
||
%configure\
|
||
--enable-workshop=yes\
|
||
--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
|
||
rm $RPM_BUILD_ROOT%{_libdir}/gegl-0.0/*.la
|
||
rm $RPM_BUILD_ROOT%{_libdir}/*.la
|
||
chmod -x $RPM_BUILD_ROOT%{_datadir}/gtk-doc/html/gegl/*.*
|
||
|
||
%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
|
||
* Wed Dec 31 2008 hfiguiere@suse.de
|
||
- Update to 0.0.22
|
||
* GeglOperation
|
||
- operation names are now prefixed, the ops in GEGL use 'gegl:' as prefix.
|
||
- gegl:opacity - combine value and aux mask input when both are available.
|
||
- gegl:src-in - deal correctly with extens.
|
||
- gegl:path - new op covering the stroke/fill needs of SVG.
|
||
- deprecated gegl:shift, the affine familiy of operations now
|
||
uses the same fast code paths for integer translations.
|
||
* GeglBuffer
|
||
- Profiling motivated speed ups in data reading/writing.
|
||
- Remove left-over swapfiles from dead processes at startup.
|
||
* GeglNode
|
||
- made gegl_node_add_child and gegl_node_remove_child public API. (bgo#507298)
|
||
* GeglPath: Vector path representation infrastructure,
|
||
- Remove gegl-64bit-warning.diff
|
||
* Sun Oct 05 2008 hfiguiere@suse.de
|
||
- Update to 0.0.20
|
||
* libopenraw support
|
||
* Linear buffer support, amongst other things enabling GeglBuffer API access
|
||
to external linear buffers in memory.
|
||
* Reworked samplers using a shared caching neighbourhood infrastructure.
|
||
* YAFR - a new resampler contributed by Nicolas Robidoux.
|
||
* Marked user visible strings for translation.
|
||
* Added a fill operation (might be a bit fragile) that allows rendering
|
||
SVG like paths backed by a GeglVector.
|
||
- Remove gegl-strict-compile-fix.diff
|
||
- Added gegl-64bit-warning.diff
|
||
* Address a fatal warning on 64bits
|
||
* Wed Oct 01 2008 hfiguiere@suse.de
|
||
- Add patch gegl-strict-compile-fix.diff:
|
||
*Fix header for stricter compilation
|
||
- enable workshop at compile time
|
||
* Mon Sep 29 2008 sbrabec@suse.cz
|
||
- Fixed dependencies.
|
||
- Fixed permissions of documentation.
|
||
* Mon Jul 21 2008 sbrabec@suse.cz
|
||
- New SuSE package.
|