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.7.37 |
---|
5 | Release: 2.git20120205%{?_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: LGPLv3+ |
---|
11 | URL: http://code.google.com/p/hotot |
---|
12 | Source0: hotot-%{version}-git20120205.tar.bz2 |
---|
13 | Patch0: fix_messages_ja.patch |
---|
14 | |
---|
15 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
16 | |
---|
17 | BuildArch: noarch |
---|
18 | |
---|
19 | BuildRequires: desktop-file-utils |
---|
20 | BuildRequires: gettext |
---|
21 | BuildRequires: intltool |
---|
22 | #BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel |
---|
23 | BuildRequires: python-devel |
---|
24 | BuildRequires: python-distutils-extra |
---|
25 | |
---|
26 | Requires: python-keybinder |
---|
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} |
---|
46 | %patch0 -p1 |
---|
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 | |
---|
57 | desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop |
---|
58 | |
---|
59 | %find_lang %{name} |
---|
60 | |
---|
61 | %clean |
---|
62 | rm -rf $RPM_BUILD_ROOT |
---|
63 | |
---|
64 | %files -f %{name}.lang |
---|
65 | %defattr(-,root,root,-) |
---|
66 | %{python_sitelib}/%{name} |
---|
67 | %{_bindir}/%{name} |
---|
68 | %{python_sitelib}/%{name}-*.egg-info |
---|
69 | %{_datadir}/%{name} |
---|
70 | %{_datadir}/icons/hicolor/*/apps/%{name}.png |
---|
71 | %{_datadir}/pixmaps/%{name}.png |
---|
72 | %{_datadir}/applications/%{name}.desktop |
---|
73 | |
---|
74 | %changelog |
---|
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 | |
---|
78 | * Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205 |
---|
79 | - new upstream release |
---|
80 | |
---|
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 | |
---|
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 | |
---|
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 |
---|