itstool-vl.spec 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. Name: itstool
  2. Version: 2.0.6
  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: http://itstool.org/
  11. Source0: http://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. * Fri Apr 10 2020 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.0.6-1
  36. - new upstream release.
  37. * Mon Dec 30 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-2
  38. - rebuild with VineSeed environment
  39. * Wed Sep 26 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.0-1
  40. - new upstream release
  41. * Sat Apr 14 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.2-1
  42. - new upstream release
  43. - add Requires: libxml2-python
  44. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.1-1
  45. - new upstream release
  46. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.1.0-1
  47. - initial build for Vine Linux
  48. * Mon Jun 27 2011 Shaun McCance <shaunm@gnome.org> 1.1.0-1
  49. - Update to itstool 1.1.0
  50. * Sun May 8 2011 Shaun McCance <shaunm@gnome.org> 1.0.1-1
  51. - Initial packaging