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

Revision 7698, 6.1 KB checked in by kudoh, 11 years ago (diff)

--force-log

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