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

Revision 7643, 5.8 KB checked in by kudoh, 11 years ago (diff)

--force-log

Line 
1Name:           hotot
2Version:        0.9.8.13
3Release:        1.git20130311%{?_dist_release}
4Summary:        Hotot lightweight & open source microblogging client using Python language and designed for Linux.
5Summary(ja):    Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けのマイクロブログクライアントです。
6
7Group:          Applications/Internet
8License:        LGPLv3+
9URL:            http://code.google.com/p/hotot
10Source0:        hotot-%{version}-git20130311.tar.xz
11#Patch0:        fix_messages_ja.patch
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires: cmake
16BuildRequires: desktop-file-utils
17BuildRequires: gettext
18BuildRequires: intltool
19BuildRequires: kdelibs-devel
20BuildRequires: pygtk2-devel WebKit-gtk-devel libxslt-devel
21BuildRequires: python-devel
22BuildRequires: python-distutils-extra
23BuildRequires: qt4-devel
24
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}
61Requires: notify-python
62Requires: pygtk2
63Requires: pygobject
64Requires: python-keybinder
65Requires: pywebkitgtk >= 1.1.8
66
67%description gtk
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.
72This package contains Hotot GTK+ client.
73
74%description gtk -l ja
75Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
76マイクロブログクライアントです。
77依存はより少なく、より多くのサポートを。
78活発に開発していますが、まだアルファの段階です。
79このパッケージは Hotot の GTK+ クライアントを含んでいます。
80
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
104%prep
105%setup -q -n %{name}
106#%patch0 -p1
107sed -i 's/0.9.8.11/0.9.8.13/' data/js/conf.js
108
109%build
110cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GIR=OFF ./
111make %{?_smp_mflags}
112
113
114%install
115rm -rf %{buildroot}
116make install DESTDIR=%{buildroot}
117
118%find_lang %{name}
119
120%check
121desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
122desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
123
124%clean
125rm -rf %{buildroot}
126
127
128%post common
129%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
130
131%postun common
132%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
133
134
135%files common -f %{name}.lang
136%defattr(-,root,root,-)
137%doc ChangeLog LGPL-license.txt README.md
138%{_datadir}/%{name}/
139%{_datadir}/icons/*
140
141%files gtk
142%defattr(-,root,root,-)
143%{python_sitearch}/%{name}
144%{_bindir}/%{name}
145%{_datadir}/applications/%{name}.desktop
146
147%files qt
148%defattr(-,root,root,-)
149%{_bindir}/%{name}-qt
150%{_datadir}/applications/%{name}-qt.desktop
151%{_datadir}/kde4/apps/desktoptheme/default/icons/hotot_qt.svg
152
153
154%changelog
155* Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.13-1.git20130311
156- new upstream snapshot
157- fixed version in data/js/conf.js
158
159* Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.7-1.git20120728
160- new upstream snapshot
161- splitted packages to hotot-common, hotot-gtk, hotot-qt
162
163* Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.45-1.git20120310
164- new upstream release
165- deleted BuildArch: noarch
166- added BuildRequires: cmake
167
168* Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
169- new upstream release
170
171* Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
172- new upstream release
173- added BuildRequires: desktop-file-utils, python-devel
174- added patch0 to fix Japanese messages
175
176* Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
177- new upstream release
178- changed License: LGPLv2+ to LGPLv3+
179- changed Requires: keybinder to python-keybinder
180- run desktop-file-validate
181
182* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
183- initial build for Vine Linux
184
185* Sat Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
186- Initial RPM release
Note: See TracBrowser for help on using the repository browser.