rpms/kchmviewer/devel kchmviewer-desktop.diff, NONE, 1.1 kchmviewer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Mon May 1 08:35:31 UTC 2006


Author: pertusus

Update of /cvs/extras/rpms/kchmviewer/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22608/devel

Modified Files:
	.cvsignore sources 
Added Files:
	kchmviewer-desktop.diff kchmviewer.spec 
Log Message:
auto-import kchmviewer-2.0-3 on branch devel from kchmviewer-2.0-3.src.rpm

kchmviewer-desktop.diff:

--- NEW FILE kchmviewer-desktop.diff ---
--- kio-msits/kchmviewer.desktop-orig	2006-03-13 23:08:01.000000000 +0100
+++ kio-msits/kchmviewer.desktop	2006-03-13 23:09:16.000000000 +0100
@@ -1,11 +1,11 @@
 [Desktop Entry]
 Categories=Qt;KDE;Utility;
 Encoding=UTF-8
+GenericName=CHM file viewer
 Type=Application
 Exec=kchmviewer %U
 Icon=kchmviewer.png
-Comment=
-Terminal=0
+Terminal=false
 Name=KchmViewer
 Comment=A viewer of CHM (MS-Help) files
 MimeType=application/chm


--- NEW FILE kchmviewer.spec ---
Name:           kchmviewer
Version:        2.0
Release:        3%{?dist}
Summary:        CHM viewer

Group: 		Applications/Publishing
License:        GPL
URL:            http://www.kchmviewer.net/
Source0:        http://dl.sf.net/kchmviewer/kchmviewer-%{version}.tar.gz
# fix the desktop file
Patch0:         kchmviewer-desktop.diff
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  qt-devel chmlib-devel 
BuildRequires:  desktop-file-utils kdelibs-devel
Requires(post): desktop-file-utils
Requires(postun): desktop-file-utils

%description
KchmViewer is a chm (MS HTML help file format) viewer, written in C++. 
The main advantage of KchmViewer is extended support for non-English 
languages. Unlike others, KchmViewer in most cases correctly detects chm 
file encoding, correctly shows tables of context of Russian, Korean, 
Chinese and Japanese help files, and correctly searches in non-English 
help files (search for MBCS languages - ja/ko/ch is still in progress). 

- Completely safe and harmless. Does not support JavaScript in any way, 
  optionally warns you before opening an external web page, or switching 
  to another help file. 
- Shows an appropriate image for every TOC entry. 
- Has complete chm index support, including multiple index entries, 
  cross-links and parent/child entries in index. 
- Persistent bookmarks support. Allows to store bookmarks even if 
  "Favorites" window was not enabled for this chm file. Also stores the 
  screen position for every bookmark. You can also edit/delete bookmarks. 
- For any opened chm file, stores the last opened window, search history, 
  bookmark history, font size and so on, so when you open this file again, 
  everything is always on the place. 
- Has easy and powerful search-in-page support. 
- Allows to increase or decrease the font size, so physically handicapped 
  people can read texts easily. 
- Has standard Back/Forward/Home navigation. 
- Can print the opened pages on a standard printer (usually via CUPS). 
- Has complex search query support. You can use search queries like "lazy 
  people" + learn -not.


%prep
%setup -q
%patch
chmod -x kio-msits/msits.*


%build
%configure --disable-static --with-kde --disable-rpath
make %{?_smp_mflags}

%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
install -d -m755 ${RPM_BUILD_ROOT}%{_datadir}/pixmaps
install -m644 src/pics/cr48-app-kchmviewer.png ${RPM_BUILD_ROOT}%{_datadir}/pixmaps/kchmviewer.png

desktop-file-install --vendor fedora                            \
        --dir ${RPM_BUILD_ROOT}%{_datadir}/applications         \
        --add-category X-Fedora                                 \
        kio-msits/kchmviewer.desktop


%clean
rm -rf $RPM_BUILD_ROOT

%post
update-desktop-database &> /dev/null ||:

%postun
update-desktop-database &> /dev/null ||:

%files
%defattr(-,root,root,-)
%doc README COPYING ChangeLog
%{_bindir}/kchmviewer
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_libdir}/kde3/kio_msits.so
%{_libdir}/kde3/kio_msits.la
%{_datadir}/applnk/kchmviewer.desktop
%{_datadir}/services/msits.protocol

%changelog
* Mon Mar 13 2006 Patrice Dumas <pertusus at free.fr> 2.0-3
- use update-desktop-database

* Mon Mar 13 2006 Patrice Dumas <pertusus at free.fr> 2.0-2
- enable kde support

* Sun Mar 12 2006 Patrice Dumas <pertusus at free.fr> 2.0-1
- Fedora Extras submission


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/kchmviewer/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 May 2006 08:34:48 -0000	1.1
+++ .cvsignore	1 May 2006 08:35:31 -0000	1.2
@@ -0,0 +1 @@
+kchmviewer-2.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/kchmviewer/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 May 2006 08:34:48 -0000	1.1
+++ sources	1 May 2006 08:35:31 -0000	1.2
@@ -0,0 +1 @@
+94203642266aaecffdcc6c6d516f7635  kchmviewer-2.0.tar.gz




More information about the fedora-extras-commits mailing list