PageRenderTime 55ms CodeModel.GetById 25ms RepoModel.GetById 0ms app.codeStats 0ms

/light-themes.spec

#
Unknown | 162 lines | 117 code | 45 blank | 0 comment | 0 complexity | aff84f407739e010711b852d9a512965 MD5 | raw file
Possible License(s): CC-BY-SA-3.0
  1. %global tag 0ubuntu1
  2. Name: light-themes
  3. Version: 0.1.11
  4. Release: 2%{?tag:.%{tag}}%{?dist}
  5. Summary: Light Themes (Ambiance and Radiance)
  6. Group: User Interface/Desktops
  7. License: CC-BY-SA
  8. URL: https://launchpad.net/light-themes/
  9. Source0: https://launchpad.net/ubuntu/+archive/primary/+files/%{name}_%{version}%{?tag:-%{tag}}.tar.gz
  10. # Remove <shadow> and <padding> tags from metacity-theme-1.xml files, not
  11. # supported by GNOME Shell (see
  12. # https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/850060)
  13. Patch0: %{name}-0.1.8.25-metacity.patch
  14. # Fix DMZ cursor theme name in index.theme files (named "DMZ-White" in Ubuntu,
  15. # "dmz" in Fedora)
  16. Patch1: %{name}-0.1.8.25-mouse.patch
  17. # Fix Ubuntu icon dependency theme in index.theme files (theme named
  18. # "Monochrome" in Fedora)
  19. Patch2: %{name}-0.1.8.25-icons.patch
  20. BuildArch: noarch
  21. %description
  22. Includes matching Ambiance and Radiance themes.
  23. * Ambiance is a light-on-dark theme
  24. * Radiance is a dark-on-light theme
  25. Introduced as the default themes in Ubuntu 10.04 LTS.
  26. %package -n light-theme-gnome
  27. Summary: Ambiance and Radiance GNOME themes
  28. Group: User Interface/Desktops
  29. Requires: dmz-cursor-themes
  30. Requires: light-gtk2-theme = %{version}-%{release}
  31. Requires: light-gtk3-theme = %{version}-%{release}
  32. Requires: light-metacity-theme = %{version}-%{release}
  33. Requires: monochrome-icon-theme
  34. %description -n light-theme-gnome
  35. Includes matching Ambiance and Radiance GNOME themes.
  36. * Ambiance is a light-on-dark theme
  37. * Radiance is a dark-on-light theme
  38. Introduced as the default themes in Ubuntu 10.04 LTS.
  39. %package -n light-gtk2-theme
  40. Summary: Ambiance and Radiance GTK+2 themes
  41. Group: User Interface/Desktops
  42. Requires: gtk-murrine-engine
  43. %description -n light-gtk2-theme
  44. Themes for GTK+2 as part of the Light GNOME theme.
  45. * Ambiance is a light-on-dark theme
  46. * Radiance is a dark-on-light theme
  47. %package -n light-gtk3-theme
  48. Summary: Ambiance and Radiance GTK+3 themes
  49. Group: User Interface/Desktops
  50. Requires: gtk-unico-engine
  51. %description -n light-gtk3-theme
  52. Themes for GTK+3 as part of the Light GNOME theme.
  53. * Ambiance is a light-on-dark theme
  54. * Radiance is a dark-on-light theme
  55. %package -n light-metacity-theme
  56. Summary: Ambiance and Radiance Metacity themes
  57. Group: User Interface/Desktops
  58. Requires: metacity
  59. %description -n light-metacity-theme
  60. Themes for Metacity as part of the Light GNOME theme.
  61. * Ambiance is a light-on-dark theme
  62. * Radiance is a dark-on-light theme
  63. %prep
  64. %setup -q
  65. %patch0 -p1
  66. %patch1 -p1
  67. %patch2 -p1
  68. # Remove Unity theme files, since Unity is not (yet?) available for Fedora
  69. rm -r */unity/
  70. %build
  71. %install
  72. install -dm 0755 $RPM_BUILD_ROOT%{_datadir}/themes/
  73. cp -a Ambiance/ Radiance/ $RPM_BUILD_ROOT%{_datadir}/themes/
  74. # Remove patch backup files
  75. rm $RPM_BUILD_ROOT%{_datadir}/themes/*/metacity-1/*.orig
  76. %files -n light-theme-gnome
  77. %{_datadir}/themes/*/index.theme
  78. %files -n light-gtk2-theme
  79. %doc debian/{changelog,copyright}
  80. %dir %{_datadir}/themes/*/
  81. %{_datadir}/themes/*/gtk-2.0/
  82. %files -n light-gtk3-theme
  83. %doc debian/{changelog,copyright}
  84. %dir %{_datadir}/themes/*/
  85. %{_datadir}/themes/*/gtk-3.0/
  86. %files -n light-metacity-theme
  87. %doc debian/{changelog,copyright}
  88. %dir %{_datadir}/themes/*/
  89. %{_datadir}/themes/*/metacity-1/
  90. %changelog
  91. * Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.11-2.0ubuntu1
  92. - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
  93. * Sun Jul 15 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.11-1.0ubuntu1
  94. - Update to 0.1.11-0ubuntu1
  95. * Thu Feb 16 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.29-1
  96. - Update to 0.1.8.29
  97. * Sat Feb 04 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.27.1-1
  98. - Update to 0.1.8.27.1
  99. * Sun Jan 22 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.26-2
  100. - Rebuilt
  101. * Sun Jan 22 2012 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.26-1
  102. - Update to 0.1.8.26
  103. * Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8.25-6
  104. - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
  105. * Fri Dec 09 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.25-5
  106. - Fix description in light-theme-gnome
  107. * Tue Nov 29 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.25-4
  108. - Rename source RPM to light-themes
  109. - Split light-theme-gnome into four packages: light-metacity-theme,
  110. light-gtk2-theme, light-gtk3-theme, light-theme-gnome
  111. - Remove useless Unity theme files
  112. * Sun Nov 20 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.25-3
  113. - Fix dependency on monochrome-icon-theme
  114. * Tue Oct 11 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.25-2
  115. - Fix dependency on mono-icon-theme
  116. * Sun Oct 09 2011 Mohamed El Morabity <melmorabity@fedoraproject.org> - 0.1.8.25-1
  117. - Initial RPM release