]>
Commit | Line | Data |
---|---|---|
4ba3772f BZ |
1 | # |
2 | # Remember : adapter will cut Summary and broke this spec file | |
308060b0 | 3 | Summary: A viewer for comic book archives (rar, cbr, cbz, zip, ace, cba, tar.gz, tar.bz2) |
55cb30c2 | 4 | Summary(pl.UTF-8): Czytnik komiksów (rar, cbr, cbz, zip, ace, cba, tar.gz,tar.bz2) |
e9aa4fd6 | 5 | Name: qcomicbook |
60d6e568 | 6 | Version: 0.4.4 |
4ba3772f | 7 | Release: 1 |
1dd17920 | 8 | License: GPL v2+ |
012df6d2 | 9 | Group: X11/Amusements |
e9aa4fd6 | 10 | Source0: http://linux.bydg.org/~yogin/qcomicbook/%{name}-%{version}.tar.gz |
60d6e568 | 11 | # Source0-md5: 461ffcda36df1d4d32abb0ee074510cb |
34b1bd40 | 12 | Patch0: %{name}-desktop.patch |
e9aa4fd6 | 13 | URL: http://linux.bydg.org/~yogin/ |
60d6e568 | 14 | BuildRequires: Qt3Support-devel >= 4.3.0 |
15 | BuildRequires: QtCore-devel >= 4.3.0 | |
16 | BuildRequires: QtGui-devel >= 4.3.0 | |
17 | BuildRequires: qt4-build >= 4.3.0 | |
18 | BuildRequires: qt4-qmake >= 4.3.0 | |
012df6d2 | 19 | BuildRequires: rpmbuild(macros) >= 1.129 |
e9aa4fd6 BZ |
20 | Suggests: tar |
21 | Suggests: unace | |
22 | Suggests: unrar | |
23 | Suggests: unzip | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | QComicBook is a viewer for comic book archives containing | |
28 | jpeg/png/xpm/gif images, which aims at convenience and simplicity. | |
29 | Features include: automatic decompression, full-screen mode, two-pages | |
012df6d2 | 30 | viewing, japanese mode, thumbnails view, page scaling, mouse or |
31 | keyboard navigation etc. | |
e9aa4fd6 | 32 | |
012df6d2 | 33 | QComicBook requires zip/unzip, rar/unrar, tar with gzip+bzip2 support |
34 | and unace to handle archives. | |
626fc09b | 35 | |
012df6d2 | 36 | %description -l pl.UTF-8 |
37 | QComicBook jest wygodnym i łatwym w obsłudze czytnikiem komiksów | |
38 | składających się z obrazów jpeg/png/xpm/gif. Posiada on funkcje: | |
39 | autumatyczna dekompresja, tryb pełnoekranowy, podgląd dwóch stron, | |
40 | tryp japoński, podgląd miniatur, skalowanie strony, nawigacja za | |
41 | pomocą myszki i klawiatury itp. | |
42 | ||
43 | QCoomiBook wymaga programów zip/unzip, rar/unrar, tar wraz z | |
44 | gzip-bzip2 i unace do obsługi archiwów. | |
e9aa4fd6 BZ |
45 | |
46 | %prep | |
47 | %setup -q | |
626fc09b | 48 | %patch0 -p1 |
e9aa4fd6 BZ |
49 | |
50 | %build | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
626fc09b | 56 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_bindir}} |
e9aa4fd6 BZ |
57 | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT \ | |
e9aa4fd6 BZ |
60 | shelldesktopdir=%{_desktopdir} |
61 | ||
c1bee519 | 62 | cp -a data/%{name}.desktop $RPM_BUILD_ROOT%{_desktopdir} |
63 | cp -a data/%{name}.png $RPM_BUILD_ROOT%{_pixmapsdir} | |
626fc09b | 64 | |
e9aa4fd6 BZ |
65 | #%find_lang %{name} --with-kde |
66 | ||
67 | %clean | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
70 | #-f %{name}.lang | |
012df6d2 | 71 | %files |
e9aa4fd6 | 72 | %defattr(644,root,root,755) |
626fc09b | 73 | %doc AUTHORS ChangeLog COPYING INSTALL NEWS README THANKS TODO |
e9aa4fd6 | 74 | %attr(755,root,root) %{_bindir}/qcomicbook |
626fc09b | 75 | %{_datadir}/%{name} |
012df6d2 | 76 | %{_mandir}/man1/%{name}.1* |
626fc09b BZ |
77 | %{_desktopdir}/%{name}.desktop |
78 | %{_pixmapsdir}/%{name}.png |