1 | Summary: qt viewer for comic book archives |
---|
2 | Summary(ja): 漫画本アーカイブ用 qt ビューア |
---|
3 | Name: qcomicbook |
---|
4 | Version: 0.8.1 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2 |
---|
7 | Group: Applications/Graphics |
---|
8 | URL: http://qcomicbook.linux-projects.net/ |
---|
9 | Source0: http://qcomicbook.linux-projects.net/releases/qcomicbook-%{version}.tar.gz |
---|
10 | Patch0: qcomicbook_desktop.patch |
---|
11 | |
---|
12 | BuildRequires: cmake >= 2.6.0 |
---|
13 | BuildRequires: desktop-file-utils |
---|
14 | BuildRequires: libXi-devel |
---|
15 | BuildRequires: libXmu-devel |
---|
16 | BuildRequires: poppler-qt4-devel >= 0.12.4 |
---|
17 | BuildRequires: qt4-devel >= 4.5.0 |
---|
18 | |
---|
19 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
20 | |
---|
21 | |
---|
22 | %description |
---|
23 | QComicBook is a viewer for comic book archives: rar, cbr, |
---|
24 | zip, cbz, ace, cba,tar.gz, cbg, tar.bz2, cbb. QComicBook |
---|
25 | aims at convenience and simplicity. Features include: |
---|
26 | automatic decompression, full-screen mode, two pages mode, |
---|
27 | japanese mode, thumbnails view, page scaling and rotating, |
---|
28 | page preloading and caching, mouse or keyboard navigation, |
---|
29 | bookmarks etc. |
---|
30 | |
---|
31 | QComicBook requires zip/unzip, rar/unrar, tar with |
---|
32 | gzip+bzip2 support and unace to handle archives. |
---|
33 | |
---|
34 | %description -l ja |
---|
35 | QComicBook は 漫画本アーカイブ (rar, cbr,zip, cbz, ace, cba, |
---|
36 | tar.gz, cbg, tar.bz2, cbb) 向けのビューアです。 |
---|
37 | QComicBook は利便性と簡便性を目指しています。 |
---|
38 | |
---|
39 | 自動展開、全画面モード、見開きモード、サムネイルビュー、 |
---|
40 | ページのスケーリングと回転、ページの先読みとキャッシング、 |
---|
41 | マウスかキーボードによる操作、ブックマーク等の機能を含みます。 |
---|
42 | |
---|
43 | QComicBook はアーカイブの展開に zip/unzip、rar/unrar、 |
---|
44 | gzip+bzip2 を使用した tar の支援と unace を必要とします。 |
---|
45 | |
---|
46 | |
---|
47 | %prep |
---|
48 | %setup -q |
---|
49 | %patch0 -p1 |
---|
50 | |
---|
51 | %build |
---|
52 | export QTDIR=/usr/lib/qt4 |
---|
53 | cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release |
---|
54 | %{__make} %{?_smp_mflags} |
---|
55 | |
---|
56 | %install |
---|
57 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
58 | %__make DESTDIR=%{buildroot} install |
---|
59 | |
---|
60 | desktop-file-install --vendor="" --delete-original \ |
---|
61 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
62 | ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop |
---|
63 | |
---|
64 | %clean |
---|
65 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
66 | |
---|
67 | |
---|
68 | %post |
---|
69 | update-desktop-database > /dev/null 2>&1 || : |
---|
70 | |
---|
71 | |
---|
72 | %postun |
---|
73 | update-desktop-database > /dev/null 2>&1 || : |
---|
74 | |
---|
75 | |
---|
76 | %files |
---|
77 | %defattr(-,root,root,-) |
---|
78 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS |
---|
79 | %{_bindir}/%{name} |
---|
80 | %{_datadir}/applications/%{name}.desktop |
---|
81 | %{_datadir}/%{name}/i18n/ |
---|
82 | %{_datadir}/pixmaps/ |
---|
83 | %{_mandir}/man?/%{name}.1.gz |
---|
84 | |
---|
85 | %changelog |
---|
86 | * Fri Aug 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1 |
---|
87 | - initial build for Vine Linux |
---|