2012-08-08 19:51:18 +00:00
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
Summary: A viewer for comic book archives
|
2012-08-08 19:51:18 +00:00
|
|
|
Name: qcomicbook
|
2018-02-07 13:54:51 +00:00
|
|
|
Version: 0.9.1
|
2019-02-02 10:28:27 +00:00
|
|
|
Release: 4%{?dist}
|
2012-08-08 19:51:18 +00:00
|
|
|
|
2008-09-03 19:23:22 +00:00
|
|
|
License: GPLv2
|
2018-02-07 13:54:51 +00:00
|
|
|
URL: https://github.com/stolowski/QComicBook/
|
|
|
|
Source0: https://github.com/stolowski/QComicBook/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
|
# https://github.com/stolowski/QComicBook/pull/30
|
|
|
|
Patch1: qcomicbook-12638e6947c95657dfdb0f779528260bace72a47.patch
|
|
|
|
Patch2: qcomicbook-123b0f02c3860f122e55029d29c75bdb9431034d.patch
|
2010-02-08 15:46:31 +00:00
|
|
|
|
|
|
|
BuildRequires: cmake
|
2006-09-15 17:57:06 +00:00
|
|
|
BuildRequires: desktop-file-utils
|
2018-02-07 13:54:51 +00:00
|
|
|
BuildRequires: pkgconfig(poppler-qt5)
|
|
|
|
BuildRequires: pkgconfig(Qt5Gui)
|
|
|
|
BuildRequires: pkgconfig(Qt5X11Extras)
|
|
|
|
BuildRequires: qt5-linguist
|
|
|
|
#BuildRequires: pkgconfig(xmu)
|
|
|
|
#BuildRequires: pkgconfig(xi)
|
|
|
|
|
|
|
|
#%%{?_qt5_version:Requires: qt5%%{?_isa} >= %%{_qt5_version}}
|
2012-08-08 19:51:18 +00:00
|
|
|
## runtime utilities for viewing comic book archives
|
|
|
|
#Requires: bzip2
|
|
|
|
#Requires: gzip
|
|
|
|
#Requires: p7zip
|
|
|
|
#Requires: tar
|
|
|
|
#Requires: unzip
|
|
|
|
## nonfree stuff
|
|
|
|
#Requires: unace
|
|
|
|
#Requires: unrar
|
2011-01-31 16:50:38 +00:00
|
|
|
|
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
%description
|
2012-08-08 19:51:18 +00:00
|
|
|
QComicBook is a viewer for PDF files and comic book archives containing
|
|
|
|
jpeg/png/xpm/gif/bmp images, which aims at convenience and simplicity.
|
|
|
|
Features include: automatic unpacking of archive files, full-screen mode, continuous
|
|
|
|
scrolling mode, double-pages viewing, manga mode, thumbnails view, page scaling,
|
|
|
|
mouse or keyboard navigation etc.
|
2006-09-15 17:57:06 +00:00
|
|
|
|
2012-08-08 19:51:18 +00:00
|
|
|
You will also need unzip, rar (or unrar), unace, p7zip and tar (with gzip and
|
|
|
|
bzip2 support compiled in) somewhere in your PATH to handle archives. If one of
|
|
|
|
these tools is missing you can still use QComicBook, but you won't be able to
|
|
|
|
open some archives. You may check status of supported archives via Help > System information
|
|
|
|
menu option of QComicBook.
|
2006-09-15 17:57:06 +00:00
|
|
|
|
2011-01-31 16:50:38 +00:00
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
%prep
|
2018-02-07 13:54:51 +00:00
|
|
|
%autosetup -p1 -n QComicBook-%{version}
|
2006-09-15 17:57:06 +00:00
|
|
|
|
2011-01-31 16:50:38 +00:00
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
%build
|
2011-01-31 16:50:38 +00:00
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake} ..
|
|
|
|
popd
|
2010-02-08 15:46:31 +00:00
|
|
|
|
2012-08-08 19:51:18 +00:00
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
2010-02-08 15:46:31 +00:00
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
|
|
|
|
%install
|
2012-08-08 19:51:18 +00:00
|
|
|
make install/fast DESTDIR="$RPM_BUILD_ROOT" -C %{_target_platform}
|
2011-01-31 16:50:38 +00:00
|
|
|
|
2015-03-26 16:41:53 +00:00
|
|
|
# Register as an application to be visible in the software center
|
|
|
|
#
|
|
|
|
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
|
|
|
# project, translated and installed into the right place during `make install`.
|
|
|
|
#
|
|
|
|
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
|
|
|
#
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
|
|
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
|
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- Copyright 2014 Ryan Lerch <rlerch@redhat.com> -->
|
|
|
|
<!--
|
|
|
|
EmailAddress: stolowski@gmail.com
|
|
|
|
SentUpstream: 2014-09-18
|
|
|
|
-->
|
|
|
|
<application>
|
|
|
|
<id type="desktop">qcomicbook.desktop</id>
|
|
|
|
<metadata_license>CC0-1.0</metadata_license>
|
|
|
|
<summary>Read comics</summary>
|
|
|
|
<description>
|
|
|
|
<p>
|
|
|
|
QComicBook is an application for reading comics and supports a wide
|
|
|
|
range of formats, including CBZ, CBR and CBT.
|
|
|
|
QComicBook has a wide range of features to enhance your comic reading,
|
|
|
|
including page preview, a thumbnails view, bookmarks, and a specific
|
|
|
|
mode for reading manga.
|
|
|
|
</p>
|
|
|
|
</description>
|
|
|
|
<url type="homepage">http://qcomicbook.org/</url>
|
|
|
|
<screenshots>
|
|
|
|
<screenshot type="default">http://qcomicbook.org/screenshots/qcomicbook072-os2.png</screenshot>
|
|
|
|
</screenshots>
|
|
|
|
</application>
|
|
|
|
EOF
|
|
|
|
|
2011-01-31 16:50:38 +00:00
|
|
|
%find_lang qcomicbook --without-mo --with-qt
|
2006-09-15 17:57:06 +00:00
|
|
|
|
|
|
|
|
2010-02-08 15:46:31 +00:00
|
|
|
%check
|
|
|
|
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/*%{name}.desktop
|
2006-09-15 17:57:06 +00:00
|
|
|
|
2011-01-31 16:50:38 +00:00
|
|
|
%files -f qcomicbook.lang
|
2006-09-15 17:57:06 +00:00
|
|
|
%doc AUTHORS README ChangeLog COPYING THANKS TODO
|
2011-01-31 16:50:38 +00:00
|
|
|
%{_bindir}/qcomicbook
|
|
|
|
%{_mandir}/man1/qcomicbook.1*
|
2015-03-26 16:41:53 +00:00
|
|
|
%{_datadir}/appdata/%{name}.appdata.xml
|
2011-01-31 16:50:38 +00:00
|
|
|
%{_datadir}/applications/qcomicbook.desktop
|
|
|
|
%{_datadir}/pixmaps/qcomicbook.png
|
|
|
|
%dir %{_datadir}/qcomicbook/
|
|
|
|
%dir %{_datadir}/qcomicbook/i18n/
|
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
|
|
|
|
%changelog
|
2019-02-02 10:28:27 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-07-14 02:58:14 +00:00
|
|
|
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-03-23 14:30:27 +00:00
|
|
|
* Fri Mar 23 2018 Marek Kasik <mkasik@redhat.com> - 0.9.1-2
|
|
|
|
- Rebuild for poppler-0.63.0
|
|
|
|
|
2018-02-07 13:54:51 +00:00
|
|
|
* Wed Feb 07 2018 Peter Lemenkov <lemenkov@gmail.com> - 0.9.1-1
|
|
|
|
- Ver. 0.9.1
|
|
|
|
- Switch to Qt5
|
|
|
|
- Fix rhbz#1471770
|
|
|
|
|
2017-08-03 07:09:32 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-12
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-27 12:33:26 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 11:10:45 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 21:36:41 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.9.0-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 21:37:50 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-05-02 15:05:06 +00:00
|
|
|
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.9.0-7
|
|
|
|
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
|
|
2015-03-26 16:41:53 +00:00
|
|
|
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.9.0-6
|
|
|
|
- Add an AppData file for the software center
|
|
|
|
|
2014-08-17 22:18:15 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-08 00:56:25 +00:00
|
|
|
* Sun Jun 08 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2013-08-04 11:22:18 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 21:05:05 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.9.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-08-08 19:51:18 +00:00
|
|
|
* Wed Aug 08 2012 Rex Dieter <rdieter@fedoraproject.org> 0.9.0-1
|
|
|
|
- 0.9.0
|
|
|
|
|
2012-07-21 12:32:13 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-02-28 19:46:56 +00:00
|
|
|
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-4
|
|
|
|
- Rebuilt for c++ ABI breakage
|
|
|
|
|
2012-01-14 02:26:16 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-02-09 04:37:15 +00:00
|
|
|
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2011-01-31 16:50:38 +00:00
|
|
|
* Tue Dec 14 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.7.2-1
|
|
|
|
- 0.7.2 (#663151)
|
|
|
|
|
2010-02-08 15:46:31 +00:00
|
|
|
* Sun Feb 07 2010 Rex Dieter <rdieter@fedoraproject.org> - 0.5.0-1
|
|
|
|
- qcomicbook-0.5.0 (#560632)
|
|
|
|
- update URL
|
|
|
|
- convert build to use cmake
|
|
|
|
- BR: qt4-devel (to avoid ambiguity)
|
|
|
|
- drop needless/explicit Requires: qt
|
|
|
|
- drop needless .desktop vendor (f13+)
|
|
|
|
|
2009-07-27 01:44:27 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-25 17:21:34 +00:00
|
|
|
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.4.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
|
|
2008-09-03 19:23:22 +00:00
|
|
|
* Wed Sep 3 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 0.4.0-3
|
|
|
|
- fix license tag
|
|
|
|
|
2008-04-01 17:01:47 +00:00
|
|
|
* Tue Apr 01 2008 Scott Baker <scott@perturb.org> - 0.4.0-2
|
|
|
|
- QT4 -> QT convesions (WOOHOO KDE4)
|
|
|
|
|
2008-04-01 16:56:10 +00:00
|
|
|
* Wed Nov 07 2007 Scott Baker <scott@perturb.org> - 0.4.0-1
|
|
|
|
- Added the requirment for QT4
|
|
|
|
|
|
|
|
* Wed Nov 07 2007 Scott Baker <scott@perturb.org> - 0.4.0-1
|
|
|
|
- Update to the latest version and drop the imlib dependency
|
2008-02-19 15:25:05 +00:00
|
|
|
|
2018-02-07 13:54:51 +00:00
|
|
|
* Thu Nov 30 2006 Scott Baker <scott@perturb.org> - 0.3.4-1
|
2006-11-30 23:49:58 +00:00
|
|
|
- Update to the latest version
|
|
|
|
|
2006-10-09 16:43:27 +00:00
|
|
|
* Mon Oct 09 2006 Scott Baker <scott@perturb.org> - 0.3.3-5
|
2006-10-02 22:54:46 +00:00
|
|
|
- Build on FC6
|
|
|
|
|
2018-02-07 13:54:51 +00:00
|
|
|
* Wed Sep 20 2006 Scott Baker <scott@perturb.org> - 0.3.3-2
|
2006-09-20 20:20:39 +00:00
|
|
|
- Bumped release to 0.3.3
|
|
|
|
|
2006-09-15 22:27:51 +00:00
|
|
|
* Sun Sep 03 2006 Scott Baker <scott@perturb.org> - 0.3.2-6
|
|
|
|
- Fixed building for SMP arches
|
|
|
|
|
2006-09-15 17:57:06 +00:00
|
|
|
* Thu Aug 31 2006 Scott Baker <scott@perturb.org> - 0.3.2-5
|
|
|
|
- Removed the BuildArch
|
|
|
|
|
|
|
|
* Mon Aug 28 2006 Scott Baker <scott@perturb.org> - 0.3.2-4
|
|
|
|
- Updated how the .desktop file is handled
|
|
|
|
- Updated the make to include SMP options
|
|
|
|
- Remove bogus "requires"
|
|
|
|
- Update the rm -rf in clean and install
|
|
|
|
|
|
|
|
* Mon Aug 28 2006 Scott Baker <scott@perturb.org> - 0.3.2-3
|
|
|
|
- Removed requirement for unrar since it's not available via Fedora
|
|
|
|
|
|
|
|
* Sun Aug 27 2006 Scott Baker <scott@perturb.org> - 0.3.2-2
|
|
|
|
- Begin packaging for Fedora Extras.
|