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: 1%{?_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 | |
---|
53 | %post |
---|
54 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
55 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
56 | update-desktop-database > /dev/null 2>&1 || : |
---|
57 | |
---|
58 | |
---|
59 | %postun |
---|
60 | touch --no-create %{_datadir}/icons/hicolor || : |
---|
61 | %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || : |
---|
62 | update-desktop-database > /dev/null 2>&1 || : |
---|
63 | |
---|
64 | |
---|
65 | %files -f %{name}.lang |
---|
66 | %defattr(-,root,root) |
---|
67 | %doc |
---|
68 | %{_bindir}/%{name} |
---|
69 | %{_datadir}/applications/%{name}.desktop |
---|
70 | %{_datadir}/icons/hicolor/ |
---|
71 | %{_datadir}/%{name}/images/ |
---|
72 | %{_datadir}/%{name}/src/ |
---|
73 | %{_mandir}/man1/%{name}.1.gz |
---|
74 | |
---|
75 | %changelog |
---|
76 | * Sat Oct 30 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.90.2-1 |
---|
77 | - initial build for VineSeed |
---|