From 51dae7d37ae60e428ac6a55c2770d37641bdac24 Mon Sep 17 00:00:00 2001 From: DongHun Kwak Date: Thu, 16 Dec 2021 10:46:49 +0900 Subject: [PATCH] Bump to itstool 2.0.7 Change-Id: Ic3502f0b91d09363274f9a72e41d9f95c652ca81 --- packaging/itstool.manifest | 5 +++++ packaging/itstool.spec | 56 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) create mode 100644 packaging/itstool.manifest create mode 100644 packaging/itstool.spec diff --git a/packaging/itstool.manifest b/packaging/itstool.manifest new file mode 100644 index 0000000..017d22d --- /dev/null +++ b/packaging/itstool.manifest @@ -0,0 +1,5 @@ + + + + + diff --git a/packaging/itstool.spec b/packaging/itstool.spec new file mode 100644 index 0000000..7e8e6f4 --- /dev/null +++ b/packaging/itstool.spec @@ -0,0 +1,56 @@ +# +# spec file for package itstool +# +# 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: itstool +Version: 2.0.7 +Release: 0 +Summary: Tool to translate XML documents using PO files +License: GPL-3.0+ +Group: Development/Tools/Other +Url: http://itstool.org +Source: %{name}-%{version}.tar.bz2 +Source1000: itstool.manifest +BuildRequires: python +BuildRequires: python-libxml2 +Requires: python-libxml2 +BuildRoot: %{_tmppath}/%{name}-%{version}-build +BuildArch: noarch + +%description +ITS Tool extracts messages from XML files and outputs PO template files, then +merges translations from MO files to create translated XML files. It determines +what to translate and how to chunk it into messages using the W3C +Internationalization Tag Set (ITS). + +%prep +%setup -q +cp %{SOURCE1000} . + +%build +%configure +make %{?_smp_mflags} + +%install +%make_install +%remove_docs + +%files +%license COPYING COPYING.GPL3 +%{_bindir}/%{name} +%{_datadir}/%{name}/ + -- 2.7.4