vine-themes-vl.spec 2.8 KB

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