xfburn-vl.spec 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. Name: xfburn
  2. Version: 0.5.2
  3. Release: 1%{?_dist_release}
  4. Summary: An easy to use CD/DVD burning program
  5. Summary(ja): 簡単に使える CD/DVD 焼き込みプログラム
  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.5/%{name}-%{version}.tar.bz2
  10. Source1: xfburn-autogen.sh
  11. Source2: xfburn-icons.tar.xz
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: dbus-glib-devel >= 0.34
  14. BuildRequires: desktop-file-utils
  15. BuildRequires: eudev-libgudev1-devel
  16. BuildRequires: gstreamer-plugins-base-devel
  17. BuildRequires: gtk2-devel >= 2.10.0
  18. BuildRequires: libburn-devel >= 0.4.2
  19. BuildRequires: libexo-devel >= 0.3.4
  20. BuildRequires: libisofs-devel >= 0.6.2
  21. BuildRequires: libxfce4ui-devel >= 4.8.0
  22. #BuildRequires: thunar-vfs-devel >= 0.3.0
  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. %build
  34. #cp %{SOURCE1} autogen.sh
  35. #tar xJf %{SOURCE2}
  36. #mv configure.in configure.in.in
  37. #NOCONFIGURE=1 ./autogen.sh
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make install DESTDIR=$RPM_BUILD_ROOT
  43. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  44. %find_lang %{name}
  45. %clean
  46. rm -rf $RPM_BUILD_ROOT
  47. %post
  48. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  49. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  50. update-desktop-database %{_datadir}/applications &> /dev/null || :
  51. %postun
  52. if [ $1 -eq 0 ]; then
  53. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  54. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  55. fi
  56. update-desktop-database %{_datadir}/applications &> /dev/null || :
  57. %files -f %{name}.lang
  58. %defattr(-,root,root,-)
  59. %doc AUTHORS ChangeLog NEWS TODO COPYING
  60. %{_bindir}/%{name}
  61. %{_datadir}/Thunar/sendto/thunar-sendto-xfburn.desktop
  62. %{_datadir}/applications/%{name}.desktop
  63. %{_datadir}/icons/hicolor/*/*/*
  64. %{_datadir}/%{name}
  65. %{_mandir}/man1/xfburn.1.gz
  66. %changelog
  67. * Sun Mar 1 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 0.5.2-1
  68. - updated to 0.5.2
  69. - dropt Patch0
  70. - added BR: udev-libgudev1-devel
  71. - added BR: libxfce4ui-devel instead of libxfcegui4-devel
  72. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.4.3-1
  73. - initial build for Vine Linux