qcomicbook/qcomicbook.spec

87 lines
2.4 KiB
RPMSpec
Raw Normal View History

Summary: A viewer for comic book archives
Name: qcomicbook
2006-09-20 20:20:39 +00:00
Version: 0.3.3
2006-09-20 20:26:56 +00:00
Release: 1%{?dist}
License: GPL
Group: Amusements/Graphics
URL: http://linux.bydg.org/~yogin
Source: http://linux.bydg.org/~yogin/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
#BuildArch: i686
BuildRequires: qt-devel >= 3.3.1
BuildRequires: imlib2-devel
BuildRequires: libXmu-devel
BuildRequires: libXi-devel
BuildRequires: desktop-file-utils
#Requires: qt >= 3.3.1
#Requires: imlib2
%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.
%prep
%setup -q
%build
%{configure}
2006-09-15 22:27:51 +00:00
%{__make} %{?_smp_mflags}
%install
%{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR="$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"%{_datadir}/{applications,pixmaps}
#cp -a fedora/%{name}.desktop "$RPM_BUILD_ROOT"%{_datadir}/applications
cp -a fedora/%{name}.png "$RPM_BUILD_ROOT"%{_datadir}/pixmaps
desktop-file-install --vendor fedora \
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
fedora/%{name}.desktop
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc AUTHORS README ChangeLog COPYING THANKS TODO
%docdir %{_datadir}/%{name}/help
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/*
%{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}*
%changelog
2006-09-20 20:26:56 +00:00
* Tue Sep 20 2006 Scott Baker <scott@perturb.org> - 0.3.3-1
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.