vine-themes-vl.spec 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Summary: Vine themes for gtk/metacity/icons
  2. Summary(ja): gtk/metacity/icons 用 Vine テーマ
  3. Name: vine-themes
  4. Version: 7.0.6
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. Source0: metatheme-vine-7.0.6.tar.xz
  9. Source1: icon-theme-vine-7.0.1.tar.xz
  10. Source2: cursor-theme-vine-7.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-root
  12. BuildArch: noarch
  13. Requires(post): gtk2
  14. Obsoletes: gnome-themes-vine < 3.8.0-2
  15. Provides: gnome-themes-vine = %{version}-%{release}
  16. Conflicts: metacity < 2.34.13-4
  17. Vendor: Project Vine
  18. Distribution: Vine Linux
  19. Packager: daisuke
  20. %description
  21. Contains the vine themes for Gnome desktop environment.
  22. %description -l ja
  23. このパッケージにはGNOMEデスクトップ環境用 Vine テーマが含まれます。
  24. %prep
  25. %build
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. mkdir -p $RPM_BUILD_ROOT%{_datadir}
  29. mkdir $RPM_BUILD_ROOT%{_datadir}/themes
  30. mkdir $RPM_BUILD_ROOT%{_datadir}/icons
  31. # install Vine
  32. tar xJvf %{SOURCE0} -C $RPM_BUILD_ROOT%{_datadir}/themes
  33. tar xJvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/icons
  34. tar xJvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_datadir}/icons
  35. # remove audio, battery icons
  36. for file in `find $RPM_BUILD_ROOT%{_datadir}/icons/Vine/ | egrep "audio|battery"`; do
  37. rm -f $file
  38. done
  39. %clean
  40. rm -rf $RPM_BUILD_ROOT
  41. %post
  42. if [ -f /usr/bin/gtk-update-icon-cache ]; then
  43. for dir in /usr/share/icons/*; do
  44. if [ -d "$dir" -a -f "$dir/index.theme" ]; then
  45. /usr/bin/gtk-update-icon-cache --quiet $dir ||:
  46. fi
  47. done
  48. fi
  49. %files
  50. %defattr(-,root,root)
  51. %{_datadir}/icons/*
  52. %{_datadir}/themes/*
  53. %changelog
  54. * Tue Jun 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.6-1
  55. - fix gtk3 theme on window-frame
  56. * Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.5-1
  57. - fix gtk3 theme on gnome-shell
  58. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.4-1
  59. - update gtk3 theme, fix submenu background color.
  60. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.3-1
  61. - fix titlebar background
  62. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.2-1
  63. - fix gtk3 theme on gnome-shell
  64. * Thu Jul 17 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.1-1
  65. - fix gtk3 theme
  66. * Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0-1
  67. - rename from gnome-themes-vine
  68. - add metacity-vine-theme (splitted from metacity)
  69. - update gtk2/gtk3/metacity/icon theme
  70. - add Require(pre): gtk2, instead of gtk3
  71. - add conflict to metacity