caja-dropbox-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. Summary: Dropbox extension for Caja
  2. Summary(ja): Caja 用 Dropbox 拡張モジュール
  3. Name: caja-dropbox
  4. Version: 1.14.0
  5. Release: 1%{?_dist_release}
  6. Source0: http://pub.mate-desktop.org/releases/1.14/%{name}-%{version}.tar.xz
  7. License: GPLv2
  8. Group: User Interface/Desktops
  9. URL: http://mate-desktop.org/
  10. BuildRequires: glib2-devel
  11. BuildRequires: caja-devel
  12. BuildRequires: pygtk2
  13. BuildRequires: pygobject
  14. BuildRequires: python-docutils
  15. Requires(post,postun): gtk2
  16. Requires(post,postun): desktop-file-utils
  17. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  18. Vendor: Project Vine
  19. Distribution: Vine Linux
  20. Packager: Takemikaduchi
  21. %description
  22. This is Caja-Dropbox, a fork of Nautilus-Dropbox for MATE Desktop.
  23. %prep
  24. %setup -q
  25. %build
  26. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  27. %configure \
  28. --disable-static
  29. %{__make} %{?_smp_mflags}
  30. %install
  31. %{__rm} -rf ${RPM_BUILD_ROOT}
  32. %{__make} install DESTDIR=${RPM_BUILD_ROOT}
  33. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  34. %clean
  35. %{__rm} -rf ${RPM_BUILD_ROOT}
  36. %post
  37. touch --no-create %{_datadir}/icons/hicolor
  38. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  39. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  40. %postun
  41. if [ $1 -eq 0 ]; then
  42. touch --no-create %{_datadir}/icons/hicolor
  43. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  44. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  45. fi
  46. %files
  47. %defattr(-,root,root,-)
  48. %doc COPYING ChangeLog NEWS README
  49. %{_bindir}/%{name}
  50. %{_libdir}/caja/extensions-2.0/libcaja-dropbox.so
  51. %{_datadir}/applications/%{name}.desktop
  52. %{_datadir}/caja/extensions/libcaja-dropbox.caja-extension
  53. %{_datadir}/caja-dropbox/emblems/*
  54. %{_datadir}/icons/hicolor/*/*/*
  55. %{_mandir}/man1/%{name}.1.gz
  56. %changelog
  57. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  58. - new upstream release
  59. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  60. - new upstream release
  61. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  62. - initial build