PageRenderTime 28ms CodeModel.GetById 12ms app.highlight 13ms RepoModel.GetById 1ms app.codeStats 0ms

/light-themes.spec

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