xfce4-screenshooter-vl.spec 2.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. Name: xfce4-screenshooter
  2. Summary: Screen capture tool for Xfce
  3. Summary(ja): Xfce のスクリーンキャプチャツール
  4. Version: 1.8.1
  5. Release: 2%{?_dist_release}
  6. License: GPLv2+
  7. Group: User Interface/Desktops
  8. URL: http://goodies.xfce.org/projects/applications/%{name}
  9. Source0: http://archive.xfce.org/src/apps/%{name}/1.8/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: desktop-file-utils
  12. BuildRequires: libxfce4util-devel >= 4.4.0
  13. BuildRequires: libxfce4ui-devel >= 4.7.0
  14. BuildRequires: xfce4-panel-devel >= 4.4.0
  15. BuildRequires: gtk2-devel >= 2.16.0
  16. BuildRequires: libsoup-devel >= 2.26.0
  17. BuildRequires: libexo-devel >= 0.5.0
  18. BuildRequires: libXext-devel >= 1.0.0
  19. BuildRequires: libXfixes-devel >= 4.0.0
  20. BuildRequires: libSM-devel
  21. Requires(post,postun): desktop-file-utils
  22. Vendor: Project Vine
  23. Distribution: Vine Linux
  24. Packager: Takemikaduchi
  25. %description
  26. This application allows you to capture the entire screen, the active window or a selected region. You can set the delay that elapses before the screenshot is taken and the action that will be done with the screenshot: save it to a PNG file, copy it to the clipboard, open it using another application, or host it on ZimageZ, a free online image hosting service.
  27. A plugin for the Xfce panel is also available.
  28. %prep
  29. %setup -q
  30. %build
  31. %configure --disable-static
  32. make %{?_smp_mflags}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install DESTDIR=$RPM_BUILD_ROOT
  36. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  37. desktop-file-install \
  38. --add-category="X-XFCE" \
  39. --delete-original \
  40. --dir=%{buildroot}%{_datadir}/applications \
  41. ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-screenshooter.desktop
  42. %find_lang %{name}
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post
  46. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  47. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  48. update-desktop-database %{_datadir}/applications &> /dev/null || :
  49. %postun
  50. if [ $1 -eq 0 ]; then
  51. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  52. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  53. fi
  54. update-desktop-database %{_datadir}/applications &> /dev/null || :
  55. %files -f %{name}.lang
  56. %defattr(-,root,root,-)
  57. %doc AUTHORS ChangeLog NEWS TODO COPYING
  58. %{_bindir}/xfce4-screenshooter
  59. %{_libdir}/xfce4/panel/plugins/libscreenshooterplugin.so*
  60. %{_datadir}/applications/%{name}.desktop
  61. %{_datadir}/icons/hicolor/*/apps/*
  62. %{_datadir}/xfce4/doc/ast
  63. %{_datadir}/xfce4/panel/plugins/screenshooter.desktop
  64. %{_docdir}/%{name}
  65. %{_mandir}/man1/xfce4-screenshooter.1.gz
  66. %changelog
  67. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-2
  68. - rebuild with VineSeed environment
  69. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1
  70. - initial build for Vine Linux