kchmviewer-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Name: kchmviewer
  2. Summary: chm (MS HTML help file format) viewer
  3. Summary(ja): chm (MS HTML ヘルプファイル形式) ビューア
  4. Version: 3.1
  5. Release: 4%{?_dist_release}
  6. License: GPL
  7. Group: Applications/Accessories
  8. URL: http://www.kchmviewer.net/
  9. Source0: %{name}-%{version}-2.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: zlib-devel libjpeg-devel libpng-devel
  12. BuildRequires: qt-devel kdelibs-devel arts-devel libart_lgpl-devel
  13. BuildRequires: gamin-devel libidn-devel
  14. Patch10: kchmviewer-3.1-ppc.patch
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. kchmviewer is a chm (MS HTML help file format) viewer written in C++. Unlike
  19. most existing CHM viewers for Unix, it uses Trolltech Qt widget library, and
  20. could optionally use KDE libraries for better KDE integration. It does not
  21. require KDE, but may be compiled with full KDE support, including KDE widgets
  22. and KIO/KHTML.
  23. The main advantage of kchmviewer is the best support for non-English languages.
  24. Unlike other viewers, kchmviewer in most cases is able to correctly detect the
  25. chm file encoding and show it. It correctly shows the index and table of context
  26. in Russian, Korean, Chinese and Japanese help files, and with new search engine
  27. is able to search in any chm file no matter what language it is written.
  28. %prep
  29. %setup -q
  30. %patch10 -p1
  31. %build
  32. %configure --with-kde
  33. %__make
  34. %install
  35. %__rm -rf %{buildroot}
  36. %makeinstall
  37. %clean
  38. %__rm -rf %{buildroot}
  39. %files
  40. %defattr(-,root,root)
  41. %doc COPYING ChangeLog FAQ README
  42. %{_bindir}/*
  43. %{_libdir}/*.a
  44. %{_libdir}/kde3/*
  45. %{_datadir}/applications/*
  46. %{_datadir}/icons/*/*/*/*
  47. %{_datadir}/locale/*/*/*
  48. %{_datadir}/services/*
  49. %changelog
  50. * Tue May 26 2009 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 3.1-4
  51. - add Patch10
  52. * Wed May 13 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1-3
  53. - applied new versioning policy, spec in UTF-8
  54. * Sat Jan 19 2008 USAMI Kosuke <usami-k@yc5.so-net.ne.jp> 3.1-2vl1
  55. - Initial build.