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

Revision 4805, 2.4 KB checked in by kudoh, 13 years ago (diff)

%{!?python_sitelib: %define python_sitelib %(%{python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name: hotot
Version: 0.9.7
Release: 1.hg1018%{?_dist_release}
Summary: Hotot lightweight & open source microblogging client using Python language and designed for Linux.
Summary(ja): Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。

Group: Applications/Internet?
License: LGPLv3+
URL:  http://code.google.com/p/hotot
Source0: hotot-0.9.7.hg1018.tar.bz2
BuildRoot?: %{_tmppath}/%{name}-%{version}-root

BuildArch?: noarch

BuildRequires?: gettext
BuildRequires?: intltool
#BuildRequires?: pygtk2-devel WebKit?-gtk-devel libxslt-devel
BuildRequires?: python-distutils-extra

Requires: python-keybinder
Requires: notify-python
Requires: pygobject
Requires: pygtk2
Requires: pywebkitgtk >= 1.1.8

%description
Hotot, is a lightweight & open source Microblogging Client,
coding using Python language and designed for Linux.
It depends less but supports more.
It's been developed actively and still in Alpha stage.

%description -l ja
Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
マイクロブログクライアントです。
依存はより少なく、より多くのサポートを。
活発に開発していますが、まだアルファの段階です。

%prep
%setup -q -n %{name}

%build
python setup.py build_i18n -m
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --prefix=$RPM_BUILD_ROOT/usr

desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop

%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root,-)
%{python_sitelib}/%{name}
%{_bindir}/%{name}
%{python_sitelib}/%{name}-*.egg-info
%{_datadir}/%{name}
%{_datadir}/pixmaps/%{name}.png
%{_datadir}/applications/%{name}.desktop

%changelog

  • Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@…> - 0.9.7-1.hg1018
  • new upstream release
  • changed License: LGPLv2+ to LGPLv3+
  • changed Requires: keybinder to python-keybinder
  • run desktop-file-validate
  • Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@…> - 0.9.6-1.hg889
  • initial build for Vine Linux
  • Thu Nov 6 2010 Radek Ryckowski <radek@…> - 0.9.5 hg 531:69b7cd2aef25
  • Initial RPM release
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
5Release:        1.hg1018%{?_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-0.9.7.hg1018.tar.bz2
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildArch: noarch
16
17BuildRequires: gettext
18BuildRequires: intltool
19#BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
20BuildRequires: python-distutils-extra
21
22Requires: python-keybinder
23Requires: notify-python
24Requires: pygobject
25Requires: pygtk2
26Requires: pywebkitgtk >= 1.1.8
27
28%description
29Hotot, is a lightweight & open source Microblogging Client,
30coding using Python language and designed for Linux.
31It depends less but supports more.
32It's been developed actively and still in Alpha stage.
33
34%description -l ja
35Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
36マイクロブログクライアントです。
37依存はより少なく、より多くのサポートを。
38活発に開発していますが、まだアルファの段階です。
39
40%prep
41%setup -q -n %{name}
42
43%build
44python setup.py build_i18n -m
45python setup.py build
46
47
48%install
49rm -rf $RPM_BUILD_ROOT
50python setup.py install --prefix=$RPM_BUILD_ROOT/usr
51
52desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
53
54%find_lang %{name}
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files -f %{name}.lang
60%defattr(-,root,root,-)
61%{python_sitelib}/%{name}
62%{_bindir}/%{name}
63%{python_sitelib}/%{name}-*.egg-info
64%{_datadir}/%{name}
65%{_datadir}/pixmaps/%{name}.png
66%{_datadir}/applications/%{name}.desktop
67
68%changelog
69* Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
70- new upstream release
71- changed License: LGPLv2+ to LGPLv3+
72- changed Requires: keybinder to python-keybinder
73- run desktop-file-validate
74
75* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
76- initial build for Vine Linux
77
78* Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
79- Initial RPM release
Note: See TracBrowser for help on using the repository browser.