source: projects/specs/trunk/q/qcomicbook/qcomicbook-vl.spec @ 8326

Revision 8326, 3.2 KB checked in by kudoh, 8 years ago (diff)

rebuilt

Line 
1Summary:        qt viewer for comic book archives
2Summary(ja):    漫画本アーカイブ用 qt ビューア
3Name:           qcomicbook
4Version:        0.9.0
5Release:        2%{?_dist_release}
6License:        GPLv2
7Group:          Applications/Graphics
8URL:            http://qcomicbook.linux-projects.net/
9Source0:        http://qcomicbook.linux-projects.net/releases/qcomicbook-%{version}.tar.gz
10Source1:        qcomicbook_ja_JP.ts
11Patch0:         qcomicbook_desktop.patch
12#Patch1:         enable_ja_trans.patch
13
14BuildRequires: cmake >= 2.6.0
15BuildRequires: desktop-file-utils
16BuildRequires: libXi-devel
17BuildRequires: libXmu-devel
18BuildRequires: poppler-qt4-devel >= 0.12.4
19BuildRequires: qt4-devel >= 4.5.0
20
21BuildRoot:      %{_tmppath}/%{name}-%{version}-root
22
23
24%description
25QComicBook is a viewer for comic book archives: rar, cbr,
26zip, cbz, ace, cba,tar.gz, cbg, tar.bz2, cbb. QComicBook
27aims at convenience and simplicity. Features include:
28automatic decompression, full-screen mode, two pages mode,
29japanese mode, thumbnails view, page scaling and rotating,
30page preloading and caching, mouse or keyboard navigation,
31bookmarks etc.
32
33QComicBook requires zip/unzip, rar/unrar, tar with
34gzip+bzip2 support and unace to handle archives.
35
36%description -l ja
37QComicBook は 漫画本アーカイブ (rar, cbr,zip, cbz, ace, cba,
38tar.gz, cbg, tar.bz2, cbb) 向けのビューアです。
39QComicBook は利便性と簡便性を目指しています。
40
41自動展開、全画面モード、見開きモード、サムネイルビュー、
42ページのスケーリングと回転、ページの先読みとキャッシング、
43マウスかキーボードによる操作、ブックマーク等の機能を含みます。
44
45QComicBook はアーカイブの展開に zip/unzip、rar/unrar、
46gzip+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}
58export QTDIR=/usr/lib/qt4
59%endif
60%ifarch x86_64
61export QTDIR=/usr/lib64/qt4
62%endif
63
64cmake . -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
71desktop-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
80update-desktop-database > /dev/null 2>&1 || :
81
82
83%postun
84update-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* Sun Mar 30 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.0-2
98- rebuilt with new toolchain
99
100* Sat Jun 09 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.9.0-1
101- new upstream release
102- recreated Patch0
103- updated Source1
104- deleted Patch1
105
106* Sun Apr 29 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-2
107- added Source1 and Patch1 to enable Japanese translation
108- set conditional branch for architecture
109
110* Sun Nov 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
111- new upstream release
112
113* Fri Aug 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
114- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.