- 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+)
This commit is contained in:
Rex Dieter 2010-02-08 15:46:31 +00:00
parent 28b71c64a3
commit 68b3532549
3 changed files with 30 additions and 21 deletions

View File

@ -1 +1 @@
qcomicbook-0.4.0.tar.gz qcomicbook-0.5.0.tar.gz

View File

@ -1,20 +1,19 @@
Summary: A viewer for comic book archives Summary: A viewer for comic book archives
Name: qcomicbook Name: qcomicbook
Version: 0.4.0 Version: 0.5.0
Release: 5%{?dist} Release: 1%{?dist}
License: GPLv2 License: GPLv2
Group: Amusements/Graphics Group: Amusements/Graphics
URL: http://linux.bydg.org/~yogin URL: http://qcomicbook.linux-projects.net/
Source: http://cloud.github.com/downloads/stolowski/QComicBook/qcomicbook-%{version}.tar.gz
Source: http://linux.bydg.org/~yogin/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root%(%{__id_u} -n)
BuildRequires: qt-devel
#BuildRequires: imlib2-devel BuildRequires: cmake
BuildRequires: qt4-devel
BuildRequires: libXmu-devel BuildRequires: libXmu-devel
BuildRequires: libXi-devel BuildRequires: libXi-devel
BuildRequires: desktop-file-utils BuildRequires: desktop-file-utils
Requires: qt
%description %description
QComicBook is a viewer for comic book archives: rar, cbr, QComicBook is a viewer for comic book archives: rar, cbr,
@ -32,20 +31,24 @@ gzip+bzip2 support and unace to handle archives.
%setup -q %setup -q
%build %build
%{configure}
# out-of-source-tree build fails
%{cmake} .
%{__make} %{?_smp_mflags} %{__make} %{?_smp_mflags}
%install %install
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
%{__make} install DESTDIR="$RPM_BUILD_ROOT" %{__make} install/fast DESTDIR="$RPM_BUILD_ROOT"
mkdir -p "$RPM_BUILD_ROOT"%{_datadir}/{applications,pixmaps} %if 0%{?fedora} && 0%{?fedora} < 13
#cp -a fedora/%{name}.desktop "$RPM_BUILD_ROOT"%{_datadir}/applications desktop-file-install --vendor=fedora --delete-original \
cp -a fedora/%{name}.png "$RPM_BUILD_ROOT"%{_datadir}/pixmaps --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
%endif
desktop-file-install --vendor fedora \ %check
--dir ${RPM_BUILD_ROOT}%{_datadir}/applications \ desktop-file-validate ${RPM_BUILD_ROOT}%{_datadir}/applications/*%{name}.desktop
fedora/%{name}.desktop
%clean %clean
%{__rm} -rf $RPM_BUILD_ROOT %{__rm} -rf $RPM_BUILD_ROOT
@ -53,14 +56,20 @@ desktop-file-install --vendor fedora \
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc AUTHORS README ChangeLog COPYING THANKS TODO %doc AUTHORS README ChangeLog COPYING THANKS TODO
%docdir %{_datadir}/%{name}/help
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/* %{_mandir}/man1/*
%{_datadir}/applications/*%{name}.desktop %{_datadir}/applications/*%{name}.desktop
%{_datadir}/pixmaps/%{name}* %{_datadir}/pixmaps/%{name}*
%changelog %changelog
* 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 * 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 - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

View File

@ -1 +1 @@
a0ef74e5478d66e3538a362ec691999d qcomicbook-0.4.0.tar.gz 485646a63e4ba3ff79535cc3fced328d qcomicbook-0.5.0.tar.gz