1 | Summary: customizable image viewer that specifically designed to handle comic books |
---|
2 | Summary(ja): 漫画向けに特化してデザインされたカスタム可能なイメージビューワ |
---|
3 | Name: mcomix |
---|
4 | Version: 0.90.2 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | Source0: MComix-%{version}.tar.bz2 |
---|
7 | Source1: mcomix_ja.po |
---|
8 | |
---|
9 | License: Public Domain |
---|
10 | Group: Applications/Graphics |
---|
11 | URL: http://sourceforge.net/projects/mcomix/ |
---|
12 | |
---|
13 | Requires: pygtk2 >= 2.12, python-imaging >= 1.1.5, libjpeg-turbo |
---|
14 | Requires: python >= 2.5 |
---|
15 | |
---|
16 | BuildRequires: python >= 2.5 |
---|
17 | BuildRequires: pygtk2-devel python-imaging |
---|
18 | BuildRequires: gettext |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | %description |
---|
22 | MComix is a user-friendly, customizable image viewer. It is specifically |
---|
23 | designed to handle comic books, but also serves as a generic viewer. It |
---|
24 | reads images in ZIP, RAR or tar archives as well as plain image files. |
---|
25 | It is written in Python and uses GTK+ through the PyGTK bindings. |
---|
26 | |
---|
27 | %description -l ja |
---|
28 | MComix はユーザーフレンドリでカスタマイズ可能なイメージビューワです。 |
---|
29 | このビューワは漫画を読むのに特化してデザインされていますが、一般的な画像 |
---|
30 | ビューワとしても利用できます。 |
---|
31 | 通常のイメージファイルと同様に、ZIP、RAR または tar (gzip 及び bzip2 で圧縮 |
---|
32 | されたものも含む) アーカイブ中のイメージも読み込めます。 |
---|
33 | Python で書かれており、PyGTK バインディングを通じて GTK+ を使用しています。 |
---|
34 | |
---|
35 | %prep |
---|
36 | |
---|
37 | %setup -qn MComix-%{version} |
---|
38 | %{__cp} -f %{SOURCE1} messages/ja/LC_MESSAGES/mcomix.po |
---|
39 | msgfmt -o messages/ja/LC_MESSAGES/mcomix.mo messages/ja/LC_MESSAGES/mcomix.po |
---|
40 | |
---|
41 | %install |
---|
42 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
43 | %{__mkdir} -p ${RPM_BUILD_ROOT}%{_prefix} |
---|
44 | %{__python} install.py install --no-mime --dir ${RPM_BUILD_ROOT}%{_prefix} |
---|
45 | |
---|
46 | %find_lang %{name} |
---|
47 | |
---|
48 | |
---|
49 | %clean |
---|
50 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
51 | |
---|
52 | %post |
---|
53 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : |
---|
54 | |
---|
55 | |
---|
56 | %postun |
---|
57 | if [ $1 -eq 0 ] ; then |
---|
58 | touch --no-create %{_datadir}/icons/hicolor &>/dev/null |
---|
59 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
60 | fi |
---|
61 | |
---|
62 | %posttrans |
---|
63 | gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : |
---|
64 | |
---|
65 | |
---|
66 | %files -f %{name}.lang |
---|
67 | %defattr(-,root,root) |
---|
68 | %doc |
---|
69 | %{_bindir}/%{name} |
---|
70 | %{_datadir}/applications/%{name}.desktop |
---|
71 | %{_datadir}/icons/hicolor/ |
---|
72 | %{_datadir}/%{name}/images/ |
---|
73 | %{_datadir}/%{name}/src/ |
---|
74 | %{_mandir}/man1/%{name}.1.gz |
---|
75 | |
---|
76 | %changelog |
---|
77 | * Sun Nov 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-2 |
---|
78 | - updated source1 |
---|
79 | - probed %%post and %%postun |
---|
80 | - added %%posttrans |
---|
81 | |
---|
82 | * Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-1 |
---|
83 | - initial build for VineSeed |
---|