[qcomicbook] 0.9.0

Rex Dieter rdieter at fedoraproject.org
Wed Aug 8 19:47:32 UTC 2012


commit b754c608747fb455824cd9407acb0dbc10126def
Author: Rex Dieter <rdieter at fedoraproject.org>
Date:   Wed Aug 8 14:51:18 2012 -0500

    0.9.0

 .gitignore      |    1 +
 qcomicbook.spec |   65 +++++++++++++++++++++++++++++++++---------------------
 sources         |    2 +-
 3 files changed, 42 insertions(+), 26 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 48711c6..87a9540 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /qcomicbook-0.7.2.tar.gz
+/qcomicbook-0.9.0.tar.gz
diff --git a/qcomicbook.spec b/qcomicbook.spec
index b30c049..dc8e6ea 100644
--- a/qcomicbook.spec
+++ b/qcomicbook.spec
@@ -1,33 +1,43 @@
+
 Summary: A viewer for comic book archives
-Name: qcomicbook
-Version: 0.7.2
-Release: 5%{?dist}
+Name:    qcomicbook
+Version: 0.9.0
+Release: 1%{?dist}
+
 License: GPLv2
-Group: Amusements/Graphics
-URL: http://qcomicbook.linux-projects.net/
-Source0: http://qcomicbook.linux-projects.net/releases/qcomicbook-%{version}.tar.gz
-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
+URL:     http://qcomicbook.org/
+Source0: http://qcomicbook.org/releases/qcomicbook-%{version}.tar.gz 
 
 BuildRequires: cmake
-BuildRequires: qt4-devel
-BuildRequires: libXmu-devel
-BuildRequires: libXi-devel
 BuildRequires: desktop-file-utils
+BuildRequires: pkgconfig(QtGui) 
+BuildRequires: pkgconfig(xmu) 
+BuildRequires: pkgconfig(xi) 
 
 %{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
+## runtime utilities for viewing comic book archives
+#Requires: bzip2
+#Requires: gzip
+#Requires: p7zip
+#Requires: tar
+#Requires: unzip
+## nonfree stuff
+#Requires: unace
+#Requires: unrar
 
 
 %description
-QComicBook is a viewer for comic book archives: rar, cbr,
-zip, cbz, ace, cba,tar.gz, cbg, tar.bz2, cbb. QComicBook 
-aims at convenience and simplicity. Features include: 
-automatic decompression, full-screen mode, two pages mode, 
-japanese mode, thumbnails view, page scaling and rotating, 
-page preloading and caching, mouse or keyboard navigation, 
-bookmarks etc.
+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.
 
-QComicBook requires zip/unzip, rar/unrar, tar with 
-gzip+bzip2 support and unace to handle archives.
+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.
 
 
 %prep
@@ -40,12 +50,11 @@ pushd %{_target_platform}
 %{cmake} ..
 popd
 
-%{__make} %{?_smp_mflags} -C %{_target_platform}
+make %{?_smp_mflags} -C %{_target_platform}
 
 
 %install
-%{__rm} -rf $RPM_BUILD_ROOT
-%{__make} install/fast DESTDIR="$RPM_BUILD_ROOT" -C %{_target_platform}
+make install/fast DESTDIR="$RPM_BUILD_ROOT" -C %{_target_platform}
 
 %find_lang qcomicbook --without-mo --with-qt
 
@@ -54,12 +63,15 @@ popd
 desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/*%{name}.desktop
 
 
-%clean
-%{__rm} -rf $RPM_BUILD_ROOT
+%posttrans
+update-desktop-database -q &> /dev/null ||:
 
+%postun
+if [ $1 -eq 0 ] ; then
+update-desktop-database -q &> /dev/null ||:
+fi
 
 %files -f qcomicbook.lang
-%defattr(-,root,root,-)
 %doc AUTHORS README ChangeLog COPYING THANKS TODO
 %{_bindir}/qcomicbook
 %{_mandir}/man1/qcomicbook.1*
@@ -70,6 +82,9 @@ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/*%{name}.desktop
 
 
 %changelog
+* Wed Aug 08 2012 Rex Dieter <rdieter at fedoraproject.org> 0.9.0-1
+- 0.9.0
+
 * Sat Jul 21 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 0.7.2-5
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
 
diff --git a/sources b/sources
index 2f92eaf..eb2011c 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-179b66b1a56b6ef393b78b001a1019e6  qcomicbook-0.7.2.tar.gz
+b209bfb081afd4c06eedb6bb08f957f0  qcomicbook-0.9.0.tar.gz


More information about the scm-commits mailing list