faenza-icon-theme-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. Name: faenza-icon-theme
  2. Version: 0.9.2
  3. Release: 1%{?_dist_release}
  4. Summary: Icon theme designed for Equinox GTK theme
  5. Group: User Interface/Desktops
  6. License: GPL+
  7. URL: http://gnome-look.org/content/show.php/Faenza?content=128143
  8. Source0: http://faenza-icon-theme.googlecode.com/files/%{name}_%{version}.tar.gz
  9. BuildArch: noarch
  10. %description
  11. Contains icons for Equinox GTK theme
  12. %prep
  13. %setup -q -c %{name}-%{version}
  14. %build
  15. %install
  16. rm -rf $RPM_BUILD_ROOT
  17. # change default gnome-menu icons
  18. cd ./Faenza/places/scalable/ && ln -sf start-here-gnome.svg start-here.svg && cd ../../..
  19. cd ./Faenza/places/22/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  20. cd ./Faenza/places/24/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  21. cd ./Faenza/places/32/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  22. cd ./Faenza/places/48/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  23. cd ./Faenza-Dark/places/scalable/ && ln -sf start-here-gnome.svg start-here.svg && cd ../../..
  24. cd ./Faenza-Dark/places/22/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  25. cd ./Faenza-Dark/places/24/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  26. cd ./Faenza-Dark/places/32/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  27. cd ./Faenza-Dark/places/48/ && ln -sf start-here-gnome.png start-here.png && cd ../../..
  28. # should include vine logo later...
  29. #cd ./Faenza/places/48/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
  30. #cd ./Faenza/places/32/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
  31. #cd ./Faenza/places/24/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
  32. #cd ./Faenza/places/22/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
  33. #cd ./Faenza/places/16/ && ln -sf distributor-logo-fedora.png distributor-logo.png && cd ../../..
  34. mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons
  35. cp -a ./Faenza/ $RPM_BUILD_ROOT%{_datadir}/icons
  36. cp -a ./Faenza-Dark/ $RPM_BUILD_ROOT%{_datadir}/icons
  37. cp -a ./Faenza-Darker/ $RPM_BUILD_ROOT%{_datadir}/icons
  38. cp -a ./Faenza-Darkest/ $RPM_BUILD_ROOT%{_datadir}/icons
  39. chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza/index.theme
  40. chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Dark/index.theme
  41. chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Darker/index.theme
  42. chmod 0644 $RPM_BUILD_ROOT%{_datadir}/icons/Faenza-Darkest/index.theme
  43. %clean
  44. rm -rf $RPM_BUILD_ROOT
  45. %post
  46. for d in Faenza Faenza-Dark Faenza-Darker Faenza-Darkest; do
  47. touch --no-create %{_datadir}/icons/$d
  48. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  49. /usr/bin/gtk-update-icon-cache -q %{_datadir}/icons/$d ||:
  50. fi
  51. done
  52. %files
  53. %defattr(-,root,root)
  54. %doc AUTHORS ChangeLog COPYING README
  55. %{_datadir}/icons/Faenza
  56. %{_datadir}/icons/Faenza-Dark
  57. %{_datadir}/icons/Faenza-Darker
  58. %{_datadir}/icons/Faenza-Darkest
  59. %changelog
  60. * Mon May 23 2011 Kazutaka HARADA <kazutaka@vinelinux.org> 0.9.2-1
  61. - initial build for Vine Linux based on fedora development
  62. * Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.6-2
  63. - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
  64. * Wed Aug 11 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.6-1
  65. - New Version from upstream
  66. * Tue Aug 10 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5-5
  67. - Cleaned up files macro
  68. - Modified install macro with -a option to keep timestamps on files
  69. * Mon Aug 09 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5-4
  70. - Version number comes from URL
  71. - made corrections to prep macro
  72. * Sun Aug 08 2010 Tajidin Abd <tajidinabd@arhclinux.us> - 0.5-3
  73. - Corrected version number
  74. - Added scriplet
  75. - Corrected unused of macro
  76. * Sun Aug 08 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5.2-2
  77. - added global tarname macro
  78. - Corrected the License
  79. - made corrections to scriplets
  80. - deleted redundant characters
  81. - changed permission issues to satisfy rpmlint errors
  82. * Thu Aug 05 2010 Tajidin Abd <tajidinabd@archlinux.us> - 0.5.2-1
  83. - Intial RPM release