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

293 lines
8.3 KiB
RPMSpec
Raw Normal View History

#
# spec file for package gimp-help (Version 2.6.1)
#
# Copyright (c) 2011 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.6.1
Release: 1
# FIXME: on update, see if we still need Makefile.GNU as additional source (last check: 2.6.1). See bgo#639057.
License: GFDLv1.2
Summary: Help System Data for GIMP
Url: http://www.gimp.org/
Group: Productivity/Graphics/Bitmap Editors
Source0: ftp://ftp.gimp.org/pub/gimp/help/%{name}-%{version}.tar.bz2
# Taken from git on 2011-01-09. Default Makefile doesn't work.
Source1: Makefile.GNU
Source2: gimp-help-2.doap
BuildRequires: docbook-xsl-stylesheets fdupes gimp-devel libxslt xhtml-dtd xml2po 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 da
License: GFDLv1.2
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
License: GFDLv1.2
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 es
License: GFDLv1.2
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 fr
License: GFDLv1.2
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 it
License: GFDLv1.2
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
License: GFDLv1.2
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
License: GFDLv1.2
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 nl
License: GFDLv1.2
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
License: GFDLv1.2
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
License: GFDLv1.2
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
License: GFDLv1.2
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 sv
License: GFDLv1.2
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
License: GFDLv1.2
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
cp %{S:1} .
cp %{S:2} .
%build
%configure
make -f Makefile.GNU %{?jobs:-j%jobs}
%install
#FIXME: we can't use the usual macro since we don't use the standard Makefile
#%make_install
install -d %{buildroot}%{_datadir}/gimp/2.0/help
cp -RL html/* %{buildroot}%{_datadir}/gimp/2.0/help/
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 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 es
%defattr (-,root,root)
%lang(es) %{_datadir}/gimp/2.0/help/es/
%files fr
%defattr (-,root,root)
%lang(fr) %{_datadir}/gimp/2.0/help/fr/
%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 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 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