2024-01-05 23:01:33 +01:00
|
|
|
%define api_version 2.0
|
2024-01-05 23:01:33 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-01-05 23:01:33 +01:00
|
|
|
|
|
|
|
Name: gimp-help
|
2024-01-05 23:01:37 +01:00
|
|
|
Version: 2.10.34
|
2024-01-05 23:01:33 +01:00
|
|
|
Epoch: 1
|
|
|
|
Release: 1mamba
|
|
|
|
Summary: The GIMP help for use with the internal GIMP help browser and more
|
|
|
|
Group: Documentation
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-05 23:01:33 +01:00
|
|
|
URL: https://www.gimp.org
|
|
|
|
Source0: https://download.gimp.org/pub/gimp/help/gimp-help-%{version}.tar.bz2
|
2024-01-05 23:01:33 +01:00
|
|
|
Patch0: %{name}-2.6.1-autogen.sh.patch
|
|
|
|
Patch1: %{name}-2.6.1-missing_from_git.patch
|
|
|
|
Patch2: %{name}-2.8.0-fix_missing_ca_quickreference.patch
|
|
|
|
License: GPL
|
2024-01-05 23:01:33 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
## AUTOBUILDREQ-END
|
2024-01-05 23:01:33 +01:00
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: pkgconfig
|
|
|
|
BuildRequires: libgsf-devel
|
|
|
|
BuildRequires: libcroco-devel
|
|
|
|
BuildRequires: libgail-devel
|
|
|
|
BuildRequires: perl
|
|
|
|
# build requirements for gimp-help
|
|
|
|
BuildRequires: libxslt-devel
|
|
|
|
BuildRequires: ImageMagick
|
|
|
|
BuildRequires: /usr/bin/xmllint
|
|
|
|
BuildRequires: /usr/bin/xsltproc
|
|
|
|
BuildRequires: gnome-doc-utils
|
|
|
|
BuildRequires: docbook-dtds
|
|
|
|
BuildRequires: docbook-xsl
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
# FIXME:
|
|
|
|
#
|
|
|
|
#checking for dblatex... no
|
|
|
|
#configure: WARNING: cannot find dblatex(1), PDF generation disabled
|
|
|
|
#checking for docbook2odf... no
|
|
|
|
#configure: WARNING: cannot find docbook2odf(1), ODF generation disabled
|
|
|
|
|
|
|
|
%description
|
|
|
|
The GIMP help for use with the internal GIMP help browser and more.
|
|
|
|
|
2024-01-05 23:01:33 +01:00
|
|
|
%define lang_subpkg() \
|
|
|
|
%package %{1}\
|
|
|
|
Summary: %{2} help files for GIMP\
|
|
|
|
Requires: gimp >= %{majver}\
|
|
|
|
Obsoletes: %{name}-%{1} < 1:2.10.0\
|
|
|
|
Obsoletes: %{name}-i18n-%{1} < 1:2.10.0\
|
|
|
|
Supplements: (gimp >= %{majver} and langpacks-%{1})\
|
|
|
|
\
|
|
|
|
%description %{1}\
|
|
|
|
This package contains the %{2} help files for GIMP.\
|
|
|
|
\
|
|
|
|
%files %{1}\
|
|
|
|
%defattr(-,root,root)\
|
|
|
|
%dir %{_datadir}/gimp/%{api_version}/help/%{1}\
|
2024-01-05 23:01:37 +01:00
|
|
|
%{_datadir}/gimp/%{api_version}/help/%{1}/*\
|
|
|
|
%if "%{_build_cpu}" == "i586"\
|
|
|
|
%{_datadir}/gimp/%{api_version}/help/pdf/gimp-keys-%{1}.pdf\
|
|
|
|
%endif
|
2024-01-05 23:01:33 +01:00
|
|
|
|
|
|
|
%lang_subpkg ca Catalan
|
2024-01-05 23:01:37 +01:00
|
|
|
%lang_subpkg cs Czech
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg da Danish
|
|
|
|
%lang_subpkg de German
|
2024-01-05 23:01:37 +01:00
|
|
|
#% lang_subpkg el Greek
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg en English
|
|
|
|
%lang_subpkg en_GB %{quote:British English}
|
|
|
|
%lang_subpkg es Spanish
|
2024-01-05 23:01:37 +01:00
|
|
|
%lang_subpkg fa Persian
|
|
|
|
#% lang_subpkg fi Finnish
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg fr French
|
2024-01-05 23:01:37 +01:00
|
|
|
%lang_subpkg hr Croatian
|
|
|
|
%lang_subpkg hu Hungarian
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg it Italian
|
2024-01-05 23:01:37 +01:00
|
|
|
#% lang_subpkg ja Japanese
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg ko Korean
|
2024-01-05 23:01:37 +01:00
|
|
|
%lang_subpkg lt Lithuanian
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg nl Dutch
|
|
|
|
%lang_subpkg nn Norwegian
|
|
|
|
#% lang_subpkg pl Polish
|
2024-01-05 23:01:37 +01:00
|
|
|
%lang_subpkg pt Portuguese
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg pt_BR %{quote:Portuguese (Brazilian)}
|
|
|
|
%lang_subpkg ro Romanian
|
2024-01-05 23:01:37 +01:00
|
|
|
#% lang_subpkg ru Russian
|
|
|
|
%lang_subpkg sl Slovenian
|
|
|
|
%lang_subpkg sv Swedish
|
|
|
|
%lang_subpkg uk Ukranian
|
2024-01-05 23:01:33 +01:00
|
|
|
%lang_subpkg zh_CN %{quote:Chinese (Simplified)}
|
2024-01-05 23:01:33 +01:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-05 23:01:37 +01:00
|
|
|
#-D -T
|
2024-01-05 23:01:33 +01:00
|
|
|
#%patch2 -p1
|
2024-01-05 23:01:33 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-05 23:01:37 +01:00
|
|
|
#:<< _EOF
|
2024-01-05 23:01:33 +01:00
|
|
|
%configure \
|
2024-01-05 23:01:37 +01:00
|
|
|
--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"
|
2024-01-05 23:01:33 +01:00
|
|
|
|
|
|
|
%make
|
2024-01-05 23:01:33 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall DESTDIR=%{buildroot}
|
|
|
|
|
2024-01-05 23:01:37 +01:00
|
|
|
# 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
|
|
|
|
|
2024-01-05 23:01:33 +01:00
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%changelog
|
2024-01-05 23:01:37 +01:00
|
|
|
* Mon Aug 21 2023 Automatic Build System <autodist@mambasoft.it> 2.10.34-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-05 23:01:33 +01:00
|
|
|
* Wed Mar 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-1mamba
|
|
|
|
- update to 2.10.0
|
|
|
|
|
2024-01-05 23:01:33 +01:00
|
|
|
* Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Wed Aug 08 2012 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Thu Sep 15 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.6.1-2mamba
|
|
|
|
- gimp-help-i18n-ja: don't provide/obsolete gimp-help-ko but gimp-help-ja
|
|
|
|
|
|
|
|
* Tue Apr 19 2011 Automatic Build System <autodist@mambasoft.it> 2.6.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Sat Dec 20 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Tue Aug 26 2008 Aleph0 <aleph0@openmamba.org> 2.4.1-1mamba
|
|
|
|
- update to 2.4.1
|
|
|
|
- added missing build requirements for gome-doc-utils, docbook-dtds, and docbook-xsl
|
|
|
|
|
|
|
|
* Sun Dec 16 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- new gimp-help stand-alone package split out of gimp package
|
|
|
|
- bump epoch because previous version of gimp-help was 2.4.3
|
|
|
|
- package set as noarch
|