qcomicbook-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. Summary: qt viewer for comic book archives
  2. Summary(ja): 漫画本アーカイブ用 qt ビューア
  3. Name: qcomicbook
  4. Version: 0.8.2
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Graphics
  8. URL: http://qcomicbook.linux-projects.net/
  9. Source0: http://qcomicbook.linux-projects.net/releases/qcomicbook-%{version}.tar.gz
  10. Patch0: qcomicbook_desktop.patch
  11. BuildRequires: cmake >= 2.6.0
  12. BuildRequires: desktop-file-utils
  13. BuildRequires: libXi-devel
  14. BuildRequires: libXmu-devel
  15. BuildRequires: poppler-qt4-devel >= 0.12.4
  16. BuildRequires: qt4-devel >= 4.5.0
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. %description
  19. QComicBook is a viewer for comic book archives: rar, cbr,
  20. zip, cbz, ace, cba,tar.gz, cbg, tar.bz2, cbb. QComicBook
  21. aims at convenience and simplicity. Features include:
  22. automatic decompression, full-screen mode, two pages mode,
  23. japanese mode, thumbnails view, page scaling and rotating,
  24. page preloading and caching, mouse or keyboard navigation,
  25. bookmarks etc.
  26. QComicBook requires zip/unzip, rar/unrar, tar with
  27. gzip+bzip2 support and unace to handle archives.
  28. %description -l ja
  29. QComicBook は 漫画本アーカイブ (rar, cbr,zip, cbz, ace, cba,
  30. tar.gz, cbg, tar.bz2, cbb) 向けのビューアです。
  31. QComicBook は利便性と簡便性を目指しています。
  32. 自動展開、全画面モード、見開きモード、サムネイルビュー、
  33. ページのスケーリングと回転、ページの先読みとキャッシング、
  34. マウスかキーボードによる操作、ブックマーク等の機能を含みます。
  35. QComicBook はアーカイブの展開に zip/unzip、rar/unrar、
  36. gzip+bzip2 を使用した tar の支援と unace を必要とします。
  37. %prep
  38. %setup -q
  39. %patch0 -p1
  40. %build
  41. export QTDIR=/usr/lib/qt4
  42. cmake . -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
  43. %{__make} %{?_smp_mflags}
  44. %install
  45. %{__rm} -rf ${RPM_BUILD_ROOT}
  46. %__make DESTDIR=%{buildroot} install
  47. desktop-file-install --vendor="" --delete-original \
  48. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  49. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  50. %clean
  51. %{__rm} -rf ${RPM_BUILD_ROOT}
  52. %post
  53. update-desktop-database > /dev/null 2>&1 || :
  54. %postun
  55. update-desktop-database > /dev/null 2>&1 || :
  56. %files
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS COPYING ChangeLog NEWS README THANKS
  59. %{_bindir}/%{name}
  60. %{_datadir}/applications/%{name}.desktop
  61. %{_datadir}/%{name}/i18n/
  62. %{_datadir}/pixmaps/
  63. %{_mandir}/man?/%{name}.1.gz
  64. %changelog
  65. * Sun Nov 06 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.2-1
  66. - new upstream release
  67. * Fri Aug 19 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> 0.8.1-1
  68. - initial build for Vine Linux