From 11afbffe4adc8607d85d45964337051f5a10a995 Mon Sep 17 00:00:00 2001 From: cheeselee Date: Apr 28 2010 07:02:45 +0000 Subject: - update to 5.2 --- diff --git a/.cvsignore b/.cvsignore index 8bb9980..f48b26e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -1 +1 @@ -kchmviewer-5.1.tar.gz +kchmviewer-5.2.tar.gz diff --git a/kchmviewer-5.2-missed-src.patch b/kchmviewer-5.2-missed-src.patch new file mode 100644 index 0000000..e999ead --- /dev/null +++ b/kchmviewer-5.2-missed-src.patch @@ -0,0 +1,19 @@ +--- build-5.2/src/CMakeLists.txt 2009-12-15 14:27:57.000000000 +0800 ++++ build-5.2.new/src/CMakeLists.txt 2010-04-28 14:37:16.004826978 +0800 +@@ -19,6 +19,8 @@ + tab_index.cpp + tab_search.cpp + treeviewitem.cpp ++ toolbarmanager.cpp ++ toolbareditor.cpp + viewwindow.cpp + viewwindowmgr.cpp + viewwindow_qtextbrowser.cpp +@@ -36,6 +38,7 @@ + tab_contents.ui + tab_index.ui + tab_search.ui ++ toolbareditor.ui + window_browser.ui + ) + diff --git a/kchmviewer.spec b/kchmviewer.spec index 65b6ecc..24cd751 100644 --- a/kchmviewer.spec +++ b/kchmviewer.spec @@ -1,6 +1,6 @@ Name: kchmviewer -Version: 5.1 +Version: 5.2 Release: 1%{?dist} Summary: CHM viewer @@ -11,6 +11,9 @@ Source0: http://downloads.sourceforge.net/kchmviewer/kchmviewer-%{version Patch1: kchmviewer-5.1-no_msits.patch +# add missed source files to src/CMakeLists.txt +Patch2: kchmviewer-5.2-missed-src.patch + BuildRequires: chmlib-devel BuildRequires: desktop-file-utils BuildRequires: gettext @@ -26,16 +29,10 @@ KchmViewer is a chm (MS HTML help file format) viewer. %setup -q -n build-%{version} %patch1 -p1 -b .no_msits +%patch2 -p1 -b .missed_src chmod -x lib/kio-msits/msits.* -# 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 - %build mkdir -p %{_target_platform} @@ -86,6 +83,9 @@ fi %changelog +* Wed Apr 28 2010 Robin Lee - 5.2-1 +- update to 5.2 + * Sat Apr 17 2010 LI Rui Bin - 5.1-1 - correct License tag - remove BuildRoot tag diff --git a/sources b/sources index c1a3be8..364d53a 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -9b68c3e233fe3d8e16251ba95526a493 kchmviewer-5.1.tar.gz +e90f58d58a27a938030e4600dc575ef7 kchmviewer-5.2.tar.gz