thunar-archive-plugin-vl.spec 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. Name: thunar-archive-plugin
  2. Summary: Adds archive operations to the Thunar file context menus
  3. Version: 0.3.0
  4. Release: 1%{?_dist_release}
  5. Group: User Interface/Desktops
  6. License: GPLv2+
  7. URL: http://goodies.xfce.org/projects/thunar-plugins/%{name}
  8. Source0: http://archive.xfce.org/src/thunar-plugins/%{name}/0.3/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: Thunar-devel >= 0.4.0
  11. BuildRequires: libexo-devel >= 0.5.0
  12. BuildRequires: libxfce4util-devel >= 4.8.0
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: Takemikaduchi
  16. %description
  17. The thunar-archive-plugin is a plugin for the Thunar File Manager, which
  18. adds archive operations to the file context menus. Using this plugin you
  19. will be able to extract and create archive files from within Thunar using
  20. a single click.
  21. %prep
  22. %setup -q
  23. %build
  24. %configure --disable-static
  25. make %{?_smp_mflags}
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make install DESTDIR=$RPM_BUILD_ROOT
  29. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  30. %find_lang %{name}
  31. %clean
  32. rm -rf $RPM_BUILD_ROOT
  33. %post
  34. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  35. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  36. %postun
  37. if [ $1 -eq 0 ]; then
  38. touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
  39. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  40. fi
  41. %files -f %{name}.lang
  42. %defattr(-,root,root)
  43. %doc AUTHORS COPYING ChangeLog NEWS README
  44. %{_libdir}/thunarx-2/%{name}.so
  45. %{_libexecdir}/%{name}
  46. %{_datadir}/icons/hicolor/*/apps/*
  47. %changelog
  48. * Sat Jun 09 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.0-1
  49. - initial build for Vine Linux