gimp-help/gimp-help.spec

411 lines
12 KiB
RPMSpec
Raw Normal View History

#
# 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
Accepting request 546499 from graphics - Fix the download URL - Update to version 2.8.2: + Complete translation for Brazilian Portuguese + Many improvements for existing translations + Bug fixed: bgo#696034, bgo#724056, bgo#719859, bgo#719971, bgo#720479, bgo#720209, bgo#719876, bgo#719748. - Add pngcrush as BuildRequires, replace xml2po BuildRequires by python-libxml2 (we use an internal copy of xml2po). - Use 'gimpmode' for xml2po again and unset MALLOC_CHECK_/MALLOC_PERTURB_ again to prevent gimpmode crash. This speed-up build time a lot. - Update to version 2.8.1: + Online documentation (http://docs.gimp.org) now provides a language menu which allows users to switch to other translations of the same document if available (bgo#168256). + Bugs fixed: bgo#168256, bgo#676683, bgo#679173, bgo#680243, bgo#711318. + Updated translations. - Drop gimp-help-2.8.0-missing-po-files.patch: fixed upstream. - Add Brazilian Portuguese -lang package (pt_BR). - Disable -lang packages that actually did not contain translations (fi, hr, lt, pl). - Pass XML2POFLAGS= to make: do not use the special 'gimpmode' for xml2po. - No longer unset MALLOC_CHECK_ and MALLOC_PERTURB_, as not using gimpmode does not expose the crash. - Add gimp-help-2.8.0-missing-po-files.patch: Add missing .po files to the source directory. Fixes build on Factory. - Drop Makefile.GNU and use upstream shipped build system, as this works again. - Unset MALLOC_CHECK_ and MALLOC_PERTURB_ to avoid some crashes (hack only.. no fix yet). - Add new sub packages for new languages that apeared due to using the upstream / maintained makefile: ca, el, en_GB, fi, hr, lt and sl. - Since recent changes, fdupes can only link files of same owner/permissions (bnc#784670). As we still want to make use of fdupes, we adjust the permissions of the images folder's content. - Update to version 2.8.0: + Bugfixes: bgo#642729, bgo#634992, bgo#634995, bgo#636149 + Updated translations. - Disable parallel build. The build system seems to be very fragile and unreliable in this case. - Update to version 2.6.1: + Bugfixes: bgo#599700, bgo#618143, bgo#611265, bgo#563659, bgo#602659 + Spelling fixes and new translations for: Italian, English, German, French, Japnese, Norwegian, Swedish, Russian, Korean + XSLT Stylesheet improvements + Build system improviements - Changes from version 2.6.0: + Bugfixes: bgo#591510, bgo#562448, bgo#568420, bgo#569729, bgo#569731, bgo#569733, bgo#569739, bgo#574040, bgo#572673, bgo#557443, bgo#576230, bgo#577710, bgo#556314, bgo#573828, bgo#583840, bgo#573257, bgo#580532, bgo#585823, bgo#588318, bgo#588316, bgo#544965, bgo#569739, bgo#591510, bgo#591510 + Spelling fixes and new translations for: English, German, Italian, French, Japanese, Russian, Korean, Norwegian, Swedish + Website typo fixes - Add Makefile.GNU and gimp-help-2.doap from git, since the default Makefile provided in the tarball doesn't work (see bgo#639057). This means we also have to manually install the files in %install. - Change gimp-2.0 Requires and Enhances to gimp, since it's the right name of the package now. - Update descriptions. - Remove old hacks to remove executable permission and rename the no locale to nb: they are not needed anymore. - Change the use of fdupes to only create links between files of the same language (since all languages are packaged separately). - Add subpackage for new locales (da, ja, nn, zh) and remove nb subpackage. - Use xml2po BuildRequires instead of gnome-doc-utils. - Improve summaries and descriptions. - Drop gimp-help-no.patch: it's not used, and we accomplish what we want to fix the issue in %install. Also drop call to autoreconf that we were still using because of this unapplied patch. - Drop gimp-help-update-spec.sh: it's really too complex for nothing, and the update to 2.6 version of the help will break it. - Remove ownership of %{_datadir}/gimp and %{_datadir}/gimp/2.0 since it's not needed anymore. - Own some more directories. - Remove pre_checkin.sh, it's not used anymore. - package dirs correctly; fix build - Update to version 2.4.2: + Bugs fixed: bgo#515535, bgo#529924, bgo#546324, bgo#550551, bgo#551082 + Updated translations. - Updated to version 2.4.1 (bnc#406692): * documentation for GIMP 2.4 * new translations * bug fixes - Split translations per locale. - Do not run parallel make since the package build might break. - Prefix changed to /usr. - Spec file cleanup. - converted neededforbuild to BuildRequires - Updated to version 0.9. - fix typo in specfile - Use Enhances covering both GIMP branches. - Require gimp-2.0 virtual instead of gimp. - Updated to version 0.8. - Build as noarch. - Updated to version 0.6. - update to version gimp-help-2-0.4 - provide C -> en symlink (#37519) - Fixed GIMP2 paths. - cvs checkout 20040227 - update neededforbuild for prober stylesheet and dtd - renamed to gimp-help - gimp2 package has been renamed to gimp - Provide proper TextDecl for externally parsed entities. For background info cf. http://bugzilla.gnome.org/show_bug.cgi?id=126351 . - Added preliminary help package for gimp2 (bug #30085). OBS-URL: https://build.opensuse.org/request/show/546499 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-help?expand=0&rev=28
2017-12-19 10:50:19 +01:00
Version: 2.8.2
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/
Accepting request 546499 from graphics - Fix the download URL - Update to version 2.8.2: + Complete translation for Brazilian Portuguese + Many improvements for existing translations + Bug fixed: bgo#696034, bgo#724056, bgo#719859, bgo#719971, bgo#720479, bgo#720209, bgo#719876, bgo#719748. - Add pngcrush as BuildRequires, replace xml2po BuildRequires by python-libxml2 (we use an internal copy of xml2po). - Use 'gimpmode' for xml2po again and unset MALLOC_CHECK_/MALLOC_PERTURB_ again to prevent gimpmode crash. This speed-up build time a lot. - Update to version 2.8.1: + Online documentation (http://docs.gimp.org) now provides a language menu which allows users to switch to other translations of the same document if available (bgo#168256). + Bugs fixed: bgo#168256, bgo#676683, bgo#679173, bgo#680243, bgo#711318. + Updated translations. - Drop gimp-help-2.8.0-missing-po-files.patch: fixed upstream. - Add Brazilian Portuguese -lang package (pt_BR). - Disable -lang packages that actually did not contain translations (fi, hr, lt, pl). - Pass XML2POFLAGS= to make: do not use the special 'gimpmode' for xml2po. - No longer unset MALLOC_CHECK_ and MALLOC_PERTURB_, as not using gimpmode does not expose the crash. - Add gimp-help-2.8.0-missing-po-files.patch: Add missing .po files to the source directory. Fixes build on Factory. - Drop Makefile.GNU and use upstream shipped build system, as this works again. - Unset MALLOC_CHECK_ and MALLOC_PERTURB_ to avoid some crashes (hack only.. no fix yet). - Add new sub packages for new languages that apeared due to using the upstream / maintained makefile: ca, el, en_GB, fi, hr, lt and sl. - Since recent changes, fdupes can only link files of same owner/permissions (bnc#784670). As we still want to make use of fdupes, we adjust the permissions of the images folder's content. - Update to version 2.8.0: + Bugfixes: bgo#642729, bgo#634992, bgo#634995, bgo#636149 + Updated translations. - Disable parallel build. The build system seems to be very fragile and unreliable in this case. - Update to version 2.6.1: + Bugfixes: bgo#599700, bgo#618143, bgo#611265, bgo#563659, bgo#602659 + Spelling fixes and new translations for: Italian, English, German, French, Japnese, Norwegian, Swedish, Russian, Korean + XSLT Stylesheet improvements + Build system improviements - Changes from version 2.6.0: + Bugfixes: bgo#591510, bgo#562448, bgo#568420, bgo#569729, bgo#569731, bgo#569733, bgo#569739, bgo#574040, bgo#572673, bgo#557443, bgo#576230, bgo#577710, bgo#556314, bgo#573828, bgo#583840, bgo#573257, bgo#580532, bgo#585823, bgo#588318, bgo#588316, bgo#544965, bgo#569739, bgo#591510, bgo#591510 + Spelling fixes and new translations for: English, German, Italian, French, Japanese, Russian, Korean, Norwegian, Swedish + Website typo fixes - Add Makefile.GNU and gimp-help-2.doap from git, since the default Makefile provided in the tarball doesn't work (see bgo#639057). This means we also have to manually install the files in %install. - Change gimp-2.0 Requires and Enhances to gimp, since it's the right name of the package now. - Update descriptions. - Remove old hacks to remove executable permission and rename the no locale to nb: they are not needed anymore. - Change the use of fdupes to only create links between files of the same language (since all languages are packaged separately). - Add subpackage for new locales (da, ja, nn, zh) and remove nb subpackage. - Use xml2po BuildRequires instead of gnome-doc-utils. - Improve summaries and descriptions. - Drop gimp-help-no.patch: it's not used, and we accomplish what we want to fix the issue in %install. Also drop call to autoreconf that we were still using because of this unapplied patch. - Drop gimp-help-update-spec.sh: it's really too complex for nothing, and the update to 2.6 version of the help will break it. - Remove ownership of %{_datadir}/gimp and %{_datadir}/gimp/2.0 since it's not needed anymore. - Own some more directories. - Remove pre_checkin.sh, it's not used anymore. - package dirs correctly; fix build - Update to version 2.4.2: + Bugs fixed: bgo#515535, bgo#529924, bgo#546324, bgo#550551, bgo#551082 + Updated translations. - Updated to version 2.4.1 (bnc#406692): * documentation for GIMP 2.4 * new translations * bug fixes - Split translations per locale. - Do not run parallel make since the package build might break. - Prefix changed to /usr. - Spec file cleanup. - converted neededforbuild to BuildRequires - Updated to version 0.9. - fix typo in specfile - Use Enhances covering both GIMP branches. - Require gimp-2.0 virtual instead of gimp. - Updated to version 0.8. - Build as noarch. - Updated to version 0.6. - update to version gimp-help-2-0.4 - provide C -> en symlink (#37519) - Fixed GIMP2 paths. - cvs checkout 20040227 - update neededforbuild for prober stylesheet and dtd - renamed to gimp-help - gimp2 package has been renamed to gimp - Provide proper TextDecl for externally parsed entities. For background info cf. http://bugzilla.gnome.org/show_bug.cgi?id=126351 . - Added preliminary help package for gimp2 (bug #30085). OBS-URL: https://build.opensuse.org/request/show/546499 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-help?expand=0&rev=28
2017-12-19 10:50:19 +01:00
Source0: http://download.gimp.org/pub/gimp/help/gimp-help-2.8.2.tar.bz2
BuildRequires: docbook-xsl-stylesheets
BuildRequires: fdupes
BuildRequires: gimp-devel
BuildRequires: libxslt
BuildRequires: xhtml-dtd
BuildRequires: xmlcharent
Accepting request 546499 from graphics - Fix the download URL - Update to version 2.8.2: + Complete translation for Brazilian Portuguese + Many improvements for existing translations + Bug fixed: bgo#696034, bgo#724056, bgo#719859, bgo#719971, bgo#720479, bgo#720209, bgo#719876, bgo#719748. - Add pngcrush as BuildRequires, replace xml2po BuildRequires by python-libxml2 (we use an internal copy of xml2po). - Use 'gimpmode' for xml2po again and unset MALLOC_CHECK_/MALLOC_PERTURB_ again to prevent gimpmode crash. This speed-up build time a lot. - Update to version 2.8.1: + Online documentation (http://docs.gimp.org) now provides a language menu which allows users to switch to other translations of the same document if available (bgo#168256). + Bugs fixed: bgo#168256, bgo#676683, bgo#679173, bgo#680243, bgo#711318. + Updated translations. - Drop gimp-help-2.8.0-missing-po-files.patch: fixed upstream. - Add Brazilian Portuguese -lang package (pt_BR). - Disable -lang packages that actually did not contain translations (fi, hr, lt, pl). - Pass XML2POFLAGS= to make: do not use the special 'gimpmode' for xml2po. - No longer unset MALLOC_CHECK_ and MALLOC_PERTURB_, as not using gimpmode does not expose the crash. - Add gimp-help-2.8.0-missing-po-files.patch: Add missing .po files to the source directory. Fixes build on Factory. - Drop Makefile.GNU and use upstream shipped build system, as this works again. - Unset MALLOC_CHECK_ and MALLOC_PERTURB_ to avoid some crashes (hack only.. no fix yet). - Add new sub packages for new languages that apeared due to using the upstream / maintained makefile: ca, el, en_GB, fi, hr, lt and sl. - Since recent changes, fdupes can only link files of same owner/permissions (bnc#784670). As we still want to make use of fdupes, we adjust the permissions of the images folder's content. - Update to version 2.8.0: + Bugfixes: bgo#642729, bgo#634992, bgo#634995, bgo#636149 + Updated translations. - Disable parallel build. The build system seems to be very fragile and unreliable in this case. - Update to version 2.6.1: + Bugfixes: bgo#599700, bgo#618143, bgo#611265, bgo#563659, bgo#602659 + Spelling fixes and new translations for: Italian, English, German, French, Japnese, Norwegian, Swedish, Russian, Korean + XSLT Stylesheet improvements + Build system improviements - Changes from version 2.6.0: + Bugfixes: bgo#591510, bgo#562448, bgo#568420, bgo#569729, bgo#569731, bgo#569733, bgo#569739, bgo#574040, bgo#572673, bgo#557443, bgo#576230, bgo#577710, bgo#556314, bgo#573828, bgo#583840, bgo#573257, bgo#580532, bgo#585823, bgo#588318, bgo#588316, bgo#544965, bgo#569739, bgo#591510, bgo#591510 + Spelling fixes and new translations for: English, German, Italian, French, Japanese, Russian, Korean, Norwegian, Swedish + Website typo fixes - Add Makefile.GNU and gimp-help-2.doap from git, since the default Makefile provided in the tarball doesn't work (see bgo#639057). This means we also have to manually install the files in %install. - Change gimp-2.0 Requires and Enhances to gimp, since it's the right name of the package now. - Update descriptions. - Remove old hacks to remove executable permission and rename the no locale to nb: they are not needed anymore. - Change the use of fdupes to only create links between files of the same language (since all languages are packaged separately). - Add subpackage for new locales (da, ja, nn, zh) and remove nb subpackage. - Use xml2po BuildRequires instead of gnome-doc-utils. - Improve summaries and descriptions. - Drop gimp-help-no.patch: it's not used, and we accomplish what we want to fix the issue in %install. Also drop call to autoreconf that we were still using because of this unapplied patch. - Drop gimp-help-update-spec.sh: it's really too complex for nothing, and the update to 2.6 version of the help will break it. - Remove ownership of %{_datadir}/gimp and %{_datadir}/gimp/2.0 since it's not needed anymore. - Own some more directories. - Remove pre_checkin.sh, it's not used anymore. - package dirs correctly; fix build - Update to version 2.4.2: + Bugs fixed: bgo#515535, bgo#529924, bgo#546324, bgo#550551, bgo#551082 + Updated translations. - Updated to version 2.4.1 (bnc#406692): * documentation for GIMP 2.4 * new translations * bug fixes - Split translations per locale. - Do not run parallel make since the package build might break. - Prefix changed to /usr. - Spec file cleanup. - converted neededforbuild to BuildRequires - Updated to version 0.9. - fix typo in specfile - Use Enhances covering both GIMP branches. - Require gimp-2.0 virtual instead of gimp. - Updated to version 0.8. - Build as noarch. - Updated to version 0.6. - update to version gimp-help-2-0.4 - provide C -> en symlink (#37519) - Fixed GIMP2 paths. - cvs checkout 20040227 - update neededforbuild for prober stylesheet and dtd - renamed to gimp-help - gimp2 package has been renamed to gimp - Provide proper TextDecl for externally parsed entities. For background info cf. http://bugzilla.gnome.org/show_bug.cgi?id=126351 . - Added preliminary help package for gimp2 (bug #30085). OBS-URL: https://build.opensuse.org/request/show/546499 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-help?expand=0&rev=28
2017-12-19 10:50:19 +01:00
BuildRequires: pngcrush
BuildRequires: python2-libxml2
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 pt_BR
Summary: Brazilian Portuguese Help System Data for GIMP
Group: System/Localization
Requires: %{name} = %{version}
Provides: locale(%{name}:pt_BR)
%description pt_BR
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 Brazilian Portuguese 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
%build
%configure
Accepting request 546499 from graphics - Fix the download URL - Update to version 2.8.2: + Complete translation for Brazilian Portuguese + Many improvements for existing translations + Bug fixed: bgo#696034, bgo#724056, bgo#719859, bgo#719971, bgo#720479, bgo#720209, bgo#719876, bgo#719748. - Add pngcrush as BuildRequires, replace xml2po BuildRequires by python-libxml2 (we use an internal copy of xml2po). - Use 'gimpmode' for xml2po again and unset MALLOC_CHECK_/MALLOC_PERTURB_ again to prevent gimpmode crash. This speed-up build time a lot. - Update to version 2.8.1: + Online documentation (http://docs.gimp.org) now provides a language menu which allows users to switch to other translations of the same document if available (bgo#168256). + Bugs fixed: bgo#168256, bgo#676683, bgo#679173, bgo#680243, bgo#711318. + Updated translations. - Drop gimp-help-2.8.0-missing-po-files.patch: fixed upstream. - Add Brazilian Portuguese -lang package (pt_BR). - Disable -lang packages that actually did not contain translations (fi, hr, lt, pl). - Pass XML2POFLAGS= to make: do not use the special 'gimpmode' for xml2po. - No longer unset MALLOC_CHECK_ and MALLOC_PERTURB_, as not using gimpmode does not expose the crash. - Add gimp-help-2.8.0-missing-po-files.patch: Add missing .po files to the source directory. Fixes build on Factory. - Drop Makefile.GNU and use upstream shipped build system, as this works again. - Unset MALLOC_CHECK_ and MALLOC_PERTURB_ to avoid some crashes (hack only.. no fix yet). - Add new sub packages for new languages that apeared due to using the upstream / maintained makefile: ca, el, en_GB, fi, hr, lt and sl. - Since recent changes, fdupes can only link files of same owner/permissions (bnc#784670). As we still want to make use of fdupes, we adjust the permissions of the images folder's content. - Update to version 2.8.0: + Bugfixes: bgo#642729, bgo#634992, bgo#634995, bgo#636149 + Updated translations. - Disable parallel build. The build system seems to be very fragile and unreliable in this case. - Update to version 2.6.1: + Bugfixes: bgo#599700, bgo#618143, bgo#611265, bgo#563659, bgo#602659 + Spelling fixes and new translations for: Italian, English, German, French, Japnese, Norwegian, Swedish, Russian, Korean + XSLT Stylesheet improvements + Build system improviements - Changes from version 2.6.0: + Bugfixes: bgo#591510, bgo#562448, bgo#568420, bgo#569729, bgo#569731, bgo#569733, bgo#569739, bgo#574040, bgo#572673, bgo#557443, bgo#576230, bgo#577710, bgo#556314, bgo#573828, bgo#583840, bgo#573257, bgo#580532, bgo#585823, bgo#588318, bgo#588316, bgo#544965, bgo#569739, bgo#591510, bgo#591510 + Spelling fixes and new translations for: English, German, Italian, French, Japanese, Russian, Korean, Norwegian, Swedish + Website typo fixes - Add Makefile.GNU and gimp-help-2.doap from git, since the default Makefile provided in the tarball doesn't work (see bgo#639057). This means we also have to manually install the files in %install. - Change gimp-2.0 Requires and Enhances to gimp, since it's the right name of the package now. - Update descriptions. - Remove old hacks to remove executable permission and rename the no locale to nb: they are not needed anymore. - Change the use of fdupes to only create links between files of the same language (since all languages are packaged separately). - Add subpackage for new locales (da, ja, nn, zh) and remove nb subpackage. - Use xml2po BuildRequires instead of gnome-doc-utils. - Improve summaries and descriptions. - Drop gimp-help-no.patch: it's not used, and we accomplish what we want to fix the issue in %install. Also drop call to autoreconf that we were still using because of this unapplied patch. - Drop gimp-help-update-spec.sh: it's really too complex for nothing, and the update to 2.6 version of the help will break it. - Remove ownership of %{_datadir}/gimp and %{_datadir}/gimp/2.0 since it's not needed anymore. - Own some more directories. - Remove pre_checkin.sh, it's not used anymore. - package dirs correctly; fix build - Update to version 2.4.2: + Bugs fixed: bgo#515535, bgo#529924, bgo#546324, bgo#550551, bgo#551082 + Updated translations. - Updated to version 2.4.1 (bnc#406692): * documentation for GIMP 2.4 * new translations * bug fixes - Split translations per locale. - Do not run parallel make since the package build might break. - Prefix changed to /usr. - Spec file cleanup. - converted neededforbuild to BuildRequires - Updated to version 0.9. - fix typo in specfile - Use Enhances covering both GIMP branches. - Require gimp-2.0 virtual instead of gimp. - Updated to version 0.8. - Build as noarch. - Updated to version 0.6. - update to version gimp-help-2-0.4 - provide C -> en symlink (#37519) - Fixed GIMP2 paths. - cvs checkout 20040227 - update neededforbuild for prober stylesheet and dtd - renamed to gimp-help - gimp2 package has been renamed to gimp - Provide proper TextDecl for externally parsed entities. For background info cf. http://bugzilla.gnome.org/show_bug.cgi?id=126351 . - Added preliminary help package for gimp2 (bug #30085). OBS-URL: https://build.opensuse.org/request/show/546499 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gimp-help?expand=0&rev=28
2017-12-19 10:50:19 +01:00
unset MALLOC_CHECK_
unset MALLOC_PERTURB_
make
# 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 pt_BR
%defattr (-,root,root)
%lang(pt_BR) %{_datadir}/gimp/2.0/help/pt_BR/
%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