diff --git a/.cvsignore b/.cvsignore index af93678..af63bf8 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -kchmviewer-4.0beta3.tar.gz +kchmviewer-4.0.tar.gz diff --git a/kchmviewer.spec b/kchmviewer.spec index d421799..0520e0b 100644 --- a/kchmviewer.spec +++ b/kchmviewer.spec @@ -1,16 +1,13 @@ Name: kchmviewer Version: 4.0 -Release: 0.3.beta3%{?dist} +Release: 1%{?dist} Summary: CHM viewer with Qt support Group: Applications/Publishing License: GPLv2+ URL: http://www.kchmviewer.net/ -Source0: http://www.kchmviewer.net/files/kchmviewer-%{version}beta3.tar.gz -#Source0: http://downloads.sourceforge.net/kchmviewer/kchmviewer-%{version}beta3.tar.gz -# fix the desktop file -Patch0: kchmviewer-4.0-desktop_fix.patch -Patch1: kchmviewer-4.0-plugin_install.patch +#Source0: http://www.kchmviewer.net/files/kchmviewer-%{version}.tar.gz +Source0: http://downloads.sourceforge.net/kchmviewer/kchmviewer-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: qt4-devel chmlib-devel @@ -29,13 +26,14 @@ It uses the Qt widget library. %prep -%setup -q -n kchmviewer-%{version}beta3 -%patch0 -p1 -b .desktop_fix -%patch1 -p1 -b .plugin_install +%setup -q -n kchmviewer-%{version} -iconv -f latin1 -t utf8 < FAQ > FAQ.utf8 -touch -r FAQ FAQ.utf8 -mv FAQ.utf8 FAQ +# don't know what the encoding is. The strange character sequence is +# , which could be in utf8 U-0000FFFD, a boundary condition +# http://www.w3.org/2001/06/utf-8-wrong/UTF-8-test.html +#iconv -f latin1 -t utf8 < FAQ > FAQ.utf8 +#touch -r FAQ FAQ.utf8 +#mv FAQ.utf8 FAQ chmod -x lib/kio-msits/msits.* @@ -53,6 +51,7 @@ rm -rf $RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir} install -m0755 bin/kchmviewer $RPM_BUILD_ROOT%{_bindir} + # not installed in the default case in hicolor, only in crystalsvg. for r in 48 64 128; do mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${r}x${r}/apps/ @@ -104,8 +103,11 @@ touch --no-create %{_datadir}/icons/hicolor || : %changelog -* Sun Nov 16 2008 Patrice Dumas 4.0-0.3.beta3 -- update to 4.0beta3, should fix #458573 +* Thu Dec 4 2008 Patrice Dumas 4.0-1 +- update to 4.0 + +* Wed Aug 13 2008 Patrice Dumas 4.0-0.4.beta3 +- update to 4.0beta3 * Thu Feb 14 2008 Patrice Dumas 4.0-0.2.beta2 - update to 4.0beta2 diff --git a/sources b/sources index f46cb21..2b8a743 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -06c94380a5380a613b808b9e05a401f7 kchmviewer-4.0beta3.tar.gz +5e6b853b00f17f69a3368ce78355aba9 kchmviewer-4.0.tar.gz