%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")} Name: hotot Version: 0.9.7.37 Release: 2.git20120205%{?_dist_release} Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux. Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。 Group: Applications/Internet License: LGPLv3+ URL: http://code.google.com/p/hotot Source0: hotot-%{version}-git20120205.tar.bz2 Patch0: fix_messages_ja.patch BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildArch: noarch BuildRequires: desktop-file-utils BuildRequires: gettext BuildRequires: intltool #BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel BuildRequires: python-devel BuildRequires: python-distutils-extra Requires: python-keybinder Requires: notify-python Requires: pygobject Requires: pygtk2 Requires: pywebkitgtk >= 1.1.8 %description Hotot, is a lightweight & open source Microblogging Client, coding using Python language and designed for Linux. It depends less but supports more. It's been developed actively and still in Alpha stage. %description -l ja Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの マイクロブログクライアントです。 依存はより少なく、より多くのサポートを。 活発に開発していますが、まだアルファの段階です。 %prep %setup -q -n %{name} %patch0 -p1 %build python setup.py build_i18n -m python setup.py build %install rm -rf $RPM_BUILD_ROOT python setup.py install --prefix=$RPM_BUILD_ROOT/usr desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(-,root,root,-) %{python_sitelib}/%{name} %{_bindir}/%{name} %{python_sitelib}/%{name}-*.egg-info %{_datadir}/%{name} %{_datadir}/icons/hicolor/*/apps/%{name}.png %{_datadir}/pixmaps/%{name}.png %{_datadir}/applications/%{name}.desktop %changelog * Mon Feb 20 2012 Yoji TOYODA - 0.9.7.37-2.git20120205 - rebuild with python-2.7.2 * Mon Feb 06 2012 Toshiharu Kudoh - 0.9.7.37-1.git20120205 - new upstream release * Wed Jan 18 2012 Toshiharu Kudoh - 0.9.7.34-1.git20120118 - new upstream release - added BuildRequires: desktop-file-utils, python-devel - added patch0 to fix Japanese messages * Thu Sep 22 2011 Toshiharu Kudoh - 0.9.7-1.hg1018 - new upstream release - changed License: LGPLv2+ to LGPLv3+ - changed Requires: keybinder to python-keybinder - run desktop-file-validate * Sat Jul 23 2011 Toshiharu Kudoh - 0.9.6-1.hg889 - initial build for Vine Linux * Thu Nov 6 2010 Radek Ryckowski - 0.9.5 hg 531:69b7cd2aef25 - Initial RPM release