File gimp.spec of Package gimp

#
# spec file for package gimp (Version 2.6.2)
#
# Copyright (c) 2010 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:           gimp
#!BuildIgnore: sendmail
BuildRequires:  aalib-devel alsa-devel cups cups-devel curl-devel dbus-1-glib-devel gegl-devel gnome-common gnutls-devel gtk-doc hal-devel intltool iso-codes-devel libexif-devel libgimpprint libgimpprint-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgtkhtml-devel liblcms-devel libmng-devel libpoppler-glib-devel librsvg-devel libtiff-devel libwebkit-devel libwmf-devel libwnck-devel perl-XML-Parser postfix python-devel python-gtk-devel slang-devel update-desktop-files
Url:            http://www.gimp.org/
Version:        2.6.2
Release:        2.<RELEASE22>
License:        GPL v2 or later
Group:          Productivity/Graphics/Bitmap Editors
Suggests:       AdobeICCProfiles
Provides:       gimp-2.0 = %{version}
Obsoletes:      gimp-unstable < 2.6.0
Requires:       %{name}-lang = %{version}
Requires:       gtk2 >= 2.12.1
Summary:        The GNU Image Manipulation Program
Source:         ftp://ftp.gimp.org/pub/gimp/v2.6/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gimp-help-fallback-en.patch bgo558660 - sbrabec@suse.cz If help translation does not exist, fallback to English.
Patch:          gimp-help-fallback-en.patch
Patch1:         gimp-bnc555144-bmp-hardening.patch
Patch2:         gimp-bnc555166-psd-hardening.patch
Patch3:         gimp-CVE-2010-4540-and-more.patch
Patch4:         gimp-CVE-2010-4543.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Requires:       %{name}-branding >= 2.4
Recommends:     %{name}-plugins-python = %{version} gimp-2.0-scanner-plugin

%description
The GIMP (GNU Image Manipulation Program) is a powerful image
composition and editing program, which can be extremely useful for
creating logos and other graphics for Web pages.  The GIMP offers many
of the tools and filters you would expect to find in similar commercial
offerings and contains some interesting extras as well. The GIMP
provides alarge image manipulation toolbox, including channel
operations and layers, effects, subpixel imaging and antialiasing, and
conversions- all including multilevel undo. The GIMP offers a scripting
facility, but many of the included scripts rely on fonts that we cannot
distribute. The GIMP FTP sitehas a package of fonts that you need to
run the included scripts and that you can install yourself. Some of the
fonts have unusual licensing requirements, but all the licenses are
documented in the package. Get
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you like to
do so. Alternatively, choose fonts that exist on your systembefore
running the scripts.



Authors:
--------
    Spencer Kimball
    Peter Mattis
    Lauri Alanko
    Shawn Amundson
    Sven Anders
    Karl-Johan Andersson
    John Beale
    Zach Beane
    Tom Bech
    Marc Bless
    Edward Blevins
    Reagan Blundell
    Xavier Bouchoux
    Roberto Boyd
    Stanislav Brabec
    Robert Brady
    Hans Breuer
    Simon Budig
    Carey Bunks
    Seth Burgess
    Brent Burton
    Francisco Bustamante
    Albert Cahalan
    Sean Cier
    Winston Chang
    Kenneth Christiansen
    Zbigniew Chyla
    Ed Connel
    Piers Cornwell
    Daniel Cotting
    Jay Cox
    Brian Degenhardt
    Gert Dewit
    Andreas Dilger
    Austin Donnelly
    Scott Draves
    Daniel Dunbar
    Misha Dynin
    Daniel Egger
    Morton Eriksen
    Larry Ewing
    Nick Fetchak
    Valek Filippov
    David Forsyth
    Raphael Francois
    Jochen Friedrich
    Sami Gerdt
    Jim Geuther
    Graeme Gill
    Scott Goehring
    Heiko Goller
    Marcelo de Gomensoro Malheiros
    Pavel Grinfeld
    Michael Hammel
    Henrik Hansen
    Ville Hautamaki
    James Henstridge
    Eric Hernes
    David Hodson
    Christoph Hoegl
    Wolfgang Hofer
    Jan Hubicka
    Andreas Hyden
    Ben Jackson
    Krzysztof Jakubowski
    Simon Janes
    Tim Janik
    Fellmann Joaquim
    Andrew Kieschnick
    Peter Kirchgessner
    Philipp Klaus
    David Koblas
    Robert L Krawitz
    Tuomas Kuosmanen
    Karin Kylander
    Olof S Kylander
    Karl La Rocca
    Chris Lahey
    Nick Lamb
    Marco Lamberto
    Jens Lautenbacher
    Laramie Leavitt
    Elliot Lee
    Marc Lehmann
    Ray Lehtiniemi
    Raph Levien
    Wing Tung Leung
    Adrian Likins
    Tor Lillqvist
    Ingo Luetkebohle
    Josh MacDonald
    Ed Mackey
    Vidar Madsen
    Ian Main
    Kjartan Maraas
    Kelly Martin
    Torsten Martinsen
    Gordon Matzigkeit
    Gregory McLean
    Daniele Medri
    Federico Mena Quintero
    James Mitchell
    Hirotsuna Mizuno
    David Monniaux
    Adam D Moss
    Balazs Nagy
    Yukihiro Nakai
    Sung-Hyun Nam
    Shuji Narazaki
    Felix Natter
    Michael Natterer
    David Neary
    Sven Neumann
    Stephen Robert Norris
    Tim Newsome
    Erik Nygren
    Miles O'Neal
    David Neary
    David Necas
    David Odin
    Thom van Os
    Garry R. Osgood
    Alan Paeth
    Jay Painter
    Sergey Panov
    Ville Patsi
    Asbjorn Pettersen
    Mike Phillips
    Artur Polaczynski
    Raphael Quinet
    Tom Rathborne
    Vincent Renardias
    Jens Restemeier
    Maurits Rijk
    Daniel Risacher
    James Robinson
    Guillermo S. Romero
    Tim Rowley
    Pablo Saratxaga
    Mike Schaeffer
    John Schlag
    Norbert Schmitz
    Thorsten Schnier
    Alexander Schulz
    Tracy Scott
    Craig Setera
    Aaron Sherman
    Manish Singh
    Daniel Skarda
    Adam Spiers
    Jakub Steiner
    Nathan Summers
    Mike Sweet
    Yuri Syrota
    Eiichi Takamori
    Tristan Tarrant
    Michael Taylor
    Owen Taylor
    Ian Tester
    Andy Thomas
    Kevin Turner
    Rebecca Walter
    Martin Weber
    James Wang
    Kris Wehner
    Nigel Wetten
    Calvin Williamson
    Matthew Wilson
    Shirasaki Yasuhiro

%package branding-upstream
License:        GPL v2 or later
Summary:        The GNU Image Manipulation Program
Group:          Productivity/Graphics/Bitmap Editors
Provides:       %{name}-branding = %{version}
Conflicts:      otherproviders(%{name}-branding)
Obsoletes:      gimp-unstable-branding-upstream < 2.6.0
Supplements:    packageand(%{name}:branding-upstream)
# It is technically compatible with 2.4, but upstream branding has version specific image:
Conflicts:      %{name} < 2.6.0
#BRAND: /usr/share/gimp/2.0/images/gimp-splash.png is a splash screen in
#BRAND: GIMP, original size is 300x400. Bottom part displays "just
#BRAND: starting" text and progress bar.

%description branding-upstream
The GIMP (GNU Image Manipulation Program) is a powerful image
composition and editing program, which can be extremely useful for
creating logos and other graphics for Web pages.  The GIMP offers many
of the tools and filters you would expect to find in similar commercial
offerings and contains some interesting extras as well. The GIMP
provides alarge image manipulation toolbox, including channel
operations and layers, effects, subpixel imaging and antialiasing, and
conversions- all including multilevel undo. The GIMP offers a scripting
facility, but many of the included scripts rely on fonts that we cannot
distribute. The GIMP FTP sitehas a package of fonts that you need to
run the included scripts and that you can install yourself. Some of the
fonts have unusual licensing requirements, but all the licenses are
documented in the package. Get
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you like to
do so. Alternatively, choose fonts that exist on your systembefore
running the scripts.



Authors:
--------
    Spencer Kimball
    Peter Mattis
    Lauri Alanko
    Shawn Amundson
    Sven Anders
    Karl-Johan Andersson
    John Beale
    Zach Beane
    Tom Bech
    Marc Bless
    Edward Blevins
    Reagan Blundell
    Xavier Bouchoux
    Roberto Boyd
    Stanislav Brabec
    Robert Brady
    Hans Breuer
    Simon Budig
    Carey Bunks
    Seth Burgess
    Brent Burton
    Francisco Bustamante
    Albert Cahalan
    Sean Cier
    Winston Chang
    Kenneth Christiansen
    Zbigniew Chyla
    Ed Connel
    Piers Cornwell
    Daniel Cotting
    Jay Cox
    Brian Degenhardt
    Gert Dewit
    Andreas Dilger
    Austin Donnelly
    Scott Draves
    Daniel Dunbar
    Misha Dynin
    Daniel Egger
    Morton Eriksen
    Larry Ewing
    Nick Fetchak
    Valek Filippov
    David Forsyth
    Raphael Francois
    Jochen Friedrich
    Sami Gerdt
    Jim Geuther
    Graeme Gill
    Scott Goehring
    Heiko Goller
    Marcelo de Gomensoro Malheiros
    Pavel Grinfeld
    Michael Hammel
    Henrik Hansen
    Ville Hautamaki
    James Henstridge
    Eric Hernes
    David Hodson
    Christoph Hoegl
    Wolfgang Hofer
    Jan Hubicka
    Andreas Hyden
    Ben Jackson
    Krzysztof Jakubowski
    Simon Janes
    Tim Janik
    Fellmann Joaquim
    Andrew Kieschnick
    Peter Kirchgessner
    Philipp Klaus
    David Koblas
    Robert L Krawitz
    Tuomas Kuosmanen
    Karin Kylander
    Olof S Kylander
    Karl La Rocca
    Chris Lahey
    Nick Lamb
    Marco Lamberto
    Jens Lautenbacher
    Laramie Leavitt
    Elliot Lee
    Marc Lehmann
    Ray Lehtiniemi
    Raph Levien
    Wing Tung Leung
    Adrian Likins
    Tor Lillqvist
    Ingo Luetkebohle
    Josh MacDonald
    Ed Mackey
    Vidar Madsen
    Ian Main
    Kjartan Maraas
    Kelly Martin
    Torsten Martinsen
    Gordon Matzigkeit
    Gregory McLean
    Daniele Medri
    Federico Mena Quintero
    James Mitchell
    Hirotsuna Mizuno
    David Monniaux
    Adam D Moss
    Balazs Nagy
    Yukihiro Nakai
    Sung-Hyun Nam
    Shuji Narazaki
    Felix Natter
    Michael Natterer
    David Neary
    Sven Neumann
    Stephen Robert Norris
    Tim Newsome
    Erik Nygren
    Miles O'Neal
    David Neary
    David Necas
    David Odin
    Thom van Os
    Garry R. Osgood
    Alan Paeth
    Jay Painter
    Sergey Panov
    Ville Patsi
    Asbjorn Pettersen
    Mike Phillips
    Artur Polaczynski
    Raphael Quinet
    Tom Rathborne
    Vincent Renardias
    Jens Restemeier
    Maurits Rijk
    Daniel Risacher
    James Robinson
    Guillermo S. Romero
    Tim Rowley
    Pablo Saratxaga
    Mike Schaeffer
    John Schlag
    Norbert Schmitz
    Thorsten Schnier
    Alexander Schulz
    Tracy Scott
    Craig Setera
    Aaron Sherman
    Manish Singh
    Daniel Skarda
    Adam Spiers
    Jakub Steiner
    Nathan Summers
    Mike Sweet
    Yuri Syrota
    Eiichi Takamori
    Tristan Tarrant
    Michael Taylor
    Owen Taylor
    Ian Tester
    Andy Thomas
    Kevin Turner
    Rebecca Walter
    Martin Weber
    James Wang
    Kris Wehner
    Nigel Wetten
    Calvin Williamson
    Matthew Wilson
    Shirasaki Yasuhiro

%package plugins-python
License:        GPL v2 or later
Summary:        The GNU Image Manipulation Program - python-gtk based plugins
Requires:       %{name} = %{version} python-gtk
Supplements:    %{name}
Provides:       gimp-2.0-plugins-python = %{version}
Obsoletes:      gimp-unstable-plugins-python < 2.6.0
Group:          Productivity/Graphics/Bitmap Editors
# For update from <= 10.3 and SLED 10:
Provides:       %{name}:%{_libdir}/gimp/2.0/plug-ins/pyconsole.py = %{version}

%description plugins-python
The GIMP (GNU Image Manipulation Program) is a powerful image
composition and editing program, which can be extremely useful for
creating logos and other graphics for Web pages.  The GIMP offers many
of the tools and filters you would expect to find in similar commercial
offerings and contains some interesting extras as well. The GIMP
provides alarge image manipulation toolbox, including channel
operations and layers, effects, subpixel imaging and antialiasing, and
conversions- all including multilevel undo. The GIMP offers a scripting
facility, but many of the included scripts rely on fonts that we cannot
distribute. The GIMP FTP sitehas a package of fonts that you need to
run the included scripts and that you can install yourself. Some of the
fonts have unusual licensing requirements, but all the licenses are
documented in the package. Get
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you like to
do so. Alternatively, choose fonts that exist on your systembefore
running the scripts.



Authors:
--------
    Spencer Kimball
    Peter Mattis
    Lauri Alanko
    Shawn Amundson
    Sven Anders
    Karl-Johan Andersson
    John Beale
    Zach Beane
    Tom Bech
    Marc Bless
    Edward Blevins
    Reagan Blundell
    Xavier Bouchoux
    Roberto Boyd
    Stanislav Brabec
    Robert Brady
    Hans Breuer
    Simon Budig
    Carey Bunks
    Seth Burgess
    Brent Burton
    Francisco Bustamante
    Albert Cahalan
    Sean Cier
    Winston Chang
    Kenneth Christiansen
    Zbigniew Chyla
    Ed Connel
    Piers Cornwell
    Daniel Cotting
    Jay Cox
    Brian Degenhardt
    Gert Dewit
    Andreas Dilger
    Austin Donnelly
    Scott Draves
    Daniel Dunbar
    Misha Dynin
    Daniel Egger
    Morton Eriksen
    Larry Ewing
    Nick Fetchak
    Valek Filippov
    David Forsyth
    Raphael Francois
    Jochen Friedrich
    Sami Gerdt
    Jim Geuther
    Graeme Gill
    Scott Goehring
    Heiko Goller
    Marcelo de Gomensoro Malheiros
    Pavel Grinfeld
    Michael Hammel
    Henrik Hansen
    Ville Hautamaki
    James Henstridge
    Eric Hernes
    David Hodson
    Christoph Hoegl
    Wolfgang Hofer
    Jan Hubicka
    Andreas Hyden
    Ben Jackson
    Krzysztof Jakubowski
    Simon Janes
    Tim Janik
    Fellmann Joaquim
    Andrew Kieschnick
    Peter Kirchgessner
    Philipp Klaus
    David Koblas
    Robert L Krawitz
    Tuomas Kuosmanen
    Karin Kylander
    Olof S Kylander
    Karl La Rocca
    Chris Lahey
    Nick Lamb
    Marco Lamberto
    Jens Lautenbacher
    Laramie Leavitt
    Elliot Lee
    Marc Lehmann
    Ray Lehtiniemi
    Raph Levien
    Wing Tung Leung
    Adrian Likins
    Tor Lillqvist
    Ingo Luetkebohle
    Josh MacDonald
    Ed Mackey
    Vidar Madsen
    Ian Main
    Kjartan Maraas
    Kelly Martin
    Torsten Martinsen
    Gordon Matzigkeit
    Gregory McLean
    Daniele Medri
    Federico Mena Quintero
    James Mitchell
    Hirotsuna Mizuno
    David Monniaux
    Adam D Moss
    Balazs Nagy
    Yukihiro Nakai
    Sung-Hyun Nam
    Shuji Narazaki
    Felix Natter
    Michael Natterer
    David Neary
    Sven Neumann
    Stephen Robert Norris
    Tim Newsome
    Erik Nygren
    Miles O'Neal
    David Neary
    David Necas
    David Odin
    Thom van Os
    Garry R. Osgood
    Alan Paeth
    Jay Painter
    Sergey Panov
    Ville Patsi
    Asbjorn Pettersen
    Mike Phillips
    Artur Polaczynski
    Raphael Quinet
    Tom Rathborne
    Vincent Renardias
    Jens Restemeier
    Maurits Rijk
    Daniel Risacher
    James Robinson
    Guillermo S. Romero
    Tim Rowley
    Pablo Saratxaga
    Mike Schaeffer
    John Schlag
    Norbert Schmitz
    Thorsten Schnier
    Alexander Schulz
    Tracy Scott
    Craig Setera
    Aaron Sherman
    Manish Singh
    Daniel Skarda
    Adam Spiers
    Jakub Steiner
    Nathan Summers
    Mike Sweet
    Yuri Syrota
    Eiichi Takamori
    Tristan Tarrant
    Michael Taylor
    Owen Taylor
    Ian Tester
    Andy Thomas
    Kevin Turner
    Rebecca Walter
    Martin Weber
    James Wang
    Kris Wehner
    Nigel Wetten
    Calvin Williamson
    Matthew Wilson
    Shirasaki Yasuhiro

%package devel
License:        GPL v2 or later
Summary:        The GNU Image Manipulation Program
Requires:       %{name} = %{version} gtk2-devel glib2-devel glibc-devel
Provides:       gimp-2.0-devel = %{version}
Obsoletes:      gimp-unstable-devel < 2.6.0
Group:          Productivity/Graphics/Bitmap Editors

%description devel
The GIMP (GNU Image Manipulation Program) is a powerful image
composition and editing program, which can be extremely useful for
creating logos and other graphics for Web pages.  The GIMP offers many
of the tools and filters you would expect to find in similar commercial
offerings and contains some interesting extras as well. The GIMP
provides alarge image manipulation toolbox, including channel
operations and layers, effects, subpixel imaging and antialiasing, and
conversions- all including multilevel undo. The GIMP offers a scripting
facility, but many of the included scripts rely on fonts that we cannot
distribute. The GIMP FTP sitehas a package of fonts that you need to
run the included scripts and that you can install yourself. Some of the
fonts have unusual licensing requirements, but all the licenses are
documented in the package. Get
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you like to
do so. Alternatively, choose fonts that exist on your systembefore
running the scripts.



Authors:
--------
    Spencer Kimball
    Peter Mattis
    Lauri Alanko
    Shawn Amundson
    Sven Anders
    Karl-Johan Andersson
    John Beale
    Zach Beane
    Tom Bech
    Marc Bless
    Edward Blevins
    Reagan Blundell
    Xavier Bouchoux
    Roberto Boyd
    Stanislav Brabec
    Robert Brady
    Hans Breuer
    Simon Budig
    Carey Bunks
    Seth Burgess
    Brent Burton
    Francisco Bustamante
    Albert Cahalan
    Sean Cier
    Winston Chang
    Kenneth Christiansen
    Zbigniew Chyla
    Ed Connel
    Piers Cornwell
    Daniel Cotting
    Jay Cox
    Brian Degenhardt
    Gert Dewit
    Andreas Dilger
    Austin Donnelly
    Scott Draves
    Daniel Dunbar
    Misha Dynin
    Daniel Egger
    Morton Eriksen
    Larry Ewing
    Nick Fetchak
    Valek Filippov
    David Forsyth
    Raphael Francois
    Jochen Friedrich
    Sami Gerdt
    Jim Geuther
    Graeme Gill
    Scott Goehring
    Heiko Goller
    Marcelo de Gomensoro Malheiros
    Pavel Grinfeld
    Michael Hammel
    Henrik Hansen
    Ville Hautamaki
    James Henstridge
    Eric Hernes
    David Hodson
    Christoph Hoegl
    Wolfgang Hofer
    Jan Hubicka
    Andreas Hyden
    Ben Jackson
    Krzysztof Jakubowski
    Simon Janes
    Tim Janik
    Fellmann Joaquim
    Andrew Kieschnick
    Peter Kirchgessner
    Philipp Klaus
    David Koblas
    Robert L Krawitz
    Tuomas Kuosmanen
    Karin Kylander
    Olof S Kylander
    Karl La Rocca
    Chris Lahey
    Nick Lamb
    Marco Lamberto
    Jens Lautenbacher
    Laramie Leavitt
    Elliot Lee
    Marc Lehmann
    Ray Lehtiniemi
    Raph Levien
    Wing Tung Leung
    Adrian Likins
    Tor Lillqvist
    Ingo Luetkebohle
    Josh MacDonald
    Ed Mackey
    Vidar Madsen
    Ian Main
    Kjartan Maraas
    Kelly Martin
    Torsten Martinsen
    Gordon Matzigkeit
    Gregory McLean
    Daniele Medri
    Federico Mena Quintero
    James Mitchell
    Hirotsuna Mizuno
    David Monniaux
    Adam D Moss
    Balazs Nagy
    Yukihiro Nakai
    Sung-Hyun Nam
    Shuji Narazaki
    Felix Natter
    Michael Natterer
    David Neary
    Sven Neumann
    Stephen Robert Norris
    Tim Newsome
    Erik Nygren
    Miles O'Neal
    David Neary
    David Necas
    David Odin
    Thom van Os
    Garry R. Osgood
    Alan Paeth
    Jay Painter
    Sergey Panov
    Ville Patsi
    Asbjorn Pettersen
    Mike Phillips
    Artur Polaczynski
    Raphael Quinet
    Tom Rathborne
    Vincent Renardias
    Jens Restemeier
    Maurits Rijk
    Daniel Risacher
    James Robinson
    Guillermo S. Romero
    Tim Rowley
    Pablo Saratxaga
    Mike Schaeffer
    John Schlag
    Norbert Schmitz
    Thorsten Schnier
    Alexander Schulz
    Tracy Scott
    Craig Setera
    Aaron Sherman
    Manish Singh
    Daniel Skarda
    Adam Spiers
    Jakub Steiner
    Nathan Summers
    Mike Sweet
    Yuri Syrota
    Eiichi Takamori
    Tristan Tarrant
    Michael Taylor
    Owen Taylor
    Ian Tester
    Andy Thomas
    Kevin Turner
    Rebecca Walter
    Martin Weber
    James Wang
    Kris Wehner
    Nigel Wetten
    Calvin Williamson
    Matthew Wilson
    Shirasaki Yasuhiro

%package doc
License:        GPL v2 or later
Summary:        The GNU Image Manipulation Program
Requires:       %{name} = %{version}
Provides:       gimp-2.0-doc = %{version}
Obsoletes:      gimp-unstable-doc < 2.6.0
Group:          Productivity/Graphics/Bitmap Editors

%description doc
The GIMP (GNU Image Manipulation Program) is a powerful image
composition and editing program, which can be extremely useful for
creating logos and other graphics for Web pages.  The GIMP offers many
of the tools and filters you would expect to find in similar commercial
offerings and contains some interesting extras as well. The GIMP
provides alarge image manipulation toolbox, including channel
operations and layers, effects, subpixel imaging and antialiasing, and
conversions- all including multilevel undo. The GIMP offers a scripting
facility, but many of the included scripts rely on fonts that we cannot
distribute. The GIMP FTP sitehas a package of fonts that you need to
run the included scripts and that you can install yourself. Some of the
fonts have unusual licensing requirements, but all the licenses are
documented in the package. Get
ftp://ftp.gimp.org/pub/gimp/fonts/freefonts-0.10.tar.gz and
ftp://ftp.gimp.org/pub/gimp/fonts/sharefonts-0.10.tar.gz if you like to
do so. Alternatively, choose fonts that exist on your systembefore
running the scripts.



Authors:
--------
    Spencer Kimball
    Peter Mattis
    Lauri Alanko
    Shawn Amundson
    Sven Anders
    Karl-Johan Andersson
    John Beale
    Zach Beane
    Tom Bech
    Marc Bless
    Edward Blevins
    Reagan Blundell
    Xavier Bouchoux
    Roberto Boyd
    Stanislav Brabec
    Robert Brady
    Hans Breuer
    Simon Budig
    Carey Bunks
    Seth Burgess
    Brent Burton
    Francisco Bustamante
    Albert Cahalan
    Sean Cier
    Winston Chang
    Kenneth Christiansen
    Zbigniew Chyla
    Ed Connel
    Piers Cornwell
    Daniel Cotting
    Jay Cox
    Brian Degenhardt
    Gert Dewit
    Andreas Dilger
    Austin Donnelly
    Scott Draves
    Daniel Dunbar
    Misha Dynin
    Daniel Egger
    Morton Eriksen
    Larry Ewing
    Nick Fetchak
    Valek Filippov
    David Forsyth
    Raphael Francois
    Jochen Friedrich
    Sami Gerdt
    Jim Geuther
    Graeme Gill
    Scott Goehring
    Heiko Goller
    Marcelo de Gomensoro Malheiros
    Pavel Grinfeld
    Michael Hammel
    Henrik Hansen
    Ville Hautamaki
    James Henstridge
    Eric Hernes
    David Hodson
    Christoph Hoegl
    Wolfgang Hofer
    Jan Hubicka
    Andreas Hyden
    Ben Jackson
    Krzysztof Jakubowski
    Simon Janes
    Tim Janik
    Fellmann Joaquim
    Andrew Kieschnick
    Peter Kirchgessner
    Philipp Klaus
    David Koblas
    Robert L Krawitz
    Tuomas Kuosmanen
    Karin Kylander
    Olof S Kylander
    Karl La Rocca
    Chris Lahey
    Nick Lamb
    Marco Lamberto
    Jens Lautenbacher
    Laramie Leavitt
    Elliot Lee
    Marc Lehmann
    Ray Lehtiniemi
    Raph Levien
    Wing Tung Leung
    Adrian Likins
    Tor Lillqvist
    Ingo Luetkebohle
    Josh MacDonald
    Ed Mackey
    Vidar Madsen
    Ian Main
    Kjartan Maraas
    Kelly Martin
    Torsten Martinsen
    Gordon Matzigkeit
    Gregory McLean
    Daniele Medri
    Federico Mena Quintero
    James Mitchell
    Hirotsuna Mizuno
    David Monniaux
    Adam D Moss
    Balazs Nagy
    Yukihiro Nakai
    Sung-Hyun Nam
    Shuji Narazaki
    Felix Natter
    Michael Natterer
    David Neary
    Sven Neumann
    Stephen Robert Norris
    Tim Newsome
    Erik Nygren
    Miles O'Neal
    David Neary
    David Necas
    David Odin
    Thom van Os
    Garry R. Osgood
    Alan Paeth
    Jay Painter
    Sergey Panov
    Ville Patsi
    Asbjorn Pettersen
    Mike Phillips
    Artur Polaczynski
    Raphael Quinet
    Tom Rathborne
    Vincent Renardias
    Jens Restemeier
    Maurits Rijk
    Daniel Risacher
    James Robinson
    Guillermo S. Romero
    Tim Rowley
    Pablo Saratxaga
    Mike Schaeffer
    John Schlag
    Norbert Schmitz
    Thorsten Schnier
    Alexander Schulz
    Tracy Scott
    Craig Setera
    Aaron Sherman
    Manish Singh
    Daniel Skarda
    Adam Spiers
    Jakub Steiner
    Nathan Summers
    Mike Sweet
    Yuri Syrota
    Eiichi Takamori
    Tristan Tarrant
    Michael Taylor
    Owen Taylor
    Ian Tester
    Andy Thomas
    Kevin Turner
    Rebecca Walter
    Martin Weber
    James Wang
    Kris Wehner
    Nigel Wetten
    Calvin Williamson
    Matthew Wilson
    Shirasaki Yasuhiro

%lang_package
%prep
%setup -q
# We can ignore these warnings:
# http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22197
# spline.c: 47
# fit.c: 1310
%patch
%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1

%build
#aclocal
#automake
autoconf
# needed for gimp-2.4.0:
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure\
	--disable-static\
	--libexecdir=%{_prefix}/lib\
	--enable-default-binary\
	--enable-mp
make %{?jobs:-j%jobs}

%install
%makeinstall
%suse_update_desktop_file gimp
rm $RPM_BUILD_ROOT%{_libdir}/gimp/2.0/*/*.*a
%find_lang gimp20
%find_lang gimp20-libgimp gimp20.lang
%find_lang gimp20-python gimp20.lang
%find_lang gimp20-script-fu gimp20.lang
%find_lang gimp20-std-plug-ins gimp20.lang
%find_lang gimp20-tips gimp20.lang
echo "%%defattr(-,root,root)" >plugins.list
echo "%%defattr(-,root,root)" >plugins-python.list
for PLUGIN in $RPM_BUILD_ROOT%{_libdir}/gimp/2.0/plug-ins/* ; do
    if grep -q '^#!.*python' $PLUGIN ; then
	echo "${PLUGIN#$RPM_BUILD_ROOT}" >>plugins-python.list
    else
	echo "${PLUGIN#$RPM_BUILD_ROOT}" >>plugins.list
    fi
done

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf $RPM_BUILD_ROOT

%files -f plugins.list
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog* LICENSE NEWS* README
%{_bindir}/gimp
%{_bindir}/gimp-*
%{_libdir}/*.so.*
%{_datadir}/applications/gimp.desktop
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/apps/*.svg
%{_datadir}/gimp
%exclude %{_datadir}/gimp/2.0/images/gimp-splash.png
%dir %{_libdir}/gimp
%dir %{_libdir}/gimp/2.0
%dir %{_libdir}/gimp/2.0/environ
%{_libdir}/gimp/2.0/environ/default.env
%dir %{_libdir}/gimp/2.0/interpreters
%{_libdir}/gimp/2.0/interpreters/default.interp
%{_libdir}/gimp/2.0/modules
%dir %{_libdir}/gimp/2.0/plug-ins
%doc %{_mandir}/man?/*.*
%dir %{_sysconfdir}/gimp
%dir %{_sysconfdir}/gimp/2.0
%config %{_sysconfdir}/gimp/2.0/*rc

%files branding-upstream
%defattr(-,root,root)
%{_datadir}/gimp/2.0/images/gimp-splash.png

%files plugins-python -f plugins-python.list
%defattr(-,root,root)
%{_libdir}/gimp/2.0/environ/pygimp.env
%{_libdir}/gimp/2.0/interpreters/pygimp.interp
%{_libdir}/gimp/2.0/python
# FIXME: Maybe split gimp-lang and gimp-plugins-python-lang

%files lang -f gimp20.lang

%files devel
%defattr(-,root,root)
%doc README.i18n
%{_bindir}/gimptool*
%{_datadir}/aclocal/*.m4
%{_includedir}/*
%{_libdir}/*.*a
%{_libdir}/*.so
%{_libdir}/pkgconfig/*.pc

%files doc
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/*

%changelog