hotot-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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
  4. Release: 1.hg1018%{?_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-0.9.7.hg1018.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: python-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. desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
  41. %find_lang %{name}
  42. %clean
  43. rm -rf $RPM_BUILD_ROOT
  44. %files -f %{name}.lang
  45. %defattr(-,root,root,-)
  46. %{python_sitelib}/%{name}
  47. %{_bindir}/%{name}
  48. %{python_sitelib}/%{name}-*.egg-info
  49. %{_datadir}/%{name}
  50. %{_datadir}/pixmaps/%{name}.png
  51. %{_datadir}/applications/%{name}.desktop
  52. %changelog
  53. * Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
  54. - new upstream release
  55. - changed License: LGPLv2+ to LGPLv3+
  56. - changed Requires: keybinder to python-keybinder
  57. - run desktop-file-validate
  58. * Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
  59. - initial build for Vine Linux
  60. * Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
  61. - Initial RPM release