[gnome-shell-theme-elementary] Update to work on gnome shell 3.4

Elder Marco eldermarco at fedoraproject.org
Wed Apr 4 13:14:15 UTC 2012


commit d531126c03d94b950c485c87b8d29e7ced04ddba
Author: Elder Marco <eldermarco at fedoraproject.org>
Date:   Wed Apr 4 10:14:21 2012 -0300

    Update to work on gnome shell 3.4

 gnome-shell-theme-elementary.spec |   24 +++++++++++++-----------
 sources                           |    2 +-
 2 files changed, 14 insertions(+), 12 deletions(-)
---
diff --git a/gnome-shell-theme-elementary.spec b/gnome-shell-theme-elementary.spec
index 17103f2..cce983a 100644
--- a/gnome-shell-theme-elementary.spec
+++ b/gnome-shell-theme-elementary.spec
@@ -4,17 +4,17 @@
 
 # Platform dependent constants
 # The source contains 2 zip's: one for gnome 3.0 and one for gnome 3.2
-%if 0%{?fedora} < 16
-%global     shell_ver  3.0
-%global     theme_zip  %{theme}
-%else
+%if 0%{?fedora} < 17
 %global     shell_ver  3.2
-%global     theme_zip  %{theme}-3.2
+%global     theme_dir  %{theme}-3.2
+%else
+%global     shell_ver  3.4
+%global     theme_dir  %{theme}-3.4
 %endif
 
 Name:       gnome-shell-theme-%{theme_name}
 Version:    %{shell_ver}
-Release:    2%{?dist}
+Release:    1%{?dist}
 Summary:    The %{theme} gnome-shell theme
 Group:      User Interface/Desktops
 
@@ -22,7 +22,7 @@ License:    GPLv3 and LGPLv2
 URL:        http://half-left.deviantart.com/art/GNOME-Shell-Elementary-251536124
 Source0:    http://www.deviantart.com/download/251536124/%{src_name}.zip
 
-Requires:   gnome-shell-extensions-user-theme
+Requires:   gnome-shell-extension-user-theme
 Requires:   gnome-shell >= %{shell_ver}
 BuildArch:  noarch
 
@@ -31,7 +31,6 @@ The %{theme} gnome-shell theme created by half_left
 
 %prep
 %setup -q -c
-unzip %{theme_zip}.zip
 
 %build
 # nothing to build
@@ -40,7 +39,7 @@ unzip %{theme_zip}.zip
 mkdir -p -m755 %{buildroot}/%{_datadir}/themes/%{theme}/gnome-shell
 
 # put the theme files into some data dir
-cp -pr %{theme_zip}/gnome-shell/* \
+cp -pr %{theme_dir}/gnome-shell/* \
      %{buildroot}%{_datadir}/themes/%{theme}/gnome-shell
 
 # delete backup files (*~)
@@ -50,12 +49,15 @@ find %{buildroot} -name *~ -type f -exec rm -f '{}' \;
 find %{buildroot} -name LICENSE -type f -exec rm -f '{}' \;
 
 %files
-%doc %{theme_zip}/gnome-shell/LICENSE
+%doc %{theme_dir}/gnome-shell/LICENSE
 %dir %{_datadir}/themes/%{theme}
 %{_datadir}/themes/%{theme}/*
 
 %changelog
-* Fri Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2-2
+* Wed Apr 04 2012 Elder Marco <eldermarco at fedoraproject.org> - 3.4-1
+- Update to work on gnome shell 3.4
+
+* Jan 13 2012 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.2-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
 
 * Thu Oct 27 2011 Elder Marco <eldermarco at fedoraproject.org> - 3.2-1
diff --git a/sources b/sources
index 7d08d6b..4caf4c7 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-7d95cb3369bf80af5b450c7e5bbd9a38  gnome_shell___elementary_by_half_left-d45raik.zip
+3ccd30bf2a5b50eaf7e2ed63f850f19d  gnome_shell___elementary_by_half_left-d45raik.zip


More information about the scm-commits mailing list