1 | Summary: qt viewer for comic book archives |
---|
2 | Summary(ja): 漫画本アーカイブ用 qt ビューア |
---|
3 | Name: qcomicbook |
---|
4 | Version: 0.9.0 |
---|
5 | Release: 3%{?_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 | Source1: qcomicbook_ja_JP.ts |
---|
11 | Patch0: qcomicbook_desktop.patch |
---|
12 | #Patch1: enable_ja_trans.patch |
---|
13 | |
---|
14 | BuildRequires: cmake >= 2.6.0 |
---|
15 | BuildRequires: desktop-file-utils |
---|
16 | BuildRequires: libXi-devel |
---|
17 | BuildRequires: libXmu-devel |
---|
18 | BuildRequires: poppler-qt4-devel >= 0.12.4 |
---|
19 | BuildRequires: qt4-devel >= 4.5.0 |
---|
20 | |
---|
21 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
22 | |
---|
23 | |
---|
24 | %description |
---|
25 | QComicBook is a viewer for comic book archives: rar, cbr, |
---|
26 | zip, cbz, ace, cba,tar.gz, cbg, tar.bz2, cbb. QComicBook |
---|
27 | aims at convenience and simplicity. Features include: |
---|
28 | automatic decompression, full-screen mode, two pages mode, |
---|
29 | japanese mode, thumbnails view, page scaling and rotating, |
---|
30 | page preloading and caching, mouse or keyboard navigation, |
---|
31 | bookmarks etc. |
---|
32 | |
---|
33 | QComicBook requires zip/unzip, rar/unrar, tar with |
---|
34 | gzip+bzip2 support and unace to handle archives. |
---|
35 | |
---|
36 | %description -l ja |
---|
37 | QComicBook は 漫画本アーカイブ (rar, cbr,zip, cbz, ace, cba, |
---|
38 | tar.gz, cbg, tar.bz2, cbb) 向けのビューアです。 |
---|
39 | QComicBook は利便性と簡便性を目指しています。 |
---|
40 | |
---|
41 | 自動展開、全画面モード、見開きモード、サムネイルビュー、 |
---|
42 | ページのスケーリングと回転、ページの先読みとキャッシング、 |
---|
43 | マウスかキーボードによる操作、ブックマーク等の機能を含みます。 |
---|
44 | |
---|
45 | QComicBook はアーカイブの展開に zip/unzip、rar/unrar、 |
---|
46 | gzip+bzip2 を使用した tar の支援と unace を必要とします。 |
---|
47 | |
---|
48 | |
---|
49 | %prep |
---|
50 | %setup -q |
---|
51 | %{__cp} -f %{SOURCE1} i18n/ |
---|
52 | |
---|
53 | %patch0 -p1 |
---|
54 | #%patch1 -p1 |
---|
55 | |
---|
56 | %build |
---|
57 | %ifarch %{ix86} |
---|
58 | export QTDIR=/usr/lib/qt4 |
---|
59 | %endif |
---|
60 | %ifarch x86_64 |
---|
61 | export QTDIR=/usr/lib64/qt4 |
---|
62 | %endif |
---|
63 | |
---|
64 | cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release |
---|
65 | %{__make} %{?_smp_mflags} |
---|
66 | |
---|
67 | %install |
---|
68 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
69 | %__make DESTDIR=%{buildroot} install |
---|
70 | |
---|
71 | desktop-file-install --vendor="" --delete-original \ |
---|
72 | --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \ |
---|
73 | ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop |
---|
74 | |
---|
75 | %clean |
---|
76 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
77 | |
---|
78 | |
---|
79 | %post |
---|
80 | update-desktop-database > /dev/null 2>&1 || : |
---|
81 | |
---|
82 | |
---|
83 | %postun |
---|
84 | update-desktop-database > /dev/null 2>&1 || : |
---|
85 | |
---|
86 | |
---|
87 | %files |
---|
88 | %defattr(-,root,root,-) |
---|
89 | %doc AUTHORS COPYING ChangeLog NEWS README THANKS |
---|
90 | %{_bindir}/%{name} |
---|
91 | %{_datadir}/applications/%{name}.desktop |
---|
92 | %{_datadir}/%{name}/i18n/ |
---|
93 | %{_datadir}/pixmaps/ |
---|
94 | %{_mandir}/man?/%{name}.1.gz |
---|
95 | |
---|
96 | %changelog |
---|
97 | * Sat Jul 09 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.0-3 |
---|
98 | - rebuild with gcc-5.4.0 |
---|
99 | |
---|
100 | * Sun Mar 30 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.0-2 |
---|
101 | - rebuilt with new toolchain |
---|
102 | |
---|
103 | * Sat Jun 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.0-1 |
---|
104 | - new upstream release |
---|
105 | - recreated Patch0 |
---|
106 | - updated Source1 |
---|
107 | - deleted Patch1 |
---|
108 | |
---|
109 | * Sun Apr 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-2 |
---|
110 | - added Source1 and Patch1 to enable Japanese translation |
---|
111 | - set conditional branch for architecture |
---|
112 | |
---|
113 | * Sun Nov 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1 |
---|
114 | - new upstream release |
---|
115 | |
---|
116 | * Fri Aug 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1 |
---|
117 | - initial build for Vine Linux |
---|