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

Revision 10913, 6.2 KB checked in by ara_t, 7 years ago (diff)

haskell-platform: update to 2016.8.0.1

Line 
1Name:           hotot
2Version:        0.9.8.13
3Release:        3.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
43Obsoletes: hotot =< 0.9.7.37-2.git20120205
44
45%description common
46Hotot, is a lightweight & open source Microblogging Client,
47coding using Python language and designed for Linux.
48This package contains Hotot common files.
49
50%description common -l ja
51Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
52マイクロブログクライアントです。
53このパッケージは Hotot の共通ファイルを含んでいます。
54
55
56%package gtk
57Summary: Hotot GTK+ client
58Summary(ja): Hotot GTK+ クライアント
59Group: Applications/Internet
60Obsoletes: hotot =< 0.9.7.37-2.git20120205
61
62Requires: %{name}-common = %{version}
63Requires: notify-python
64Requires: pygtk2
65Requires: pygobject
66Requires: python-keybinder
67Requires: pywebkitgtk >= 1.1.8
68
69%description gtk
70Hotot, is a lightweight & open source Microblogging Client,
71coding using Python language and designed for Linux.
72It depends less but supports more.
73It's been developed actively and still in Alpha stage.
74This package contains Hotot GTK+ client.
75#'
76
77%description gtk -l ja
78Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
79マイクロブログクライアントです。
80依存はより少なく、より多くのサポートを。
81活発に開発していますが、まだアルファの段階です。
82このパッケージは Hotot の GTK+ クライアントを含んでいます。
83
84
85%package qt
86Summary: Hotot qt client
87Summary(ja): Hotot qt クライアント
88Group: Applications/Internet
89Obsoletes: hotot =< 0.9.7.37-2.git20120205
90
91Requires: %{name}-common = %{version}
92
93%description qt
94Hotot, is a lightweight & open source Microblogging Client,
95coding using Python language and designed for Linux.
96It depends less but supports more.
97It's been developed actively and still in Alpha stage.
98This package contains Hotot Qt client.
99#'
100
101%description qt -l ja
102Hotot は Python 言語を使用した、軽量&オープンソースな Linux 向けの
103マイクロブログクライアントです。
104依存はより少なく、より多くのサポートを。
105活発に開発していますが、まだアルファの段階です。
106このパッケージは Hotot の Qt クライアントを含んでいます。
107
108
109%prep
110%setup -q -n %{name}
111#%patch0 -p1
112sed -i 's/0.9.8.11/0.9.8.13/' data/js/conf.js
113
114%build
115cmake -DCMAKE_INSTALL_PREFIX=/usr -DWITH_GIR=OFF ./
116make %{?_smp_mflags}
117
118
119%install
120rm -rf %{buildroot}
121make install DESTDIR=%{buildroot}
122
123%find_lang %{name}
124
125%check
126desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}.desktop
127desktop-file-validate %{buildroot}/%{_datadir}/applications/%{name}-qt.desktop
128
129%clean
130rm -rf %{buildroot}
131
132
133%post common
134%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
135
136%postun common
137%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
138
139
140%files common -f %{name}.lang
141%defattr(-,root,root,-)
142%doc ChangeLog LGPL-license.txt README.md
143%{_datadir}/%{name}/
144%{_datadir}/icons/*
145
146%files gtk
147%defattr(-,root,root,-)
148%{python_sitearch}/%{name}
149%{_bindir}/%{name}
150%{_datadir}/applications/%{name}.desktop
151
152%files qt
153%defattr(-,root,root,-)
154%{_bindir}/%{name}-qt
155%{_datadir}/applications/%{name}-qt.desktop
156%{_datadir}/kde4/apps/desktoptheme/default/icons/hotot_qt.svg
157
158
159%changelog
160* Thu Sep 01 2016 Toshiaki Ara <ara_t@384.jp> - 0.9.8.13-3.git20130311
161- rebuild with gcc-5.4.0
162
163* Sun May 26 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.13-2.git20130311
164- added Obsoletes tag for all packages: hotot =< 0.9.7.37-2.git20120205
165
166* Thu May 02 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.13-1.git20130311
167- new upstream snapshot
168- fixed version in data/js/conf.js
169
170* Sat Jul 28 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.8.7-1.git20120728
171- new upstream snapshot
172- splitted packages to hotot-common, hotot-gtk, hotot-qt
173
174* Wed Feb 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.45-1.git20120310
175- new upstream release
176- deleted BuildArch: noarch
177- added BuildRequires: cmake
178
179* Mon Feb 06 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.37-1.git20120205
180- new upstream release
181
182* Wed Jan 18 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7.34-1.git20120118
183- new upstream release
184- added BuildRequires: desktop-file-utils, python-devel
185- added patch0 to fix Japanese messages
186
187* Thu Sep 22 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.7-1.hg1018
188- new upstream release
189- changed License: LGPLv2+ to LGPLv3+
190- changed Requires: keybinder to python-keybinder
191- run desktop-file-validate
192
193* Sat Jul 23 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.6-1.hg889
194- initial build for Vine Linux
195
196* Sat Nov 6 2010 Radek Ryckowski <radek@ebi.ac.uk> - 0.9.5 hg 531:69b7cd2aef25
197- Initial RPM release
Note: See TracBrowser for help on using the repository browser.