comix-vl.spec 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Summary: Image viewer specillay designed for comic book
  2. Summary(ja): 漫画向けにデザインされたイメージビューワ
  3. Name: comix
  4. Version: 4.0.4
  5. Release: 3%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.gz
  7. License: GPL
  8. Group: Applications/Graphics
  9. URL: http://comix.sourceforge.net
  10. Requires: pygtk2 >= 2.12, python-imaging >= 1.1.5, libjpeg
  11. BuildRequires: python
  12. BuildRequires: pygtk2-devel, python-imaging
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Packager: kazutaka, kudoh
  15. %description
  16. Comix is a user-friendly, customizable image viewer. It is specifically
  17. designed to handle comic books, but also serves as a generic viewer.
  18. It reads images in ZIP, RAR or tar archives (also gzip or bzip2 compressed)
  19. as well as plain image files.
  20. %description -l ja
  21. Comix はユーザーフレンドリでカスタマイズ可能なイメージビューワです。
  22. このビューワは漫画を読むのに特化してデザインされていますが、一般的な画像
  23. ビューワとしても利用できます。
  24. 通常のイメージファイルと同様に、ZIP、RAR または tar (gzip 及び bzip2 で圧縮
  25. されたものも含む) アーカイブ中のイメージも読み込めます。
  26. %prep
  27. %setup -q
  28. %install
  29. %{__rm} -rf ${RPM_BUILD_ROOT}
  30. %{__mkdir} -p ${RPM_BUILD_ROOT}/%{_prefix}
  31. %{__python} install.py install --no-mime --dir ${RPM_BUILD_ROOT}/%{_prefix}
  32. %find_lang %{name}
  33. %clean
  34. %{__rm} -rf ${RPM_BUILD_ROOT}
  35. %post
  36. touch --no-create %{_datadir}/icons/hicolor || :
  37. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  38. update-desktop-database > /dev/null 2>&1 || :
  39. %postun
  40. touch --no-create %{_datadir}/icons/hicolor || :
  41. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
  42. update-desktop-database > /dev/null 2>&1 || :
  43. %files -f %{name}.lang
  44. %defattr(-,root,root)
  45. %doc
  46. %{_bindir}/comix
  47. %{_datadir}/applications/comix.desktop
  48. %{_datadir}/comix
  49. %{_datadir}/icons/hicolor/16x16/apps/comix.png
  50. %{_datadir}/icons/hicolor/22x22/apps/comix.png
  51. %{_datadir}/icons/hicolor/24x24/apps/comix.png
  52. %{_datadir}/icons/hicolor/32x32/apps/comix.png
  53. %{_datadir}/icons/hicolor/48x48/apps/comix.png
  54. %{_datadir}/icons/hicolor/scalable/apps/comix.svg
  55. %{_mandir}/man1/comix.1.gz
  56. %changelog
  57. * Sun Jan 25 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.0.4-3
  58. - rebuild with VineSeed environmenet
  59. * Sun Mar 07 2010 Kazutaka HARADA <kazutaka@vinelinux.org> 4.0.4-2
  60. - add BuildRequires: pygtk2-devel, python-imaging (<BTS:VineLinux:896>)
  61. - add Packager tag
  62. * Mon Oct 12 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> 4.0.4-1
  63. - new upstream release
  64. - added %post, %postun (run update-desktop-database and gtk-update-icon-cache)
  65. * Sun Mar 22 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 4.0.3-1
  66. - new upstream release
  67. - change configure option (from --installdir to --dir)
  68. - update %%files list
  69. - applied new versioning policy
  70. - update Requires: pygtk2 2.8.0 -> 2.12, python-imaging 1.1.4 -> 1.1.5
  71. * Sat Nov 24 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 3.6.4-0vl1
  72. - initial build for Vine Linux