This commit is contained in:
Rex Dieter 2012-08-08 14:51:18 -05:00
parent bebebb7d9d
commit b754c60874
3 changed files with 42 additions and 26 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
/qcomicbook-0.7.2.tar.gz
/qcomicbook-0.9.0.tar.gz

View File

@ -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@fedoraproject.org> 0.9.0-1
- 0.9.0
* 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

View File

@ -1 +1 @@
179b66b1a56b6ef393b78b001a1019e6 qcomicbook-0.7.2.tar.gz
b209bfb081afd4c06eedb6bb08f957f0 qcomicbook-0.9.0.tar.gz