forked from pool/gimp-help
- Add %limit_build to avoid OOM
OBS-URL: https://build.opensuse.org/package/show/graphics/gimp-help?expand=0&rev=11
This commit is contained in:
commit
c64104e03d
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
8
_constraints
Normal file
8
_constraints
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<constraints>
|
||||||
|
<hardware>
|
||||||
|
<disk>
|
||||||
|
<size unit="G">8</size>
|
||||||
|
</disk>
|
||||||
|
</hardware>
|
||||||
|
</constraints>
|
||||||
|
|
314
gimp-help-2.10.0-python3.patch
Normal file
314
gimp-help-2.10.0-python3.patch
Normal file
@ -0,0 +1,314 @@
|
|||||||
|
diff -urNp a/tools/xml2po/__init__.py b/tools/xml2po/__init__.py
|
||||||
|
--- a/tools/xml2po/__init__.py 2019-11-28 11:45:00.889048989 +0100
|
||||||
|
+++ b/tools/xml2po/__init__.py 2020-01-06 13:24:24.715787902 +0100
|
||||||
|
@@ -86,14 +86,14 @@ class MessageOutput:
|
||||||
|
self.messages.append(t)
|
||||||
|
if spacepreserve:
|
||||||
|
self.nowrap[t] = True
|
||||||
|
- if t in self.linenos.keys():
|
||||||
|
+ if t in list(self.linenos.keys()):
|
||||||
|
self.linenos[t].append((self.filename, tag, lineno))
|
||||||
|
else:
|
||||||
|
self.linenos[t] = [ (self.filename, tag, lineno) ]
|
||||||
|
if (not self.do_translations) and comment and not t in self.comments:
|
||||||
|
self.comments[t] = comment
|
||||||
|
else:
|
||||||
|
- if t in self.linenos.keys():
|
||||||
|
+ if t in list(self.linenos.keys()):
|
||||||
|
self.linenos[t].append((self.filename, tag, lineno))
|
||||||
|
else:
|
||||||
|
self.linenos[t] = [ (self.filename, tag, lineno) ]
|
||||||
|
@@ -166,7 +166,7 @@ class XMLDocument(object):
|
||||||
|
elif node.isText():
|
||||||
|
if node.isBlankNode():
|
||||||
|
if self.app.options.get('expand_entities') or \
|
||||||
|
- (not (node.prev and not node.prev.isBlankNode() and node.next and not node.next.isBlankNode()) ):
|
||||||
|
+ (not (node.prev and not node.prev.isBlankNode() and node.nextElementSibling() and not node.next.isBlankNode()) ):
|
||||||
|
#print >>sys.stderr, "BLANK"
|
||||||
|
node.setContent('')
|
||||||
|
else:
|
||||||
|
@@ -200,7 +200,7 @@ class XMLDocument(object):
|
||||||
|
tree = ctxt.doc()
|
||||||
|
newnode = tree.getRootElement()
|
||||||
|
except:
|
||||||
|
- print >> sys.stderr, """Error while normalizing string as XML:\n"%s"\n""" % (text)
|
||||||
|
+ print("""Error while normalizing string as XML:\n"%s"\n""" % (text), file=sys.stderr)
|
||||||
|
return text
|
||||||
|
|
||||||
|
self.normalizeNode(newnode)
|
||||||
|
@@ -259,7 +259,7 @@ class XMLDocument(object):
|
||||||
|
if not self.expand_entities:
|
||||||
|
result += '&' + child.name + ';'
|
||||||
|
else:
|
||||||
|
- result += child.content.decode('utf-8')
|
||||||
|
+ result += child.content
|
||||||
|
else:
|
||||||
|
result += self.myAttributeSerialize(child)
|
||||||
|
child = child.next
|
||||||
|
@@ -326,7 +326,7 @@ class XMLDocument(object):
|
||||||
|
pass
|
||||||
|
|
||||||
|
content = '<%s>%s</%s>' % (starttag, text, endtag)
|
||||||
|
- tmp = tmp + content.encode('utf-8')
|
||||||
|
+ tmp = tmp + content
|
||||||
|
|
||||||
|
newnode = None
|
||||||
|
try:
|
||||||
|
@@ -338,7 +338,7 @@ class XMLDocument(object):
|
||||||
|
pass
|
||||||
|
|
||||||
|
if not newnode:
|
||||||
|
- print >> sys.stderr, """Error while parsing translation as XML:\n"%s"\n""" % (text.encode('utf-8'))
|
||||||
|
+ print("""Error while parsing translation as XML:\n"%s"\n""" % (text), file=sys.stderr)
|
||||||
|
return
|
||||||
|
|
||||||
|
newelem = newnode.getRootElement()
|
||||||
|
@@ -354,7 +354,7 @@ class XMLDocument(object):
|
||||||
|
copy = newelem.copyNodeList()
|
||||||
|
next = node.next
|
||||||
|
node.replaceNode(newelem.copyNodeList())
|
||||||
|
- node.next = next
|
||||||
|
+ node.__next__ = next
|
||||||
|
|
||||||
|
else:
|
||||||
|
# In practice, this happens with tags such as "<para> </para>" (only whitespace in between)
|
||||||
|
@@ -406,7 +406,7 @@ class XMLDocument(object):
|
||||||
|
translation = self.app.getTranslation(outtxt) # unicode or None
|
||||||
|
if translation is not None:
|
||||||
|
self.replaceAttributeContentsWithText(attr,
|
||||||
|
- translation.encode('utf-8'))
|
||||||
|
+ translation)
|
||||||
|
else:
|
||||||
|
self.app.msg.outputMessage(outtxt, node.lineNo(), "", spacepreserve=False,
|
||||||
|
tag = node.name + ":" + attr.name)
|
||||||
|
@@ -447,14 +447,14 @@ class XMLDocument(object):
|
||||||
|
norm_outtxt = self.normalizeString(outtxt, self.app.isSpacePreserveNode(node))
|
||||||
|
translation = self.app.getTranslation(norm_outtxt)
|
||||||
|
else:
|
||||||
|
- translation = outtxt.decode('utf-8')
|
||||||
|
+ translation = outtxt
|
||||||
|
|
||||||
|
starttag = self.startTagForNode(node)
|
||||||
|
endtag = self.endTagForNode(node)
|
||||||
|
|
||||||
|
worth = self.worthOutputting(node)
|
||||||
|
if not translation:
|
||||||
|
- translation = outtxt.decode('utf-8')
|
||||||
|
+ translation = outtxt
|
||||||
|
if worth and self.app.options.get('mark_untranslated'):
|
||||||
|
node.setLang('C')
|
||||||
|
|
||||||
|
@@ -463,7 +463,7 @@ class XMLDocument(object):
|
||||||
|
# repl[0] may contain translated attributes with
|
||||||
|
# non-ASCII chars, so implicit conversion to <str> may fail
|
||||||
|
replacement = '<%s>%s</%s>' % \
|
||||||
|
- (repl[0].decode('utf-8'), repl[3], repl[2])
|
||||||
|
+ (repl[0], repl[3], repl[2])
|
||||||
|
translation = translation.replace('<placeholder-%d/>' % (i+1), replacement)
|
||||||
|
|
||||||
|
if worth:
|
||||||
|
@@ -542,7 +542,7 @@ class Main(object):
|
||||||
|
elif output == '-':
|
||||||
|
self.out = sys.stdout
|
||||||
|
else:
|
||||||
|
- self.out = file(output, 'w')
|
||||||
|
+ self.out = open(output, 'w')
|
||||||
|
|
||||||
|
def load_mode(self, modename):
|
||||||
|
try:
|
||||||
|
@@ -565,7 +565,7 @@ class Main(object):
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(xmlfile, self)
|
||||||
|
except Exception as e:
|
||||||
|
- print >> sys.stderr, "Unable to parse XML file '%s': %s" % (xmlfile, str(e))
|
||||||
|
+ print("Unable to parse XML file '%s': %s" % (xmlfile, str(e)), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
self.current_mode.preProcessXml(doc.doc, self.msg)
|
||||||
|
doc.generate_messages()
|
||||||
|
@@ -578,13 +578,13 @@ class Main(object):
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(xmlfile, self)
|
||||||
|
except Exception as e:
|
||||||
|
- print >> sys.stderr, str(e)
|
||||||
|
+ print(str(e), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
|
||||||
|
try:
|
||||||
|
mfile = open(mofile, "rb")
|
||||||
|
except:
|
||||||
|
- print >> sys.stderr, "Can't open MO file '%s'." % (mofile)
|
||||||
|
+ print("Can't open MO file '%s'." % (mofile), file=sys.stderr)
|
||||||
|
self.gt = gettext.GNUTranslations(mfile)
|
||||||
|
self.gt.add_fallback(NoneTranslations())
|
||||||
|
# Has preProcessXml use cases for merge?
|
||||||
|
@@ -607,7 +607,7 @@ class Main(object):
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(xmlfile, self)
|
||||||
|
except Exception as e:
|
||||||
|
- print >> sys.stderr, str(e)
|
||||||
|
+ print(str(e), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
doc.generate_messages()
|
||||||
|
|
||||||
|
@@ -615,7 +615,7 @@ class Main(object):
|
||||||
|
try:
|
||||||
|
doc = XMLDocument(origxml, self)
|
||||||
|
except Exception as e:
|
||||||
|
- print >> sys.stderr, str(e)
|
||||||
|
+ print(str(e), file=sys.stderr)
|
||||||
|
sys.exit(1)
|
||||||
|
doc.generate_messages()
|
||||||
|
self.output_po()
|
||||||
|
@@ -646,11 +646,11 @@ class Main(object):
|
||||||
|
|
||||||
|
text should be a string to look for.
|
||||||
|
"""
|
||||||
|
- #print >>sys.stderr,"getTranslation('%s')" % (text.encode('utf-8'))
|
||||||
|
+ #print >>sys.stderr,"getTranslation('%s')" % (text)
|
||||||
|
if not text or text.strip() == '':
|
||||||
|
return text
|
||||||
|
if self.gt:
|
||||||
|
- res = self.gt.ugettext(text.decode('utf-8'))
|
||||||
|
+ res = self.gt.gettext(text)
|
||||||
|
return res
|
||||||
|
|
||||||
|
return text
|
||||||
|
diff -urNp a/tools/xml2po/modes/docbook.py b/tools/xml2po/modes/docbook.py
|
||||||
|
--- a/tools/xml2po/modes/docbook.py 2019-11-28 11:45:00.889048989 +0100
|
||||||
|
+++ b/tools/xml2po/modes/docbook.py 2020-01-06 13:10:18.324679751 +0100
|
||||||
|
@@ -43,7 +43,7 @@ try:
|
||||||
|
except ImportError:
|
||||||
|
from md5 import new as md5_new
|
||||||
|
|
||||||
|
-from basic import basicXmlMode
|
||||||
|
+from .basic import basicXmlMode
|
||||||
|
|
||||||
|
class docbookXmlMode(basicXmlMode):
|
||||||
|
"""Class for special handling of DocBook document types.
|
||||||
|
@@ -131,7 +131,7 @@ class docbookXmlMode(basicXmlMode):
|
||||||
|
hash = self._md5_for_file(fullpath)
|
||||||
|
else:
|
||||||
|
hash = "THIS FILE DOESN'T EXIST"
|
||||||
|
- print >>sys.stderr, "Warning: image file '%s' not found." % fullpath
|
||||||
|
+ print("Warning: image file '%s' not found." % fullpath, file=sys.stderr)
|
||||||
|
|
||||||
|
msg.outputMessage("@@image: '%s'; md5=%s" % (attr, hash), node.lineNo(),
|
||||||
|
"When image changes, this message will be marked fuzzy or untranslated for you.\n"+
|
||||||
|
@@ -184,7 +184,7 @@ class docbookXmlMode(basicXmlMode):
|
||||||
|
else:
|
||||||
|
ai.addChild(copy)
|
||||||
|
if match.group(3):
|
||||||
|
- copy.newChild(None, "year", match.group(3).encode('utf-8'))
|
||||||
|
+ copy.newChild(None, "year", match.group(3))
|
||||||
|
if match.group(1) and match.group(2):
|
||||||
|
holder = match.group(1)+"(%s)" % match.group(2)
|
||||||
|
elif match.group(1):
|
||||||
|
@@ -193,15 +193,15 @@ class docbookXmlMode(basicXmlMode):
|
||||||
|
holder = match.group(2)
|
||||||
|
else:
|
||||||
|
holder = "???"
|
||||||
|
- copy.newChild(None, "holder", holder.encode('utf-8'))
|
||||||
|
+ copy.newChild(None, "holder", holder)
|
||||||
|
|
||||||
|
# Perform some tests when ran standalone
|
||||||
|
if __name__ == '__main__':
|
||||||
|
test = docbookXmlMode()
|
||||||
|
- print "Ignored tags : " + repr(test.getIgnoredTags())
|
||||||
|
- print "Final tags : " + repr(test.getFinalTags())
|
||||||
|
- print "Space-preserve tags: " + repr(test.getSpacePreserveTags())
|
||||||
|
+ print("Ignored tags : " + repr(test.getIgnoredTags()))
|
||||||
|
+ print("Final tags : " + repr(test.getFinalTags()))
|
||||||
|
+ print("Space-preserve tags: " + repr(test.getSpacePreserveTags()))
|
||||||
|
|
||||||
|
- print "Credits from string: '%s'" % test.getStringForTranslators()
|
||||||
|
- print "Explanation for credits:\n\t'%s'" % test.getCommentForTranslators()
|
||||||
|
+ print("Credits from string: '%s'" % test.getStringForTranslators())
|
||||||
|
+ print("Explanation for credits:\n\t'%s'" % test.getCommentForTranslators())
|
||||||
|
|
||||||
|
diff -urNp a/tools/xml2po/modes/gimphelp.py b/tools/xml2po/modes/gimphelp.py
|
||||||
|
--- a/tools/xml2po/modes/gimphelp.py 2019-11-28 11:45:00.889048989 +0100
|
||||||
|
+++ b/tools/xml2po/modes/gimphelp.py 2020-01-06 11:59:17.387855373 +0100
|
||||||
|
@@ -31,7 +31,7 @@ try:
|
||||||
|
except ImportError:
|
||||||
|
from md5 import new as md5_new
|
||||||
|
|
||||||
|
-from docbook import docbookXmlMode
|
||||||
|
+from .docbook import docbookXmlMode
|
||||||
|
|
||||||
|
class gimphelpXmlMode(docbookXmlMode):
|
||||||
|
"""Class for special handling of gimp-help DocBook document types.
|
||||||
|
@@ -91,10 +91,10 @@ class gimphelpXmlMode(docbookXmlMode):
|
||||||
|
# Perform some tests when ran standalone
|
||||||
|
if __name__ == '__main__':
|
||||||
|
test = gimphelpXmlMode()
|
||||||
|
- print "Ignored tags : " + repr(test.getIgnoredTags())
|
||||||
|
- print "Final tags : " + repr(test.getFinalTags())
|
||||||
|
- print "Space-preserve tags: " + repr(test.getSpacePreserveTags())
|
||||||
|
+ print("Ignored tags : " + repr(test.getIgnoredTags()))
|
||||||
|
+ print("Final tags : " + repr(test.getFinalTags()))
|
||||||
|
+ print("Space-preserve tags: " + repr(test.getSpacePreserveTags()))
|
||||||
|
|
||||||
|
- print "Credits from string: '%s'" % test.getStringForTranslators()
|
||||||
|
- print "Explanation for credits:\n\t'%s'" % test.getCommentForTranslators()
|
||||||
|
+ print("Credits from string: '%s'" % test.getStringForTranslators())
|
||||||
|
+ print("Explanation for credits:\n\t'%s'" % test.getCommentForTranslators())
|
||||||
|
|
||||||
|
diff -urNp a/tools/xml2po.py b/tools/xml2po.py
|
||||||
|
--- a/tools/xml2po.py 2019-11-28 11:45:00.889048989 +0100
|
||||||
|
+++ b/tools/xml2po.py 2020-01-06 11:59:17.387855373 +0100
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/usr/bin/env python2
|
||||||
|
+#!/usr/bin/env python3
|
||||||
|
# -*- encoding: utf-8 -*-
|
||||||
|
# Copyright (c) 2004, 2005, 2006 Danilo Šegan <danilo@gnome.org>.
|
||||||
|
# Copyright (c) 2009 Claude Paroz <claude@2xlibre.net>.
|
||||||
|
@@ -41,9 +41,9 @@ NULL_STRING = '/dev/null'
|
||||||
|
if not os.path.exists('/dev/null'): NULL_STRING = 'NUL'
|
||||||
|
|
||||||
|
def usage (with_help = False):
|
||||||
|
- print >> sys.stderr, "Usage: %s [OPTIONS] [XMLFILE]..." % (sys.argv[0])
|
||||||
|
+ print("Usage: %s [OPTIONS] [XMLFILE]..." % (sys.argv[0]), file=sys.stderr)
|
||||||
|
if with_help:
|
||||||
|
- print >> sys.stderr, """
|
||||||
|
+ print("""
|
||||||
|
OPTIONS may be some of:
|
||||||
|
-a --automatic-tags Automatically decides if tags are to be considered
|
||||||
|
"final" or not
|
||||||
|
@@ -72,7 +72,7 @@ EXAMPLES:
|
||||||
|
using -p option for each XML file:
|
||||||
|
%(command)s -p de.po chapter1.xml > chapter1.de.xml
|
||||||
|
%(command)s -p de.po chapter2.xml > chapter2.de.xml
|
||||||
|
-""" % {'command': sys.argv[0]}
|
||||||
|
+""" % {'command': sys.argv[0]}, file=sys.stderr)
|
||||||
|
|
||||||
|
|
||||||
|
def main(argv):
|
||||||
|
@@ -148,7 +148,7 @@ def main(argv):
|
||||||
|
sys.exit(0)
|
||||||
|
|
||||||
|
if operation == 'update' and output != "-":
|
||||||
|
- print >> sys.stderr, "Option '-o' is not yet supported when updating translations directly. Ignoring this option."
|
||||||
|
+ print("Option '-o' is not yet supported when updating translations directly. Ignoring this option.", file=sys.stderr)
|
||||||
|
|
||||||
|
# Treat remaining arguments as XML files
|
||||||
|
filenames = []
|
||||||
|
@@ -158,16 +158,16 @@ def main(argv):
|
||||||
|
try:
|
||||||
|
xml2po_main = Main(default_mode, operation, output, options)
|
||||||
|
except IOError:
|
||||||
|
- print >> sys.stderr, "Error: cannot open file %s for writing." % (output)
|
||||||
|
+ print("Error: cannot open file %s for writing." % (output), file=sys.stderr)
|
||||||
|
sys.exit(5)
|
||||||
|
|
||||||
|
if operation == 'merge':
|
||||||
|
if len(filenames) > 1:
|
||||||
|
- print >> sys.stderr, "Error: You can merge translations with only one XML file at a time."
|
||||||
|
+ print("Error: You can merge translations with only one XML file at a time.", file=sys.stderr)
|
||||||
|
sys.exit(2)
|
||||||
|
|
||||||
|
if not mofile:
|
||||||
|
- print >> sys.stderr, "Error: You must specify MO file when merging translations."
|
||||||
|
+ print("Error: You must specify MO file when merging translations.", file=sys.stderr)
|
||||||
|
sys.exit(3)
|
||||||
|
|
||||||
|
xml2po_main.merge(mofile, filenames[0])
|
3
gimp-help-2.10.0.tar.bz2
Normal file
3
gimp-help-2.10.0.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:03804fed071b49e5810edd8327868659dfd9932fbf34d34189d56bd0ad539118
|
||||||
|
size 187092180
|
277
gimp-help.changes
Normal file
277
gimp-help.changes
Normal file
@ -0,0 +1,277 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 27 13:55:38 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||||
|
|
||||||
|
- Add %limit_build to avoid OOM
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 27 11:00:20 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Use %autosetup macro. Allows to eliminate the usage of deprecated
|
||||||
|
%patchN.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Apr 14 14:47:53 UTC 2022 - Michael Gorse <mgorse@suse.com>
|
||||||
|
|
||||||
|
- Update _constraints: this requires more than 4gb of disk space
|
||||||
|
(bsc#1197717).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 14 21:12:13 UTC 2020 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
|
||||||
|
|
||||||
|
- Update to version 2.10.0, no changes overview provided.
|
||||||
|
- Build with Python 3, add gimp-help-2.10.0-python3.patch.
|
||||||
|
- Clean up spec file, drop unused dependencies.
|
||||||
|
- Drop huge ChangeLog (verbatim git log), README and TERMINOLOGY
|
||||||
|
files, not useful for end users.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Oct 3 12:23:32 UTC 2019 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||||
|
|
||||||
|
- Add _constraints for ppc64/ppc64le as build failed with 3.5G disk
|
||||||
|
(boo#1158656).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 11:25:30 UTC 2019 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- BuildRequire python2-libxml2 instead of python-libxml2: follow
|
||||||
|
the package rename of libxml2.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Nov 29 17:18:23 UTC 2017 - plinnell@opensuse.org
|
||||||
|
|
||||||
|
- Fix the download URL
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Nov 28 09:44:16 UTC 2017 - fcrozat@suse.com
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Dec 1 21:50:17 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- 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).
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 5 19:06:55 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Jan 12 14:40:37 UTC 2013 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Oct 31 11:13:55 UTC 2012 - mvyskocil@suse.com
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 11 08:12:01 UTC 2012 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 2.8.0:
|
||||||
|
+ Bugfixes: bgo#642729, bgo#634992, bgo#634995, bgo#636149
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 17 09:23:42 UTC 2011 - dimstar@opensuse.org
|
||||||
|
|
||||||
|
- Disable parallel build. The build system seems to be very
|
||||||
|
fragile and unreliable in this case.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jan 9 11:18:15 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jan 7 11:32:30 CET 2011 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- 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.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 30 19:35:03 UTC 2010 - aj@suse.de
|
||||||
|
|
||||||
|
- Own some more directories.
|
||||||
|
- Remove pre_checkin.sh, it's not used anymore.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Nov 3 00:20:03 CET 2008 - maw@suse.de
|
||||||
|
|
||||||
|
- package dirs correctly; fix build
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Oct 24 09:31:20 CDT 2008 - maw@suse.de
|
||||||
|
|
||||||
|
- Update to version 2.4.2:
|
||||||
|
+ Bugs fixed: bgo#515535, bgo#529924, bgo#546324, bgo#550551,
|
||||||
|
bgo#551082
|
||||||
|
+ Updated translations.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 22 13:17:57 CEST 2008 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 2.4.1 (bnc#406692):
|
||||||
|
* documentation for GIMP 2.4
|
||||||
|
* new translations
|
||||||
|
* bug fixes
|
||||||
|
- Split translations per locale.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 16 13:34:42 CET 2007 - aj@suse.de
|
||||||
|
|
||||||
|
- Do not run parallel make since the package build might break.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 11 14:31:50 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Prefix changed to /usr.
|
||||||
|
- Spec file cleanup.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 25 21:45:12 CET 2006 - mls@suse.de
|
||||||
|
|
||||||
|
- converted neededforbuild to BuildRequires
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Jan 18 16:09:01 CET 2006 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.9.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 9 15:45:03 CET 2006 - ro@suse.de
|
||||||
|
|
||||||
|
- fix typo in specfile
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 5 16:10:41 CET 2006 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Use Enhances covering both GIMP branches.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 15 13:17:00 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Require gimp-2.0 virtual instead of gimp.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 3 15:21:54 CEST 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.8.
|
||||||
|
- Build as noarch.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 21 14:58:06 CET 2005 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Updated to version 0.6.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Aug 9 18:27:02 CEST 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- update to version gimp-help-2-0.4
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Apr 7 12:08:23 CEST 2004 - hhetter@suse.de
|
||||||
|
|
||||||
|
- provide C -> en symlink (#37519)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Mar 23 12:46:44 CET 2004 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Fixed GIMP2 paths.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 27 13:51:52 CET 2004 - hhetter@suse.de
|
||||||
|
|
||||||
|
- cvs checkout 20040227
|
||||||
|
- update neededforbuild for prober stylesheet and dtd
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 23 16:30:47 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- renamed to gimp-help
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Feb 20 00:32:48 CET 2004 - ro@suse.de
|
||||||
|
|
||||||
|
- gimp2 package has been renamed to gimp
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Nov 7 11:38:18 CET 2003 - ke@suse.de
|
||||||
|
|
||||||
|
- Provide proper TextDecl for externally parsed entities. For background
|
||||||
|
info cf. http://bugzilla.gnome.org/show_bug.cgi?id=126351 .
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Sep 11 14:50:51 CEST 2003 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
- Added preliminary help package for gimp2 (bug #30085).
|
||||||
|
|
414
gimp-help.spec
Normal file
414
gimp-help.spec
Normal file
@ -0,0 +1,414 @@
|
|||||||
|
#
|
||||||
|
# spec file for package gimp-help
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LLC
|
||||||
|
#
|
||||||
|
# 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 https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: gimp-help
|
||||||
|
Version: 2.10.0
|
||||||
|
Release: 0
|
||||||
|
Summary: Help System Data for GIMP
|
||||||
|
License: GFDL-1.2
|
||||||
|
Group: Productivity/Graphics/Bitmap Editors
|
||||||
|
Url: https://docs.gimp.org/
|
||||||
|
Source0: https://download.gimp.org/pub/gimp/help/gimp-help-%{version}.tar.bz2
|
||||||
|
# PATCH-FIX-UPSTREAM -- https://gitlab.gnome.org/GNOME/gimp-help/-/issues/201
|
||||||
|
Patch0: gimp-help-2.10.0-python3.patch
|
||||||
|
BuildRequires: docbook-xsl-stylesheets
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: libxslt
|
||||||
|
BuildRequires: memory-constraints
|
||||||
|
BuildRequires: pngcrush
|
||||||
|
BuildRequires: python3-libxml2-python
|
||||||
|
Requires: gimp
|
||||||
|
Enhances: gimp
|
||||||
|
Provides: gimp-help-2 = %{version}
|
||||||
|
Obsoletes: gimp-help-2 < %{version}
|
||||||
|
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 ro
|
||||||
|
Summary: Romanian Help System Data for GIMP
|
||||||
|
Group: System/Localization
|
||||||
|
Requires: %{name} = %{version}
|
||||||
|
Provides: locale(%{name}:ro)
|
||||||
|
|
||||||
|
%description ro
|
||||||
|
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 Romanian 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
|
||||||
|
%autosetup -p1
|
||||||
|
|
||||||
|
find . -iname \*.py -exec sed -i -e '1 s@env python.\?@python3@' '{}' \;
|
||||||
|
|
||||||
|
%build
|
||||||
|
%limit_build -m 3400
|
||||||
|
# We install the help to the same prefix as gimp itself, so no
|
||||||
|
# need to query gimp for the prefix at build time
|
||||||
|
%configure \
|
||||||
|
--without-gimp
|
||||||
|
unset MALLOC_CHECK_
|
||||||
|
unset MALLOC_PERTURB_
|
||||||
|
|
||||||
|
%if 0%{?sle_version} <= 150100
|
||||||
|
export LANG=en_US.utf-8
|
||||||
|
%endif
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
# 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
|
||||||
|
%doc AUTHORS NEWS
|
||||||
|
%license COPYING
|
||||||
|
%dir %{_datadir}/gimp
|
||||||
|
%dir %{_datadir}/gimp/2.0
|
||||||
|
%dir %{_datadir}/gimp/2.0/help
|
||||||
|
%{_datadir}/gimp/2.0/help/en/
|
||||||
|
|
||||||
|
%files ca
|
||||||
|
%lang(ca) %{_datadir}/gimp/2.0/help/ca/
|
||||||
|
|
||||||
|
%files da
|
||||||
|
%lang(da) %{_datadir}/gimp/2.0/help/da/
|
||||||
|
|
||||||
|
%files de
|
||||||
|
%lang(de) %{_datadir}/gimp/2.0/help/de/
|
||||||
|
|
||||||
|
%files el
|
||||||
|
%lang(el) %{_datadir}/gimp/2.0/help/el/
|
||||||
|
|
||||||
|
%files en_GB
|
||||||
|
%lang(en_GB) %{_datadir}/gimp/2.0/help/en_GB/
|
||||||
|
|
||||||
|
%files es
|
||||||
|
%lang(es) %{_datadir}/gimp/2.0/help/es/
|
||||||
|
|
||||||
|
%files fi
|
||||||
|
%lang(fi) %{_datadir}/gimp/2.0/help/fi/
|
||||||
|
|
||||||
|
%files fr
|
||||||
|
%lang(fr) %{_datadir}/gimp/2.0/help/fr/
|
||||||
|
|
||||||
|
%files hr
|
||||||
|
#lang(hr) %%{_datadir}/gimp/2.0/help/hr/
|
||||||
|
|
||||||
|
%files it
|
||||||
|
%lang(it) %{_datadir}/gimp/2.0/help/it/
|
||||||
|
|
||||||
|
%files ja
|
||||||
|
%lang(ja) %{_datadir}/gimp/2.0/help/ja/
|
||||||
|
|
||||||
|
%files ko
|
||||||
|
%lang(ko) %{_datadir}/gimp/2.0/help/ko/
|
||||||
|
|
||||||
|
%files lt
|
||||||
|
#lang(lt) %%{_datadir}/gimp/2.0/help/lt/
|
||||||
|
|
||||||
|
%files nl
|
||||||
|
%lang(nl) %{_datadir}/gimp/2.0/help/nl/
|
||||||
|
|
||||||
|
%files nn
|
||||||
|
%lang(nn) %{_datadir}/gimp/2.0/help/nn/
|
||||||
|
|
||||||
|
%files pl
|
||||||
|
#lang(pl) %%{_datadir}/gimp/2.0/help/pl/
|
||||||
|
|
||||||
|
%files pt_BR
|
||||||
|
%lang(pt_BR) %{_datadir}/gimp/2.0/help/pt_BR/
|
||||||
|
|
||||||
|
%files ro
|
||||||
|
%lang(ro) %{_datadir}/gimp/2.0/help/ro/
|
||||||
|
|
||||||
|
%files ru
|
||||||
|
%lang(ru) %{_datadir}/gimp/2.0/help/ru/
|
||||||
|
|
||||||
|
%files sl
|
||||||
|
#%lang(sl) %%{_datadir}/gimp/2.0/help/sl/
|
||||||
|
|
||||||
|
%files sv
|
||||||
|
#%lang(sv) %%{_datadir}/gimp/2.0/help/sv/
|
||||||
|
|
||||||
|
%files zh
|
||||||
|
%lang(zh) %{_datadir}/gimp/2.0/help/zh_CN/
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user