qcomicbook/qcomicbook.spec

140 lines
4.2 KiB
RPMSpec
Raw Normal View History

Summary: A viewer for comic book archives
Name: qcomicbook
2011-01-31 16:50:38 +00:00
Version: 0.7.2
Release: 5%{?dist}
2008-09-03 19:23:22 +00:00
License: GPLv2
Group: Amusements/Graphics
URL: http://qcomicbook.linux-projects.net/
2011-01-31 16:50:38 +00:00
Source0: http://qcomicbook.linux-projects.net/releases/qcomicbook-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildRequires: cmake
BuildRequires: qt4-devel
BuildRequires: libXmu-devel
BuildRequires: libXi-devel
BuildRequires: desktop-file-utils
2011-01-31 16:50:38 +00:00
%{?_qt4_version:Requires: qt4%{?_isa} >= %{_qt4_version}}
%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 requires zip/unzip, rar/unrar, tar with
gzip+bzip2 support and unace to handle archives.
2011-01-31 16:50:38 +00:00
%prep
%setup -q
2011-01-31 16:50:38 +00:00
%build
2011-01-31 16:50:38 +00:00
mkdir -p %{_target_platform}
pushd %{_target_platform}
%{cmake} ..
popd
2011-01-31 16:50:38 +00:00
%{__make} %{?_smp_mflags} -C %{_target_platform}
%install
%{__rm} -rf $RPM_BUILD_ROOT
2011-01-31 16:50:38 +00:00
%{__make} install/fast DESTDIR="$RPM_BUILD_ROOT" -C %{_target_platform}
%find_lang qcomicbook --without-mo --with-qt
%check
desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/*%{name}.desktop
2011-01-31 16:50:38 +00:00
%clean
%{__rm} -rf $RPM_BUILD_ROOT
2011-01-31 16:50:38 +00:00
%files -f qcomicbook.lang
%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog COPYING THANKS TODO
2011-01-31 16:50:38 +00:00
%{_bindir}/qcomicbook
%{_mandir}/man1/qcomicbook.1*
%{_datadir}/applications/qcomicbook.desktop
%{_datadir}/pixmaps/qcomicbook.png
%dir %{_datadir}/qcomicbook/
%dir %{_datadir}/qcomicbook/i18n/
%changelog
* 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
* 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
* 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)
* 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+)
* 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
* 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
2006-11-30 23:49:58 +00:00
* Thu Nov 11 2006 Scott Baker <scott@perturb.org> - 0.3.4-1
- 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
2006-10-02 22:49:15 +00:00
* Tue 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
* 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.