Package itstool: Specfile
%def_disable snapshot %def_with python3 %def_enable check Name: itstool Version: 2.0.6 Release: alt1 Summary: ITS-based XML translation tool Group: Development/GNOME and GTK+ License: GPLv3+ Url: http://itstool.org/ %if_enabled snapshot Source: %name-%version.tar %else Source: http://files.itstool.org/itstool/%name-%version.tar.bz2 %endif BuildArch: noarch %if_with python3 BuildRequires: rpm-build-python3 python3-devel python3-module-libxml2 %else BuildRequires: rpm-build-python python-devel python-module-libxml2 %endif %description ITS Tool allows to translate XML documents with PO files, using rules from the W3C Internationalization Tag Set (ITS) to determine what to translate and how to separate it into PO file messages. %prep %setup %build %autoreconf %configure %{?_with_python3:PYTHON=%__python3} %make_build %install %makeinstall_std %check %make check %files %_bindir/%name %_datadir/%name/ %_man1dir/%name.1.* %doc NEWS %changelog * Sun Apr 07 2019 Yuri N. Sedunov <aris@altlinux.org> 2.0.6-alt1 - 2.0.6 * Wed Dec 05 2018 Yuri N. Sedunov <aris@altlinux.org> 2.0.5-alt1 - 2.0.5 with python3 * Sun Nov 19 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.4-alt3 - temporarily reverted to 2.0.2 with python2 * Wed Oct 18 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.4-alt2 - revert all unsuccessful attempts to fix BGO #762110 * Mon Oct 16 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.4-alt1 - 2.0.4 with Python3 * Mon Oct 09 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.3-alt2 - revert 14f4286 (https://github.com/itstool/itstool/issues/15) * Fri Oct 06 2017 Yuri N. Sedunov <aris@altlinux.org> 2.0.3-alt1 - 2.0.3 * Fri Jan 03 2014 Yuri N. Sedunov <aris@altlinux.org> 2.0.2-alt1 - 2.0.2 * Sat Sep 08 2012 Yuri N. Sedunov <aris@altlinux.org> 1.2.0-alt1 - 1.2.0 * Tue Mar 27 2012 Yuri N. Sedunov <aris@altlinux.org> 1.1.2-alt1 - 1.1.2 * Tue Oct 25 2011 Vitaly Kuznetsov <vitty@altlinux.ru> 1.1.1-alt1.1 - Rebuild with Python-2.7 * Thu Sep 29 2011 Yuri N. Sedunov <aris@altlinux.org> 1.1.1-alt1 - 1.1.1 * Thu Sep 08 2011 Yuri N. Sedunov <aris@altlinux.org> 1.1.0-alt1 - first build for Sisyphus |