xfce4-screenshooter-vl.spec 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. Name: xfce4-screenshooter
  2. Summary: Screen capture tool for Xfce
  3. Summary(ja): Xfce のスクリーンキャプチャツール
  4. Version: 1.8.2
  5. Release: 1%{?_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: libxml2-devel >= 2.4.0
  19. BuildRequires: libXext-devel >= 1.0.0
  20. BuildRequires: libXfixes-devel >= 4.0.0
  21. BuildRequires: libSM-devel
  22. Requires(post,postun): desktop-file-utils
  23. Vendor: Project Vine
  24. Distribution: Vine Linux
  25. Packager: Takemikaduchi
  26. %description
  27. 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.
  28. A plugin for the Xfce panel is also available.
  29. %prep
  30. %setup -q
  31. %build
  32. %configure --disable-static
  33. make %{?_smp_mflags}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install DESTDIR=$RPM_BUILD_ROOT
  37. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  38. desktop-file-install \
  39. --add-category="X-XFCE" \
  40. --delete-original \
  41. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  42. ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-screenshooter.desktop
  43. %find_lang %{name}
  44. %clean
  45. rm -rf $RPM_BUILD_ROOT
  46. %post
  47. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  48. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  49. update-desktop-database %{_datadir}/applications &> /dev/null || :
  50. %postun
  51. if [ $1 -eq 0 ]; then
  52. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  54. fi
  55. update-desktop-database %{_datadir}/applications &> /dev/null || :
  56. %files -f %{name}.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS ChangeLog NEWS TODO COPYING
  59. %{_bindir}/xfce4-screenshooter
  60. %{_libdir}/xfce4/panel/plugins/libscreenshooterplugin.so*
  61. %{_datadir}/appdata/xfce4-screenshooter.appdata.xml
  62. %{_datadir}/applications/%{name}.desktop
  63. %{_datadir}/icons/hicolor/*/apps/*
  64. %{_datadir}/xfce4/panel/plugins/screenshooter.desktop
  65. %{_mandir}/man1/xfce4-screenshooter.1.gz
  66. %changelog
  67. * Sat Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.8.2-1
  68. - new upstream release
  69. - built with libxfce4util 4.12.1
  70. - added BR: libxml2-devel
  71. * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-2
  72. - rebuild with VineSeed environment
  73. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.8.1-1
  74. - initial build for Vine Linux