xfburn-vl.spec 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. Name: xfburn
  2. Summary: An easy to use CD/DVD burning program
  3. Summary(ja): 簡単に使える CD/DVD 焼き込みプログラム
  4. Version: 0.4.3
  5. Release: 1%{?_dist_release}
  6. License: GPLv2+
  7. Group: Applications/Multimedia
  8. URL: http://goodies.xfce.org/projects/applications/%{name}
  9. Source0: http://archive.xfce.org/src/apps/%{name}/0.4/%{name}-%{version}.tar.bz2
  10. Source1: xfburn-autogen.sh
  11. Source2: xfburn-icons.tar.xz
  12. Patch0: xfburn-0.4.3-git20120604.patch
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: libburn-devel >= 0.4.2
  16. BuildRequires: libisofs-devel >= 0.6.2
  17. BuildRequires: libxfcegui4-devel >= 4.4.0
  18. BuildRequires: gtk2-devel >= 2.10.0
  19. BuildRequires: libexo-devel >= 0.3.4
  20. BuildRequires: thunar-vfs-devel >= 0.3.0
  21. BuildRequires: dbus-glib-devel >= 0.34
  22. BuildRequires: gstreamer-plugins-base-devel
  23. BuildRequires: xfce4-dev-tools
  24. Requires(post,postun): desktop-file-utils
  25. Vendor: Project Vine
  26. Distribution: Vine Linux
  27. Packager: Takemikaduchi
  28. %description
  29. 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.
  30. A plugin for the Xfce panel is also available.
  31. %prep
  32. %setup -q
  33. %patch0 -p1 -b .git
  34. %build
  35. cp %{SOURCE1} autogen.sh
  36. tar xJf %{SOURCE2}
  37. mv configure.in configure.in.in
  38. NOCONFIGURE=1 ./autogen.sh
  39. %configure --disable-static
  40. make %{?_smp_mflags}
  41. %install
  42. rm -rf $RPM_BUILD_ROOT
  43. make install DESTDIR=$RPM_BUILD_ROOT
  44. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  45. %find_lang %{name}
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post
  49. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  50. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  51. update-desktop-database %{_datadir}/applications &> /dev/null || :
  52. %postun
  53. if [ $1 -eq 0 ]; then
  54. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  56. fi
  57. update-desktop-database %{_datadir}/applications &> /dev/null || :
  58. %files -f %{name}.lang
  59. %defattr(-,root,root,-)
  60. %doc AUTHORS ChangeLog NEWS TODO COPYING
  61. %{_bindir}/%{name}
  62. %{_datadir}/Thunar/sendto/thunar-sendto-xfburn.desktop
  63. %{_datadir}/applications/%{name}.desktop
  64. %{_datadir}/icons/hicolor/*/*/*
  65. %{_datadir}/%{name}
  66. %{_mandir}/man1/xfburn.1.gz
  67. %changelog
  68. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
  69. - initial build for Vine Linux