vine-themes-vl.spec 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. Summary: Vine themes for gtk/metacity/icons
  2. Summary(ja): gtk/metacity/icons 用 Vine テーマ
  3. Name: vine-themes
  4. Version: 7.0.8
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. Source0: metatheme-vine-7.0.8.tar.xz
  9. Source1: icon-theme-vine-7.0.2.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. * Sun Jul 31 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.8-2
  55. - update Source1 (icon-theme-vine-7.0.2.tar.xz)
  56. * Sat Jul 30 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.8-1
  57. - update gtk3 theme
  58. * Tue Aug 04 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.7-1
  59. - fix gtk3 theme
  60. * Tue Jun 16 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.6-1
  61. - fix gtk3 theme on window-frame
  62. * Sun Nov 16 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 7.0.5-1
  63. - fix gtk3 theme on gnome-shell
  64. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.4-1
  65. - update gtk3 theme, fix submenu background color.
  66. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.3-1
  67. - fix titlebar background
  68. * Fri Jul 18 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.2-1
  69. - fix gtk3 theme on gnome-shell
  70. * Thu Jul 17 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0.1-1
  71. - fix gtk3 theme
  72. * Wed Jul 16 2014 Daisuke SUZUKI <daisuke@vinelinux.org> 7.0-1
  73. - rename from gnome-themes-vine
  74. - add metacity-vine-theme (splitted from metacity)
  75. - update gtk2/gtk3/metacity/icon theme
  76. - add Require(pre): gtk2, instead of gtk3
  77. - add conflict to metacity