source: projects/specs/trunk/h/hotot/hotot-vl.spec @ 5702

Revision 5702, 3.0 KB checked in by Takemikaduchi, 12 years ago (diff)

python-2.7.2

RevLine 
[4377]1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           hotot
[5583]4Version:        0.9.7.37
[5702]5Release:        2.git20120205%{?_dist_release}
[4377]6Summary:        Hotot lightweight & open source microblogging client using Python language and designed for Linux.
7Summary(ja):    Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
8
9Group:          Applications/Internet
[4805]10License:        LGPLv3+
[4377]11URL:            http://code.google.com/p/hotot
[5583]12Source0:        hotot-%{version}-git20120205.tar.bz2
[5426]13Patch0:         fix_messages_ja.patch
14
[4377]15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17BuildArch: noarch
18
[5426]19BuildRequires: desktop-file-utils
[4377]20BuildRequires: gettext
21BuildRequires: intltool
22#BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
[5426]23BuildRequires: python-devel
[4377]24BuildRequires: python-distutils-extra
25
[4805]26Requires: python-keybinder
[4377]27Requires: notify-python
28Requires: pygobject
29Requires: pygtk2
30Requires: pywebkitgtk >= 1.1.8
31
32%description
33Hotot, is a lightweight & open source Microblogging Client,
34coding using Python language and designed for Linux.
35It depends less but supports more.
36It's been developed actively and still in Alpha stage.
37
38%description -l ja
39Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
40マイクロブログクライアントです。
41依存はより少なく、より多くのサポートを。
42活発に開発していますが、まだアルファの段階です。
43
44%prep
45%setup -q -n %{name}
[5426]46%patch0 -p1
[4377]47
48%build
49python setup.py build_i18n -m
50python setup.py build
51
52
53%install
54rm -rf $RPM_BUILD_ROOT
55python setup.py install --prefix=$RPM_BUILD_ROOT/usr
56
[4805]57desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
58
59%find_lang %{name}
60
[4377]61%clean
62rm -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
Note: See TracBrowser for help on using the repository browser.