hotot-vl.spec 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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.6
  4. Release: 1.hg889%{?_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: LGPLv2+
  9. URL: http://code.google.com/p/hotot
  10. Source0: hotot-0.9.6.hg889.tar.bz2
  11. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  12. BuildArch: noarch
  13. BuildRequires: gettext
  14. BuildRequires: intltool
  15. #BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
  16. BuildRequires: python-distutils-extra
  17. Requires: keybinder
  18. Requires: notify-python
  19. Requires: pygobject
  20. Requires: pygtk2
  21. Requires: pywebkitgtk >= 1.1.8
  22. %description
  23. Hotot, is a lightweight & open source Microblogging Client,
  24. coding using Python language and designed for Linux.
  25. It depends less but supports more.
  26. It's been developed actively and still in Alpha stage.
  27. %description -l ja
  28. Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
  29. マイクロブログクライアントです。
  30. 依存はより少なく、より多くのサポートを。
  31. 活発に開発していますが、まだアルファの段階です。
  32. %prep
  33. %setup -q -n %{name}
  34. %build
  35. python setup.py build_i18n -m
  36. python setup.py build
  37. %install
  38. rm -rf $RPM_BUILD_ROOT
  39. python setup.py install --prefix=$RPM_BUILD_ROOT/usr
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files
  43. %defattr(-,root,root,-)
  44. %{python_sitelib}/%{name}
  45. %{_bindir}/%{name}
  46. %{python_sitelib}/%{name}-*.egg-info
  47. %{_datadir}/%{name}
  48. %{_datadir}/pixmaps/%{name}.png
  49. %{_datadir}/applications/%{name}.desktop
  50. %{_datadir}/locale/*/*/*.mo
  51. %changelog
  52. * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
  53. - initial build for Vine Linux
  54. * Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
  55. - Initial RPM release