From 2196ab982c58082e073bfca692ccaedf098b8d84 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Fri, 5 Jan 2024 23:01:37 +0100 Subject: [PATCH] automatic version update by autodist [release 2.10.34-1mamba;Mon Aug 21 2023] --- gimp-help.spec | 43 ++++++++++++++++++++++++++++++------------- 1 file changed, 30 insertions(+), 13 deletions(-) diff --git a/gimp-help.spec b/gimp-help.spec index 108d226..eeeb261 100644 --- a/gimp-help.spec +++ b/gimp-help.spec @@ -2,7 +2,7 @@ %define majver %(echo %version | cut -d. -f1-2) Name: gimp-help -Version: 2.10.0 +Version: 2.10.34 Epoch: 1 Release: 1mamba Summary: The GIMP help for use with the internal GIMP help browser and more @@ -32,7 +32,6 @@ BuildRequires: /usr/bin/xsltproc BuildRequires: gnome-doc-utils BuildRequires: docbook-dtds BuildRequires: docbook-xsl -BuildRequires: python-libxml2-py27 BuildArch: noarch # FIXME: @@ -59,40 +58,50 @@ This package contains the %{2} help files for GIMP.\ %files %{1}\ %defattr(-,root,root)\ %dir %{_datadir}/gimp/%{api_version}/help/%{1}\ -%{_datadir}/gimp/%{api_version}/help/%{1}/* +%{_datadir}/gimp/%{api_version}/help/%{1}/*\ +%if "%{_build_cpu}" == "i586"\ +%{_datadir}/gimp/%{api_version}/help/pdf/gimp-keys-%{1}.pdf\ +%endif %lang_subpkg ca Catalan -#% lang_subpkg cs Czech +%lang_subpkg cs Czech %lang_subpkg da Danish %lang_subpkg de German -%lang_subpkg el Greek +#% lang_subpkg el Greek %lang_subpkg en English %lang_subpkg en_GB %{quote:British English} %lang_subpkg es Spanish -%lang_subpkg fi Finnish +%lang_subpkg fa Persian +#% lang_subpkg fi Finnish %lang_subpkg fr French -#% lang_subpkg hr Croatian +%lang_subpkg hr Croatian +%lang_subpkg hu Hungarian %lang_subpkg it Italian -%lang_subpkg ja Japanese +#% lang_subpkg ja Japanese %lang_subpkg ko Korean -#% lang_subpkg lt Lithuanian +%lang_subpkg lt Lithuanian %lang_subpkg nl Dutch %lang_subpkg nn Norwegian #% lang_subpkg pl Polish +%lang_subpkg pt Portuguese %lang_subpkg pt_BR %{quote:Portuguese (Brazilian)} %lang_subpkg ro Romanian -%lang_subpkg ru Russian -#% lang_subpkg sl Slovenian -#% lang_subpkg sv Swedish +#% lang_subpkg ru Russian +%lang_subpkg sl Slovenian +%lang_subpkg sv Swedish +%lang_subpkg uk Ukranian %lang_subpkg zh_CN %{quote:Chinese (Simplified)} %prep %setup -q +#-D -T #%patch2 -p1 %build +#:<< _EOF %configure \ - --without-gimp + --without-gimp \ + ALL_LINGUAS="ca cs da de en en_GB es fa fr hr hu it ko lt nl nn pt pt_BR ro sl sv uk zh_CN" %make @@ -100,10 +109,18 @@ This package contains the %{2} help files for GIMP.\ [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall DESTDIR=%{buildroot} +# FIXME: pdf are only in x86 build and also for excluded languages +for f in el fi ja pl ru; do + rm -f %{buildroot}%{_datadir}/gimp/%{api_version}/help/pdf/gimp-keys-${f}.pdf +done + %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %changelog +* Mon Aug 21 2023 Automatic Build System 2.10.34-1mamba +- automatic version update by autodist + * Wed Mar 10 2021 Silvan Calarco 2.10.0-1mamba - update to 2.10.0