itstool-vl.spec 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. Name: itstool
  2. Version: 2.0.7
  3. Release: 1%{?_dist_release}
  4. Summary: ITS-based XML translation tool
  5. Group: Development/Tools
  6. Vendor: Project Vine
  7. Distribution: Vine Linux
  8. BuildArch: noarch
  9. License: GPLv3+
  10. URL: https://itstool.org/
  11. Source0: https://files.itstool.org/%{name}/%{name}-%{version}.tar.bz2
  12. BuildRequires: python3-rpm-macros
  13. BuildRequires: python3-libxml2
  14. Requires: python3-libxml2
  15. %description
  16. ITS Tool allows you to translate XML documents with PO files, using rules from
  17. the W3C Internationalization Tag Set (ITS) to determine what to translate and
  18. how to separate it into PO file messages.
  19. %prep
  20. %setup -q
  21. %build
  22. export PYTHON=%{__python3}
  23. %configure
  24. make %{?_smp_mflags}
  25. %install
  26. make install DESTDIR=$RPM_BUILD_ROOT
  27. %files
  28. %defattr(-,root,root,-)
  29. %license COPYING COPYING.GPL3
  30. %doc README
  31. %{_bindir}/itstool
  32. %{_datadir}/itstool
  33. %doc %{_mandir}/man1/itstool.1.gz
  34. %changelog
  35. * Tue Nov 01 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.7-1
  36. - new upstream release.
  37. * Fri Apr 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.6-1
  38. - new upstream release.
  39. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
  40. - rebuild with VineSeed environment
  41. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  42. - new upstream release
  43. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
  44. - new upstream release
  45. - add Requires: libxml2-python
  46. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  47. - new upstream release
  48. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  49. - initial build for Vine Linux
  50. * Mon Jun 27 2011 Shaun McCance <shaunm@gnome.org> 1.1.0-1
  51. - Update to itstool 1.1.0
  52. * Sun May 8 2011 Shaun McCance <shaunm@gnome.org> 1.0.1-1
  53. - Initial packaging