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