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

Revision 5583, 2.9 KB checked in by kudoh, 12 years ago (diff)
Line 
1%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
2
3Name:           hotot
4Version:        0.9.7.37
5Release:        1.git20120205%{?_dist_release}
6Summary:        Hotot lightweight & open source microblogging client using Python language and designed for Linux.
7Summary(ja):    Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
8
9Group:          Applications/Internet
10License:        LGPLv3+
11URL:            http://code.google.com/p/hotot
12Source0:        hotot-%{version}-git20120205.tar.bz2
13Patch0:         fix_messages_ja.patch
14
15BuildRoot:      %{_tmppath}/%{name}-%{version}-root
16
17BuildArch: noarch
18
19BuildRequires: desktop-file-utils
20BuildRequires: gettext
21BuildRequires: intltool
22#BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
23BuildRequires: python-devel
24BuildRequires: python-distutils-extra
25
26Requires: python-keybinder
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}
46%patch0 -p1
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
57desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
58
59%find_lang %{name}
60
61%clean
62rm -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 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
76- new upstream release
77
78* Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
79- new upstream release
80- added BuildRequires: desktop-file-utils, python-devel
81- added patch0 to fix Japanese messages
82
83* Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
84- new upstream release
85- changed License: LGPLv2+ to LGPLv3+
86- changed Requires: keybinder to python-keybinder
87- run desktop-file-validate
88
89* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
90- initial build for Vine Linux
91
92* Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
93- Initial RPM release
Note: See TracBrowser for help on using the repository browser.