virtaal-vl.spec 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. # Basic Information
  2. Name: virtaal
  3. Version: 0.7.1
  4. Release: 1%{?_dist_release}
  5. License: GNU General Public License (GPL)
  6. Group: Applications/Development
  7. URL: http://translate.sourceforge.net/wiki/%{name}/index
  8. Source0: http://downloads.sourceforge.net/project/translate/Virtaal/%{version}/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildArch: noarch
  11. Vendor: Project Vine
  12. Distribution: Vine Linux
  13. Packager: yasumichi
  14. Summary: A tool to create program translations.
  15. Summary(ja): プログラムの翻訳を作成するツール
  16. # Dependency
  17. Requires: translate-toolkit
  18. Requires: pygtk2-libglade
  19. Requires: python-pycurl
  20. Requires: python-lxml
  21. BuildRequires: python-devel
  22. BuildRequires: translate-toolkit
  23. BuildRequires: pygtk2-libglade
  24. BuildRequires: python-pycurl
  25. BuildRequires: python-lxml
  26. %description
  27. It uses the Translate Toolkit to get access to translation files and therefore
  28. can edit a variety of files (including PO and XLIFF files).
  29. %description -l ja
  30. Translate Toolkit を利用して PO や XLIFF などの様々な翻訳ファイルにアクセス
  31. し、編集できます。
  32. %prep
  33. %setup -q
  34. %build
  35. %{__python} setup.py build
  36. %install
  37. %{__rm} -rf ${RPM_BUILD_ROOT}
  38. %{__python} setup.py install --root=${RPM_BUILD_ROOT}
  39. %{find_lang} %{name}
  40. %clean
  41. %{__rm} -rf ${RPM_BUILD_ROOT}
  42. %files -f %{name}.lang
  43. %defattr(-,root,root)
  44. %doc ChangeLog LICENSE README
  45. %{_bindir}/%{name}
  46. %{python_sitelib}/%{name}-%{version}-py%{pyver}.egg-info
  47. %{python_sitelib}/%{name}
  48. %{_datadir}/applications/%{name}.desktop
  49. %{_datadir}/icons/hicolor/128x128/mimetypes/x-translation.png
  50. %{_datadir}/icons/hicolor/16x16/mimetypes/x-translation.png
  51. %{_datadir}/icons/hicolor/24x24/mimetypes/x-translation.png
  52. %{_datadir}/icons/hicolor/32x32/mimetypes/x-translation.png
  53. %{_datadir}/icons/hicolor/48x48/mimetypes/x-translation.png
  54. %{_datadir}/icons/hicolor/64x64/mimetypes/x-translation.png
  55. %{_datadir}/icons/hicolor/scalable/mimetypes/x-translation.svg
  56. %{_datadir}/icons/%{name}.ico
  57. %{_datadir}/icons/%{name}.png
  58. %{_datadir}/icons/x-translation.ico
  59. %{_datadir}/mime/packages/%{name}-mimetype.xml
  60. %{_datadir}/%{name}
  61. %changelog
  62. * Fri Oct 26 2012 Yasumichi Akahoshi <yasumichi@vinelinux.org> 0.7.1-1
  63. - initial build for Vine Linux