update to 2.10.0 [release 2.10.0-1mamba;Wed Mar 10 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 23:01:33 +01:00
parent 4916faed34
commit 46031b0628
2 changed files with 55 additions and 345 deletions

View File

@ -2,4 +2,3 @@
The GIMP help for use with the internal GIMP help browser and more. The GIMP help for use with the internal GIMP help browser and more.

View File

@ -1,7 +1,8 @@
%define api_version 2.0 %define api_version 2.0
%define majver %(echo %version | cut -d. -f1-2)
Name: gimp-help Name: gimp-help
Version: 2.8.1 Version: 2.10.0
Epoch: 1 Epoch: 1
Release: 1mamba Release: 1mamba
Summary: The GIMP help for use with the internal GIMP help browser and more Summary: The GIMP help for use with the internal GIMP help browser and more
@ -9,12 +10,14 @@ Group: Documentation
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.gimp.org URL: https://www.gimp.org
Source0: ftp://ftp.gimp.org/pub/gimp/help/gimp-help-%{version}.tar.bz2 Source0: https://download.gimp.org/pub/gimp/help/gimp-help-%{version}.tar.bz2
Patch0: %{name}-2.6.1-autogen.sh.patch Patch0: %{name}-2.6.1-autogen.sh.patch
Patch1: %{name}-2.6.1-missing_from_git.patch Patch1: %{name}-2.6.1-missing_from_git.patch
Patch2: %{name}-2.8.0-fix_missing_ca_quickreference.patch Patch2: %{name}-2.8.0-fix_missing_ca_quickreference.patch
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: gettext-devel BuildRequires: gettext-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
BuildRequires: libgsf-devel BuildRequires: libgsf-devel
@ -29,9 +32,8 @@ BuildRequires: /usr/bin/xsltproc
BuildRequires: gnome-doc-utils BuildRequires: gnome-doc-utils
BuildRequires: docbook-dtds BuildRequires: docbook-dtds
BuildRequires: docbook-xsl BuildRequires: docbook-xsl
BuildRequires: make381 BuildRequires: python-libxml2-py27
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-root
# FIXME: # FIXME:
# #
@ -43,359 +45,68 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
The GIMP help for use with the internal GIMP help browser and more. The GIMP help for use with the internal GIMP help browser and more.
%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}\
%{_datadir}/gimp/%{api_version}/help/%{1}/*
%lang_subpkg ca Catalan
#% lang_subpkg cs Czech
%lang_subpkg da Danish
%lang_subpkg de German
%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 fr French
#% lang_subpkg hr Croatian
%lang_subpkg it Italian
%lang_subpkg ja Japanese
%lang_subpkg ko Korean
#% lang_subpkg lt Lithuanian
%lang_subpkg nl Dutch
%lang_subpkg nn Norwegian
#% lang_subpkg pl Polish
%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 zh_CN %{quote:Chinese (Simplified)}
%prep %prep
%setup -q %setup -q
#%patch0 -p1 #%patch2 -p1
#%patch1 -p1
%patch2 -p1
%build %build
%configure --without-gimp %configure \
make html --without-gimp
%make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall DESTDIR=%{buildroot} %makeinstall DESTDIR=%{buildroot}
#install -D -m 755 data/misc/gimp.desktop \
# %{buildroot}%{_datadir}/applications/%{name}.desktop
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%package i18n-ca
Summary: Catalan help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-ca
Catalan help files for Gimp.
%files i18n-ca
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ca
%{_datadir}/gimp/%{api_version}/help/ca/*
%package i18n-cs
Summary: Czech help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-cs
Obsoletes: gimp-help-cs
%description i18n-cs
Czech help files for Gimp.
#%files help-cs
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/cs
#%{_datadir}/gimp/%{api_version}/help/cs/*
%package i18n-da
Summary: Danish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-da
Danish help files for Gimp.
%files i18n-da
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/da
%{_datadir}/gimp/%{api_version}/help/da/*
%package i18n-de
Summary: German help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-de
Obsoletes: gimp-help-de
%description i18n-de
German help files for Gimp.
%files i18n-de
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/de
%{_datadir}/gimp/%{api_version}/help/de/*
%package i18n-el
Summary: Greek help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-el
Greek help files for Gimp.
%files i18n-el
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/el
%{_datadir}/gimp/%{api_version}/help/el/*
%package i18n-en
Summary: English help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-en
Obsoletes: gimp-help-en
%description i18n-en
English help files for Gimp.
%files i18n-en
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/en
%{_datadir}/gimp/%{api_version}/help/en/*
%package i18n-en_GB
Summary: British English help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-en_GB
British English help files for Gimp.
%files i18n-en_GB
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/en_GB
%{_datadir}/gimp/%{api_version}/help/en_GB/*
%package i18n-es
Summary: Spanish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-es
Obsoletes: gimp-help-es
%description i18n-es
Spanish help files for Gimp.
%files i18n-es
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/es
%{_datadir}/gimp/%{api_version}/help/es/*
%package i18n-fi
Summary: Finnish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-fi
Finnish help files for Gimp.
#%files i18n-fi
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/fi
#%{_datadir}/gimp/%{api_version}/help/fi/*
%package i18n-fr
Summary: French help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-fr
Obsoletes: gimp-help-fr
%description i18n-fr
French help files for Gimp.
%files i18n-fr
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/fr
%{_datadir}/gimp/%{api_version}/help/fr/*
%package i18n-hr
Summary: Croatian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-hr
Obsoletes: gimp-help-hr
%description i18n-hr
Croatian help files for Gimp.
#%files i18n-hr
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/hr
#%{_datadir}/gimp/%{api_version}/help/hr/*
%package i18n-it
Summary: Italian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-it
Obsoletes: gimp-help-it
%description i18n-it
Italian help files for Gimp.
%files i18n-it
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/it
%{_datadir}/gimp/%{api_version}/help/it/*
%package i18n-ja
Summary: Japanese help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-ja
Obsoletes: gimp-help-ja
%description i18n-ja
Japanese help files for Gimp.
%files i18n-ja
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ja
%{_datadir}/gimp/%{api_version}/help/ja/*
%package i18n-ko
Summary: Korean help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-ko
Obsoletes: gimp-help-ko
%description i18n-ko
Korean help files for Gimp.
%files i18n-ko
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ko
%{_datadir}/gimp/%{api_version}/help/ko/*
%package i18n-lt
Summary: Lithuanian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-lt
Lithuanian help files for Gimp.
#%files i18n-lt
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/lt
#%{_datadir}/gimp/%{api_version}/help/lt/*
%package i18n-nl
Summary: Dutch help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-nl
Obsoletes: gimp-help-nl
%description i18n-nl
Dutch help files for Gimp.
%files i18n-nl
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/nl
%{_datadir}/gimp/%{api_version}/help/nl/*
%package i18n-nn
Summary: Norwegian Nynorsk help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-no
Obsoletes: gimp-help-no
Provides: gimp-help-i18n-no
Obsoletes: gimp-help-i18n-no
%description i18n-nn
Norwegian Nynorsk help files for Gimp.
%files i18n-nn
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/nn
%{_datadir}/gimp/%{api_version}/help/nn/*
%package i18n-pl
Summary: Polish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-pl
Obsoletes: gimp-help-pl
%description i18n-pl
Polish help files for Gimp.
#%files i18n-pl
#%defattr(-,root,root)
#%dir %{_datadir}/gimp/%{api_version}/help/pl
#%{_datadir}/gimp/%{api_version}/help/pl/*
%package i18n-pt_BR
Summary: Brazil Portuguese help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-pt_BR
Brazil Portuguese help files for Gimp.
%files i18n-pt_BR
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/pt_BR
%{_datadir}/gimp/%{api_version}/help/pt_BR/*
%package i18n-ru
Summary: Russian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-ru
Obsoletes: gimp-help-ru
%description i18n-ru
Russian help files for Gimp.
%files i18n-ru
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/ru
%{_datadir}/gimp/%{api_version}/help/ru/*
%package i18n-sl
Summary: Slovenian help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
%description i18n-sl
Slovenian help files for Gimp.
%files i18n-sl
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/sl
%{_datadir}/gimp/%{api_version}/help/sl/*
%package i18n-sv
Summary: Swedish help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-sv
Obsoletes: gimp-help-sv
%description i18n-sv
Swedish help files for Gimp.
%files i18n-sv
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/sv
%{_datadir}/gimp/%{api_version}/help/sv/*
%package i18n-zh_CN
Summary: Simplified chinese help files for Gimp
Group: System/Internationalization
Requires: gimp >= %{version}
Provides: gimp-help-zn_CN
Obsoletes: gimp-help-zn_CN
%description i18n-zh_CN
Simplified chinese help files for Gimp.
%files i18n-zh_CN
%defattr(-,root,root)
%dir %{_datadir}/gimp/%{api_version}/help/zh_CN
%{_datadir}/gimp/%{api_version}/help/zh_CN/*
%changelog %changelog
* Wed Mar 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.10.0-1mamba
- update to 2.10.0
* Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba * Sun Dec 01 2013 Automatic Build System <autodist@mambasoft.it> 2.8.1-1mamba
- automatic update by autodist - automatic update by autodist