gnome-themes-vine-vl.spec 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Summary: Vine themes for GNOME
  2. Summary(ja): GNOME 用 Vine テーマ
  3. Name: gnome-themes-vine
  4. Version: 3.6.0
  5. Release: 1%{?_dist_release}
  6. License: GPLv2
  7. Group: User Interface/Desktops
  8. Source0: metatheme-vine-7.tar.xz
  9. Source1: icon-theme-vine-6.tar.bz2
  10. Source2: cursor-theme-vine-7.tar.xz
  11. BuildRoot: %{_tmppath}/%{name}-root
  12. BuildArch: noarch
  13. Requires(post): gtk3 >= 3.0.0
  14. Vendor: Project Vine
  15. Distribution: Vine Linux
  16. %description
  17. Contains the vine themes for Gnome desktop environment.
  18. %description -l ja
  19. このパッケージにはGNOMEデスクトップ環境用 Vine テーマが含まれます。
  20. %prep
  21. %build
  22. %install
  23. rm -rf $RPM_BUILD_ROOT
  24. mkdir -p $RPM_BUILD_ROOT%{_datadir}
  25. mkdir $RPM_BUILD_ROOT%{_datadir}/themes
  26. mkdir $RPM_BUILD_ROOT%{_datadir}/icons
  27. # install Vine
  28. tar xJvf %{SOURCE0} -C $RPM_BUILD_ROOT%{_datadir}/themes
  29. tar xzvf %{SOURCE1} -C $RPM_BUILD_ROOT%{_datadir}/icons
  30. tar xJvf %{SOURCE2} -C $RPM_BUILD_ROOT%{_datadir}/icons
  31. # remove audio, battery icons
  32. for file in `find $RPM_BUILD_ROOT%{_datadir}/icons/Vine/ | egrep "audio|battery"`; do
  33. rm -f $file
  34. done
  35. %clean
  36. rm -rf $RPM_BUILD_ROOT
  37. %post
  38. if [ -f /usr/bin/gtk-update-icon-cache ]; then
  39. for dir in /usr/share/icons/*; do
  40. if [ -d "$dir" -a -f "$dir/index.theme" ]; then
  41. /usr/bin/gtk-update-icon-cache --quiet $dir ||:
  42. fi
  43. done
  44. fi
  45. %files
  46. %defattr(-,root,root)
  47. %{_datadir}/icons/*
  48. %{_datadir}/themes/*
  49. %changelog
  50. * Sat Oct 06 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.6.0-1
  51. - divide package from gnome-themes