SHA256
1
0
forked from pool/gimp-help
gimp-help/gimp-help.spec

1092 lines
24 KiB
RPMSpec

#
# spec file for package gimp-help (Version 2.4.2)
#
# Copyright (c) 2008 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-help
BuildRequires: docbook-xsl-stylesheets fdupes gimp-devel gnome-doc-utils libxslt xhtml-dtd xmlcharent
Url: http://www.gimp.org/
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Group: Productivity/Graphics/Bitmap Editors
Requires: gimp-2.0
Provides: gimp-help-2
Obsoletes: gimp-help-2
Enhances: gimp-2.0
Version: 2.4.2
Release: 2
Summary: Help System Data for GIMP2
Source: ftp://ftp.gimp.org/pub/gimp/help/%{name}-%{version}.tar.bz2
Source1: %{name}-update-spec.sh
Patch: %{name}-no.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package de
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: German Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:de)
%description de
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package es
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Spanish Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:es)
%description es
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package fr
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: French Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:fr)
%description fr
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package it
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Italian Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:it)
%description it
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package ko
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Korean Help System Data for GIMP2
Group: System/I18n/Korean
Requires: %{name} = %{version}
Provides: locale(%{name}:ko)
%description ko
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package nb
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Norwegian Bokmal Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:nb)
%description nb
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package nl
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Dutch Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:nl)
%description nl
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package pl
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Polish Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:pl)
%description pl
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package ru
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Russian Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:ru)
%description ru
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%package sv
License: GNU Free Documentation License, Version 1.2 (GFDL 1.2)
Summary: Swedish Help System Data for GIMP2
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:sv)
%description sv
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browsers and HTML renderers, and human eyes.
Docbook is used to create a highly customizable system for all needs.
Authors:
--------
Axel Wernicke
Róman Joost
Ulf-D. Ehlert
Marco Ciampa
Julien Hardelin
Alessandro Falappa
Manuel Quiñones
Ignacio AntI
Choi Ji-Hui(최지희)
Nickolay V. Shmyrev
Albin Bernharsson
Patrycja Stawiarska
Jakub Friedl
Hans De Jonge
Raymon Van Wanrooij
Semka Kuloviæ-Debals
Sally C. Barry
Daniel Egger
Sven Neumann
Domingo Stephan
Thomas Lotze
Thomas Güttler
Zhong Yaotang
Calum Mackay
Thomas S Lendo
Mel Boyce (syngin)
Oliver Ellis (Red Haze)
Markus Reinhardt
Alexander Weiher
Michael Hölzen
Raymond Ostertag
Cédric Gémy
Sébastien Barre
Niklas Mattison
Daryl Lee
William Skaggs
Cai Qian (蔡芊)
Yang Hong (杨红)
Xceals
Eric Lamarque
Robert van Drunen
Marco Marega
Mike Vargas
Andrea Zito
Karine Delvare
David 'Ilicz' Klementa
Jan Smith
Adolf Gerold
Roxana Chernogolova
Alexandre Prokoudine
Grigory Bakunov
Oleg Fritz
Mick Curtis
Vitaly Lomov
Pierre Perrier
Oliver Heesakke
Susanne Schmidt
Ben
Daniel Hornung
Jakub Steiner
Øyvind Kolås
Daniel Egger
Sven Neumann
Michael Natterer (mitch)
Henrik Brix Andersen (brix)
Thomas Schraitle
Chris Hübsch
Anne Schneider
Peter Volkov
Daniel Richard
%prep
%setup -q
# Rename Norwegian:
# FIXME: It is too early to do it here, as docbook still has no support for "nb".
# We have to do on installed files later. (see below)
#No "nb" localization exists.
#No context named "xref" exists in the "nb" localization.
#%patch
#find -type d -name no | sed 's/\(.*\)no$/mv \1no \1nb/' | sh -x
#grep -rl 'lang\( \|\)=\(["'"'"']\)\([^"'"'"']*;\|\)no' . | xargs sed -i 's/lang\( \|\)=\(["'"'"']\)\([^"'"'"']*;\|\)no/lang\1=\2\3nb/g'
%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}
%install
%makeinstall
# A lot of jpg and png files has executable permission:
find $RPM_BUILD_ROOT%{_datadir}/gimp/2.0/help/images -name '*.*' | xargs chmod -x
%fdupes $RPM_BUILD_ROOT%{_datadir}/gimp/2.0/help
# Rename Norwegian:
find $RPM_BUILD_ROOT%{_datadir}/gimp/2.0/help -name no | sed 's/\(.*\)no$/mv \1no \1nb/' | sh -x
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TERMINOLOGY
%dir %{_datadir}/gimp/
%dir %{_datadir}/gimp/2.0
%dir %{_datadir}/gimp/2.0/help
%dir %{_datadir}/gimp/2.0/help/images
%dir %{_datadir}/gimp/2.0/help/images/*[^g]
%dir %{_datadir}/gimp/2.0/help/images/using
%dir %{_datadir}/gimp/2.0/help/images/menus/file/new/logos
%dir %{_datadir}/gimp/2.0/help/images/filters
%dir %{_datadir}/gimp/2.0/help/images/filters/alpha-to-logo
%dir %{_datadir}/gimp/2.0/help/images/menus/file
%dir %{_datadir}/gimp/2.0/help/images/menus/file/new
%{_datadir}/gimp/2.0/help/images/*.*
%{_datadir}/gimp/2.0/help/images/*/*.*
%{_datadir}/gimp/2.0/help/images/filters/alpha-to-logo/*.*
%{_datadir}/gimp/2.0/help/images/menus/file/new/logos/*.*
%dir %{_datadir}/gimp/2.0/help/images/*/examples
%{_datadir}/gimp/2.0/help/images/*/examples/*.*
# It seems that these files have to be installed as fallback:
%{_datadir}/gimp/2.0/help/en
%files de
%defattr (-,root,root)
%lang(de) %{_datadir}/gimp/2.0/help/de
%lang(de) %{_datadir}/gimp/2.0/help/*/*/de
%lang(de) %{_datadir}/gimp/2.0/help/*/*/examples/de
%files es
%defattr (-,root,root)
%lang(es) %{_datadir}/gimp/2.0/help/es
%lang(es) %{_datadir}/gimp/2.0/help/*/*/es
%files fr
%defattr (-,root,root)
%lang(fr) %{_datadir}/gimp/2.0/help/fr
%lang(fr) %{_datadir}/gimp/2.0/help/*/*/fr
%lang(fr) %{_datadir}/gimp/2.0/help/*/*/examples/fr
%files it
%defattr (-,root,root)
%lang(it) %{_datadir}/gimp/2.0/help/it
%lang(it) %{_datadir}/gimp/2.0/help/*/*/it
%lang(it) %{_datadir}/gimp/2.0/help/*/*/examples/it
%files ko
%defattr (-,root,root)
%lang(ko) %{_datadir}/gimp/2.0/help/ko
%lang(ko) %{_datadir}/gimp/2.0/help/*/*/ko
%files nb
%defattr (-,root,root)
%lang(nb) %{_datadir}/gimp/2.0/help/nb
%lang(nb) %{_datadir}/gimp/2.0/help/*/*/nb
%lang(nb) %{_datadir}/gimp/2.0/help/*/*/examples/nb
%files nl
%defattr (-,root,root)
%lang(nl) %{_datadir}/gimp/2.0/help/nl
%lang(nl) %{_datadir}/gimp/2.0/help/*/*/nl
%files pl
%defattr (-,root,root)
%lang(pl) %{_datadir}/gimp/2.0/help/pl
%files ru
%defattr (-,root,root)
%lang(ru) %{_datadir}/gimp/2.0/help/ru
%lang(ru) %{_datadir}/gimp/2.0/help/*/*/ru
%files sv
%defattr (-,root,root)
%lang(sv) %{_datadir}/gimp/2.0/help/sv
%changelog