kuickshow-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Name: kuickshow
  2. Summary: a very fast and comfortable imageviewer for KDE
  3. Summary(ja): KDE 用の高速かつ快適な画像ビューワー
  4. Version: 0.9.1
  5. Release: 3%{?_dist_release}
  6. Group: Applications/Graphics
  7. License: GPLv2+
  8. URL: http://kuickshow.sourceforge.net/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/4.4.0/src/extragear/%{name}-%{version}-kde4.4.0.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: gettext
  13. BuildRequires: kdelibs4-devel
  14. BuildRequires: imlib-devel
  15. BuildRequires: qt4-devel
  16. BuildRequires: libXpm-devel
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. %description
  20. KuickShow is an image browser/viewer with a nice filebrowser to select
  21. images to be shown, slideshow support and the ability to display the
  22. following image formats: jpg, gif, tiff, png, bmp, psd, xpm, xbm, pbm
  23. and eim. Images can be displayed either in their own window, as large
  24. as the image, or fullscreen (which shrinks images too large to display).
  25. KuickShow also has a slideshow mode.
  26. %prep
  27. %setup -q -n %{name}-%{version}-kde4.4.0
  28. %build
  29. mkdir -p %{_target_platform}
  30. pushd %{_target_platform}
  31. %{cmake} \
  32. -DCMAKE_BUILD_TYPE=release \
  33. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  34. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  35. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  36. ..
  37. popd
  38. make %{?_smp_mflags} -C %{_target_platform}
  39. %install
  40. rm -rf $RPM_BUILD_ROOT
  41. make install/fast -C %{_target_platform} DESTDIR=$RPM_BUILD_ROOT
  42. %find_lang %{name}
  43. %check
  44. desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/kde4/kuickshow.desktop
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post
  48. touch --no-create %{_datadir}/icons/hicolor ||:
  49. %postun
  50. if [ $1 -eq 0 ] ; then
  51. gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
  52. update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||:
  53. fi
  54. %posttrans
  55. gtk-update-icon-cache -q %{_datadir}/icons/hicolor 2> /dev/null ||:
  56. update-desktop-database -q %{_datadir}/applications > /dev/null 2>&1 ||:
  57. %files -f %{name}.lang
  58. %defattr(-,root,root,755)
  59. %{_bindir}/kuickshow
  60. %{_libdir}/libkdeinit4_*.so
  61. %{_datadir}/applications/kde4/*.desktop
  62. %{_datadir}/kde4/apps/kuickshow/
  63. %{_datadir}/icons/hicolor/*/*/*
  64. %{_datadir}/doc/HTML/*/kuickshow/
  65. %changelog
  66. * Fri Jan 16 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.9.1-3
  67. - rebuilt on current VineSeed
  68. * Sun May 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 0.9.1-2
  69. - add BuildRequires: qt4-devel, libXpm-devel
  70. * Fri Jul 23 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.9.1-1
  71. - initial build for Vine Linux