vine-themes-vl.spec 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Summary: Vine themes for gtk/metacity/icons
  2. Summary(ja): gtk/metacity/icons 用 Vine テーマ
  3. Name: vine-themes
  4. Version: 7.0.12
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. Source0: metatheme-vine-7.0.12.tar.xz
  9. Source1: icon-theme-vine-7.0.3.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. * Mon Jan 07 2019 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.12-1
  55. - fixed styles deprecated by gtk-3.22.
  56. - changed order of fallbacks.
  57. - dropped gnome-power-manager.svg.
  58. * Sat Dec 15 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.11-1
  59. - fixed styles deprecated by gtk-3.22.
  60. * Sat Jan 13 2018 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.10-1
  61. - fixed metacity theme.
  62. - fixed menu color.
  63. * Fri Aug 5 2016 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 7.0.9-1
  64. - removed deprecated elements.
  65. - fixed a typo.
  66. * Sun Jul 31 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.8-2
  67. - update Source1 (icon-theme-vine-7.0.2.tar.xz)
  68. * Sat Jul 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.8-1
  69. - update gtk3 theme
  70. * Tue Aug 04 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.7-1
  71. - fix gtk3 theme
  72. * Tue Jun 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.6-1
  73. - fix gtk3 theme on window-frame
  74. * Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.5-1
  75. - fix gtk3 theme on gnome-shell
  76. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.4-1
  77. - update gtk3 theme, fix submenu background color.
  78. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.3-1
  79. - fix titlebar background
  80. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.2-1
  81. - fix gtk3 theme on gnome-shell
  82. * Thu Jul 17 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.1-1
  83. - fix gtk3 theme
  84. * Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0-1
  85. - rename from gnome-themes-vine
  86. - add metacity-vine-theme (splitted from metacity)
  87. - update gtk2/gtk3/metacity/icon theme
  88. - add Require(pre): gtk2, instead of gtk3
  89. - add conflict to metacity