d781da2a2c
qcomicbook-0.3.2-5.src.rpm
81 lines
2.3 KiB
RPMSpec
81 lines
2.3 KiB
RPMSpec
Summary: A viewer for comic book archives
|
|
Name: qcomicbook
|
|
Version: 0.3.2
|
|
Release: 5%{?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}
|
|
%{?_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
|
|
* 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.
|