SHA256
1
0
forked from pool/gimp-help
gimp-help/gimp-help.spec
Stephan Kulow ff2000be26 Accepting request 155481 from GNOME:Apps
Fix build of gimp-help on all platforms... 

Nobody knows why gimpmode would even be needed... (forwarded request 151527 from Zaitor)

OBS-URL: https://build.opensuse.org/request/show/155481
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-help?expand=0&rev=24
2013-02-15 17:44:52 +00:00

395 lines
11 KiB
RPMSpec

#
# spec file for package gimp-help
#
# Copyright (c) 2013 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/
#
Name: gimp-help
Version: 2.8.0
Release: 0
# FIXME: Check if parallel build reliably works again (last check: 2.6.1)
Summary: Help System Data for GIMP
License: GFDL-1.2
Group: Productivity/Graphics/Bitmap Editors
Url: http://www.gimp.org/
Source0: ftp://ftp.gimp.org/pub/gimp/help/%{name}-%{version}.tar.bz2
# PATCH-FIX-UPSTREAM gimp-help-2.8.0-missing-po-files.patch dimstar@opensuse.org -- Add missing .po files
Patch0: gimp-help-2.8.0-missing-po-files.patch
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gimp-devel
BuildRequires: libxslt
BuildRequires: xhtml-dtd
BuildRequires: xml2po
BuildRequires: xmlcharent
Requires: gimp
Enhances: gimp
Provides: gimp-help-2
Obsoletes: gimp-help-2
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 browser and HTML renderers, and human eyeballs.
%package ca
Summary: Catalanian Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:ca)
%description ca
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Catalanian data for gimp-help.
%package da
Summary: Danish Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:da)
%description da
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Danish data for gimp-help.
%package de
Summary: German Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides German data for gimp-help.
%package el
Summary: Greek Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:el)
%description el
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Greek data for gimp-help.
%package en_GB
Summary: British English Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:en_GB)
%description en_GB
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides British English data for gimp-help.
%package es
Summary: Spanish Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Spanish data for gimp-help.
%package fi
Summary: Finnish Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:fi)
%description fi
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Finnish data for gimp-help.
%package fr
Summary: French Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides French data for gimp-help.
%package hr
Summary: Croatian Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:hr)
%description hr
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Croatian data for gimp-help.
%package it
Summary: Italian Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Italian data for gimp-help.
%package ja
Summary: Japanese Help System Data for GIMP
Group: System/I18n/Korean
Requires: %{name} = %{version}
Provides: locale(%{name}:ja)
%description ja
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Japanese data for gimp-help.
%package ko
Summary: Korean Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Korean data for gimp-help.
%package lt
Summary: Lithuanian Help System Data for GIMP
Group: System/I18n/Korean
Requires: %{name} = %{version}
Provides: locale(%{name}:lt)
%description lt
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Lithuanian data for gimp-help.
%package nl
Summary: Dutch Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Dutch data for gimp-help.
%package nn
Summary: Norwegian Nynorsk Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:nn)
%description nn
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Norwegian Nynorsk data for gimp-help.
%package pl
Summary: Polish Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Polish data for gimp-help.
%package ru
Summary: Russian Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Russian data for gimp-help.
%package sl
Summary: Slovenian Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:sl)
%description sl
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Slovenian data for gimp-help.
%package sv
Summary: Swedish Help System Data for GIMP
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 browser and HTML renderers, and human eyeballs.
This package provides Swedish data for gimp-help.
%package zh
Summary: Chinese Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:zh)
%description zh
GIMP-Help is a help system designed for use with the internal GIMP help
browser, external Web browser and HTML renderers, and human eyeballs.
This package provides Chinese data for gimp-help.
%prep
%setup -q
%patch0 -p1
%build
%configure
make XML2POFLAGS=
# unify the permissions of images, to make fdupes working again (bnc#784670)
find images/ -type f -exec chmod 0644 {} +
%install
%make_install
for locale in %{buildroot}%{_datadir}/gimp/2.0/help/*; do
%fdupes $locale
done
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%doc AUTHORS COPYING ChangeLog NEWS README TERMINOLOGY
%dir %{_datadir}/gimp/2.0/help
%{_datadir}/gimp/2.0/help/en/
%files ca
%defattr (-,root,root)
%lang(ca) %{_datadir}/gimp/2.0/help/ca/
%files da
%defattr (-,root,root)
%lang(da) %{_datadir}/gimp/2.0/help/da/
%files de
%defattr (-,root,root)
%lang(de) %{_datadir}/gimp/2.0/help/de/
%files el
%defattr (-,root,root)
%lang(el) %{_datadir}/gimp/2.0/help/el/
%files en_GB
%defattr (-,root,root)
%lang(en_GB) %{_datadir}/gimp/2.0/help/en_GB/
%files es
%defattr (-,root,root)
%lang(es) %{_datadir}/gimp/2.0/help/es/
%files fi
%defattr (-,root,root)
%lang(fi) %{_datadir}/gimp/2.0/help/fi/
%files fr
%defattr (-,root,root)
%lang(fr) %{_datadir}/gimp/2.0/help/fr/
%files hr
%defattr (-,root,root)
%lang(hr) %{_datadir}/gimp/2.0/help/hr/
%files it
%defattr (-,root,root)
%lang(it) %{_datadir}/gimp/2.0/help/it/
%files ja
%defattr (-,root,root)
%lang(ja) %{_datadir}/gimp/2.0/help/ja/
%files ko
%defattr (-,root,root)
%lang(ko) %{_datadir}/gimp/2.0/help/ko/
%files lt
%defattr (-,root,root)
%lang(lt) %{_datadir}/gimp/2.0/help/lt/
%files nl
%defattr (-,root,root)
%lang(nl) %{_datadir}/gimp/2.0/help/nl/
%files nn
%defattr (-,root,root)
%lang(nn) %{_datadir}/gimp/2.0/help/nn/
%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/
%files sl
%defattr (-,root,root)
%lang(sl) %{_datadir}/gimp/2.0/help/sl/
%files sv
%defattr (-,root,root)
%lang(sv) %{_datadir}/gimp/2.0/help/sv/
%files zh
%defattr (-,root,root)
%lang(zh) %{_datadir}/gimp/2.0/help/zh_CN/
%changelog