Bump to itstool 2.0.7 75/268075/1 accepted/tizen_7.0_base accepted/tizen_7.0_base_hotfix accepted/tizen_8.0_base accepted/tizen_base accepted/tizen_base_dev sandbox/dh0128.kwak/itstool-2.0.7-20211216 tizen_7.0_base tizen_7.0_base_hotfix tizen_8.0_base tizen_base accepted/tizen/7.0/base/20221116.025833 accepted/tizen/7.0/base/hotfix/20221116.055240 accepted/tizen/8.0/base/20231005.044816 accepted/tizen/base/20211217.072508 accepted/tizen/base/20221115.103710 accepted/tizen/base/dev/20230602.080754 submit/tizen_base/20211216.040107 tizen_7.0_m2_release tizen_8.0_m2_release
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 16 Dec 2021 01:46:49 +0000 (10:46 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 16 Dec 2021 01:46:49 +0000 (10:46 +0900)
Change-Id: Ic3502f0b91d09363274f9a72e41d9f95c652ca81

packaging/itstool.manifest [new file with mode: 0644]
packaging/itstool.spec [new file with mode: 0644]

diff --git a/packaging/itstool.manifest b/packaging/itstool.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/itstool.spec b/packaging/itstool.spec
new file mode 100644 (file)
index 0000000..7e8e6f4
--- /dev/null
@@ -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}/
+