gnome-themes-standard-vl.spec 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. Name: gnome-themes-standard
  2. Version: 3.1.4
  3. Release: 1%{?_dist_release}
  4. Summary: Standard themes for GNOME applications
  5. Group: User Interface/Desktops
  6. License: LGPLv2+
  7. URL: http://git.gnome.org/browse/gnome-themes-standard
  8. Source0: http://download.gnome.org/sources/%{name}/3.1/%{name}-%{version}.tar.xz
  9. BuildRequires: gtk3-devel >= 3.0.2
  10. BuildRequires: librsvg2-devel
  11. Requires: gtk2-engines gnome-icon-theme
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. The gnome-themes-standard package contains the standard theme for the GNOME
  17. desktop, which provides default appearance for cursors, desktop background,
  18. window borders and GTK+ applications.
  19. %prep
  20. %setup -q
  21. %build
  22. %configure
  23. make %{?_smp_mflags}
  24. %install
  25. make install DESTDIR=$RPM_BUILD_ROOT
  26. rm $RPM_BUILD_ROOT%{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.la
  27. %find_lang %{name}
  28. %post
  29. touch --no-create %{_datadir}/icons/Adwaita &>/dev/null || :
  30. %postun
  31. if [ $1 -eq 0 ] ; then
  32. for t in Adwaita HighContrast HighContrastInverse LowContrast; do
  33. touch --no-create %{_datadir}/icons/$t &>/dev/null
  34. gtk-update-icon-cache %{_datadir}/icons/$t &>/dev/null || :
  35. done
  36. fi
  37. %posttrans
  38. for t in Adwaita HighContrast HighContrastInverse LowContrast; do
  39. gtk-update-icon-cache %{_datadir}/icons/$t &>/dev/null || :
  40. done
  41. %files -f %{name}.lang
  42. %defattr(-,root,root,-)
  43. %doc COPYING NEWS
  44. # Background WM, gtk2 themes, gtk3 themes
  45. %{_libdir}/gtk-3.0/3.0.0/theming-engines/libadwaita.so
  46. %{_datadir}/themes/Adwaita
  47. # Background
  48. %{_datadir}/gnome-background-properties/*
  49. # A11y themes
  50. %{_datadir}/icons/LowContrast
  51. %{_datadir}/themes/LowContrast
  52. %{_datadir}/icons/HighContrast
  53. %{_datadir}/themes/HighContrast
  54. %{_datadir}/icons/HighContrastInverse
  55. %{_datadir}/themes/HighContrastInverse
  56. # Cursors
  57. %{_datadir}/icons/Adwaita
  58. %changelog
  59. * Sun Aug 14 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  60. - initial build for Vine Linux