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