caja-dropbox-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. %define major_ver 1.20
  2. %define ver %{major_ver}.0
  3. %define rel 1
  4. Summary: Dropbox extension for Caja
  5. Summary(ja): Caja 用 Dropbox 拡張モジュール
  6. Name: caja-dropbox
  7. Version: %{ver}
  8. Release: %{rel}%{?_dist_release}
  9. Source0: http://pub.mate-desktop.org/releases/%{major_ver}/%{name}-%{version}.tar.xz
  10. License: GPLv3 and CC BY-ND 3.0
  11. Group: User Interface/Desktops
  12. URL: http://mate-desktop.org/
  13. BuildRequires: glib2-devel
  14. BuildRequires: caja-devel
  15. BuildRequires: pygtk2
  16. BuildRequires: pygobject
  17. BuildRequires: python-docutils
  18. Requires(post,postun): gtk2
  19. Requires(post,postun): desktop-file-utils
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. Vendor: Project Vine
  22. Distribution: Vine Linux
  23. Packager: Takemikaduchi, iwaim
  24. %description
  25. This is Caja-Dropbox, a fork of Nautilus-Dropbox for MATE Desktop.
  26. %prep
  27. %setup -q
  28. %build
  29. (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi)
  30. %configure \
  31. --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. %clean
  38. %{__rm} -rf ${RPM_BUILD_ROOT}
  39. %post
  40. touch --no-create %{_datadir}/icons/hicolor
  41. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  42. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  43. %postun
  44. if [ $1 -eq 0 ]; then
  45. touch --no-create %{_datadir}/icons/hicolor
  46. gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  47. update-desktop-database %{_datadir}/applications >& /dev/null ||:
  48. fi
  49. %files
  50. %defattr(-,root,root,-)
  51. %doc COPYING ChangeLog NEWS README
  52. %{_bindir}/%{name}
  53. %{_libdir}/caja/extensions-2.0/libcaja-dropbox.so
  54. %{_datadir}/applications/%{name}.desktop
  55. %{_datadir}/caja/extensions/libcaja-dropbox.caja-extension
  56. %{_datadir}/caja-dropbox/emblems/*
  57. %{_datadir}/icons/hicolor/*/*/*
  58. %{_mandir}/man1/%{name}.1.gz
  59. %changelog
  60. * Sun May 20 2018 IWAI, Masaharu <iwaim.sub@gmail.com> 1.20.0-1
  61. - update to 1.20.0
  62. * Sat Apr 8 2017 IWAI, Masaharu <iwaim.sub@gmail.com> 1.18.0-1
  63. - update to 1.18.0
  64. * Sat Nov 26 2016 IWAI, Masaharu <iwaim.sub@gmail.com> 1.16.0-1
  65. - new upstream release
  66. - update License
  67. * Sun May 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.14.0-1
  68. - new upstream release
  69. * Sat Nov 07 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.12.0-1
  70. - new upstream release
  71. * Sat May 09 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.10.0-1
  72. - initial build