hotot-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. %{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
  2. Name: hotot
  3. Version: 0.9.7.37
  4. Release: 2.git20120205%{?_dist_release}
  5. Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux.
  6. Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
  7. Group: Applications/Internet
  8. License: LGPLv3+
  9. URL: http://code.google.com/p/hotot
  10. Source0: hotot-%{version}-git20120205.tar.bz2
  11. Patch0: fix_messages_ja.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildArch: noarch
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: gettext
  16. BuildRequires: intltool
  17. #BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
  18. BuildRequires: python-devel
  19. BuildRequires: python-distutils-extra
  20. Requires: python-keybinder
  21. Requires: notify-python
  22. Requires: pygobject
  23. Requires: pygtk2
  24. Requires: pywebkitgtk >= 1.1.8
  25. %description
  26. Hotot, is a lightweight & open source Microblogging Client,
  27. coding using Python language and designed for Linux.
  28. It depends less but supports more.
  29. It's been developed actively and still in Alpha stage.
  30. %description -l ja
  31. Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
  32. マイクロブログクライアントです。
  33. 依存はより少なく、より多くのサポートを。
  34. 活発に開発していますが、まだアルファの段階です。
  35. %prep
  36. %setup -q -n %{name}
  37. %patch0 -p1
  38. %build
  39. python setup.py build_i18n -m
  40. python setup.py build
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. python setup.py install --prefix=$RPM_BUILD_ROOT/usr
  44. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
  45. %find_lang %{name}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %files -f %{name}.lang
  49. %defattr(-,root,root,-)
  50. %{python_sitelib}/%{name}
  51. %{_bindir}/%{name}
  52. %{python_sitelib}/%{name}-*.egg-info
  53. %{_datadir}/%{name}
  54. %{_datadir}/icons/hicolor/*/apps/%{name}.png
  55. %{_datadir}/pixmaps/%{name}.png
  56. %{_datadir}/applications/%{name}.desktop
  57. %changelog
  58. * Mon Feb 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.7.37-2.git20120205
  59. - rebuild with python-2.7.2
  60. * Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
  61. - new upstream release
  62. * Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
  63. - new upstream release
  64. - added BuildRequires: desktop-file-utils, python-devel
  65. - added patch0 to fix Japanese messages
  66. * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
  67. - new upstream release
  68. - changed License: LGPLv2+ to LGPLv3+
  69. - changed Requires: keybinder to python-keybinder
  70. - run desktop-file-validate
  71. * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
  72. - initial build for Vine Linux
  73. * Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
  74. - Initial RPM release