source: projects/specs/trunk/m/mcomix/mcomix-vl.spec @ 2159

Revision 2159, 2.5 KB checked in by kudoh, 14 years ago (diff)
Line 
1Summary:        customizable image viewer that specifically designed to handle comic books
2Summary(ja):    漫画向けに特化してデザインされたカスタム可能なイメージビューワ
3Name:           mcomix
4Version:        0.90.2
5Release:        1%{?_dist_release}
6Source0:        MComix-%{version}.tar.bz2
7Source1:        mcomix_ja.po
8
9License:        Public Domain
10Group:          Applications/Graphics
11URL:            http://sourceforge.net/projects/mcomix/
12
13Requires:       pygtk2 >= 2.12, python-imaging >= 1.1.5, libjpeg-turbo
14Requires:       python >= 2.5
15
16BuildRequires:  python  >= 2.5
17BuildRequires:  pygtk2-devel python-imaging
18BuildRequires:  gettext
19BuildRoot:      %{_tmppath}/%{name}-%{version}-root
20
21%description
22MComix is a user-friendly, customizable image viewer. It is specifically
23designed to handle comic books, but also serves as a generic viewer. It
24reads images in ZIP, RAR or tar archives as well as plain image files.
25It is written in Python and uses GTK+ through the PyGTK bindings.
26
27%description -l ja
28MComix はユーザーフレンドリでカスタマイズ可能なイメージビューワです。
29このビューワは漫画を読むのに特化してデザインされていますが、一般的な画像
30ビューワとしても利用できます。
31通常のイメージファイルと同様に、ZIP、RAR または tar (gzip 及び bzip2 で圧縮
32されたものも含む) アーカイブ中のイメージも読み込めます。
33Python で書かれており、PyGTK バインディングを通じて GTK+ を使用しています。
34
35%prep
36
37%setup -qn MComix-%{version}
38%{__cp} -f %{SOURCE1} messages/ja/LC_MESSAGES/mcomix.po
39msgfmt -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
54touch --no-create %{_datadir}/icons/hicolor || :
55%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
56update-desktop-database > /dev/null 2>&1 || :
57
58
59%postun
60touch --no-create %{_datadir}/icons/hicolor || :
61%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
62update-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
Note: See TracBrowser for help on using the repository browser.