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