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

Revision 6644, 5.5 KB checked in by kudoh, 12 years ago (diff)
RevLine 
[4377]1Name:           hotot
[6644]2Version:        0.9.8.7
3Release:        1.git20120728%{?_dist_release}
[4377]4Summary:        Hotot lightweight & open source microblogging client using Python language and designed for Linux.
5Summary(ja):    Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
6
7Group:          Applications/Internet
[4805]8License:        LGPLv3+
[4377]9URL:            http://code.google.com/p/hotot
[6644]10Source0:        hotot-%{version}-git20120728.tar.xz
11#Patch0:        fix_messages_ja.patch
[5426]12
[4377]13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
[6644]15BuildRequires: cmake
[5426]16BuildRequires: desktop-file-utils
[4377]17BuildRequires: gettext
18BuildRequires: intltool
[6644]19BuildRequires: kdelibs-devel
20BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
[5426]21BuildRequires: python-devel
[4377]22BuildRequires: python-distutils-extra
[6644]23BuildRequires: qt4-devel
[4377]24
[6644]25%description
26Hotot, is a lightweight & open source Microblogging Client,
27coding using Python language and designed for Linux.
28It depends less but supports more.
29It's been developed actively and still in Alpha stage.
30
31%description -l ja
32Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
33マイクロブログクライアントです。
34依存はより少なく、より多くのサポートを。
35活発に開発していますが、まだアルファの段階です。
36
37
38%package common
39Summary: common files for Hotot
40Summary(ja): Hotot の共通ファイル
41Group: Applications/Internet
42BuildArch: noarch
43
44%description common
45Hotot, is a lightweight & open source Microblogging Client,
46coding using Python language and designed for Linux.
47This package contains Hotot common files.
48
49%description common -l ja
50Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
51マイクロブログクライアントです。
52このパッケージは Hotot の共通ファイルを含んでいます。
53
54
55%package gtk
56Summary: Hotot GTK+ client
57Summary(ja): Hotot GTK+ クライアント
58Group: Applications/Internet
59
60Requires: %{name}-common = %{version}
[4377]61Requires: notify-python
[6644]62Requires: pygtk2
[4377]63Requires: pygobject
[6644]64Requires: python-keybinder
[4377]65Requires: pywebkitgtk >= 1.1.8
66
[6644]67%description gtk
[4377]68Hotot, is a lightweight & open source Microblogging Client,
69coding using Python language and designed for Linux.
70It depends less but supports more.
71It's been developed actively and still in Alpha stage.
[6644]72This package contains Hotot GTK+ client.
[4377]73
[6644]74%description gtk -l ja
[4377]75Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
76マイクロブログクライアントです。
77依存はより少なく、より多くのサポートを。
78活発に開発していますが、まだアルファの段階です。
[6644]79このパッケージは Hotot の GTK+ クライアントを含んでいます。
[4377]80
[6644]81
82%package qt
83Summary: Hotot qt client
84Summary(ja): Hotot qt クライアント
85Group: Applications/Internet
86
87Requires: %{name}-common = %{version}
88
89%description qt
90Hotot, is a lightweight & open source Microblogging Client,
91coding using Python language and designed for Linux.
92It depends less but supports more.
93It's been developed actively and still in Alpha stage.
94This package contains Hotot Qt client.
95
96%description qt -l ja
97Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
98マイクロブログクライアントです。
99依存はより少なく、より多くのサポートを。
100活発に開発していますが、まだアルファの段階です。
101このパッケージは Hotot の Qt クライアントを含んでいます。
102
103
[4377]104%prep
105%setup -q -n %{name}
[6644]106#%patch0 -p1
[4377]107
108%build
[6644]109cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GIR=OFF ./
110make %{?_smp_mflags}
[4377]111
112
113%install
[6644]114rm -rf %{buildroot}
115make install DESTDIR=%{buildroot}
[4377]116
[6644]117%find_lang %{name}
118
119%check
[4805]120desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
[6644]121desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
[4805]122
[4377]123%clean
[6644]124rm -rf %{buildroot}
[4377]125
[6644]126
127%post common
128%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
129
130%postun common
131%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
132
133
134%files common -f %{name}.lang
[4377]135%defattr(-,root,root,-)
[6644]136%doc ChangeLog LGPL-license.txt README.md
137%{_datadir}/%{name}/
138%{_datadir}/icons/*
139
140%files gtk
141%defattr(-,root,root,-)
142%{python_sitearch}/%{name}
[4377]143%{_bindir}/%{name}
144%{_datadir}/applications/%{name}.desktop
145
[6644]146%files qt
147%defattr(-,root,root,-)
148%{_bindir}/%{name}-qt
149%{_datadir}/applications/%{name}-qt.desktop
150
151
[4377]152%changelog
[6644]153* Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.7-1.git20120728
154- new upstream snapshot
155- splitted packages to hotot-common, hotot-gtk, hotot-qt
[5702]156
[6644]157* Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.45-1.git20120310
158- new upstream release
159- deleted BuildArch: noarch
160- added BuildRequires: cmake
161
[5583]162* Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
163- new upstream release
164
[5426]165* Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
166- new upstream release
167- added BuildRequires: desktop-file-utils, python-devel
168- added patch0 to fix Japanese messages
169
[4805]170* Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
171- new upstream release
172- changed License: LGPLv2+ to LGPLv3+
173- changed Requires: keybinder to python-keybinder
174- run desktop-file-validate
175
[4377]176* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
177- initial build for Vine Linux
178
179* Thu Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
180- Initial RPM release
Note: See TracBrowser for help on using the repository browser.