[gnome-shell-theme-ambiance] Initial import
Tim Lauridsen
timlau at fedoraproject.org
Tue Oct 18 16:37:21 UTC 2011
commit 20163e4ca998484dc1e83a157afa3155ec412fc9
Author: Tim Lauridsen <timlau at fedoraproject.org>
Date: Tue Oct 18 18:34:43 2011 +0200
Initial import
ambiance-dark-purple.png | Bin 0 -> 298312 bytes
ambiance-dark.png | Bin 0 -> 297889 bytes
ambiance-light.png | Bin 0 -> 298831 bytes
gnome-shell-theme-ambiance.spec | 79 +++++++++++++++++++++++++++++++++++++++
rename-theme.patch | 54 ++++++++++++++++++++++++++
5 files changed, 133 insertions(+), 0 deletions(-)
---
diff --git a/ambiance-dark-purple.png b/ambiance-dark-purple.png
new file mode 100644
index 0000000..e69eefd
Binary files /dev/null and b/ambiance-dark-purple.png differ
diff --git a/ambiance-dark.png b/ambiance-dark.png
new file mode 100644
index 0000000..e234fd6
Binary files /dev/null and b/ambiance-dark.png differ
diff --git a/ambiance-light.png b/ambiance-light.png
new file mode 100644
index 0000000..964e7f1
Binary files /dev/null and b/ambiance-light.png differ
diff --git a/gnome-shell-theme-ambiance.spec b/gnome-shell-theme-ambiance.spec
new file mode 100644
index 0000000..7d1ff41
--- /dev/null
+++ b/gnome-shell-theme-ambiance.spec
@@ -0,0 +1,79 @@
+%global src_name gnome_shell___ubuntu_ambiance_by_half_left-d3h6ouv.zip
+%global theme_name ambiance
+%global theme Ambience
+
+
+Name: gnome-shell-theme-%{theme_name}
+Version: 1.0
+Release: 2%{?dist}
+Summary: The %{theme} gnome-shell theme
+Group: User Interface/Desktops
+
+License: GPLv3
+URL: http://half-left.deviantart.com/art/GNOME-Shell-Ubuntu-Ambience-210264151
+Source0: http://www.deviantart.com/download/210264151/%{src_name}
+Source1: %{theme_name}-light.png
+Source2: %{theme_name}-dark.png
+Source3: %{theme_name}-dark-purple.png
+Patch0: rename-theme.patch
+
+Requires: gnome-shell-extensions-user-theme
+Requires: gnome-shell >= 3.0.1
+BuildArch: noarch
+
+%description
+The %{theme} gnome-shell theme created by half_left
+
+%prep
+%setup -q -c
+unzip gs-*%{theme_name}-light.zip
+unzip gs-*%{theme_name}-dark.zip
+unzip gs-*%{theme_name}-dark-purple.zip
+# Rename the theme to avoid trademark issues
+%patch0 -p1
+
+%build
+# Nothing to build
+
+%install
+mkdir -p -m755 $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-light/gnome-shell
+mkdir -p -m755 $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-dark/gnome-shell
+mkdir -p -m755 $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-dark-purple/gnome-shell
+
+# put the theme files into some data dir
+cp -p -r gs-*%{theme_name}-light/* $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-light/.
+cp -p -r gs-*%{theme_name}-dark/* $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-dark/.
+cp -p -r gs-*%{theme_name}-dark-purple/* $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-dark-purple/.
+
+# delete backup files (*~)
+find $RPM_BUILD_ROOT -name *~ -type f -print | xargs /bin/rm -f
+
+# remove LICENSE from BUILDROOT
+find $RPM_BUILD_ROOT -name LICENSE -type f -print | xargs /bin/rm -f
+
+# remove original preview and add some new ones, to avoid trademark issues
+find $RPM_BUILD_ROOT -name preview-*.jpg -type f -print | xargs /bin/rm -f
+cp -p %{SOURCE1} $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-light/gnome-shell/preview-%{theme_name}.png
+cp -p %{SOURCE2} $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-dark/gnome-shell/preview-%{theme_name}.png
+cp -p %{SOURCE3} $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme}-dark-purple/gnome-shell/preview-%{theme_name}.png
+
+
+%files
+%doc gs-*%{theme_name}-light/gnome-shell/LICENSE
+%dir %{_datadir}/themes/%{theme}-dark-purple
+%dir %{_datadir}/themes/%{theme}-dark
+%dir %{_datadir}/themes/%{theme}-light
+%{_datadir}/themes/%{theme}-dark-purple/*
+%{_datadir}/themes/%{theme}-dark/*
+%{_datadir}/themes/%{theme}-light/*
+
+
+%changelog
+* Mon Oct 17 2011 Tim Lauridsen <timlau at fedoraproject.org> 1.0-2
+- fix review issues:
+- Added full version release to spec changelog-
+- Add -p to copy commands
+- fix typo in comment
+
+* Thu Jun 09 2011 Tim Lauridsen <timlau at fedoraproject.org> 1.0-1
+- initial rpm build
diff --git a/rename-theme.patch b/rename-theme.patch
new file mode 100644
index 0000000..432c165
--- /dev/null
+++ b/rename-theme.patch
@@ -0,0 +1,54 @@
+diff --git a/gs-ubuntu-ambiance-dark-purple/gnome-shell/theme.json b/gs-ubuntu-ambiance-dark-purple/gnome-shell/theme.json
+index cd9f8c8..1dd880d 100644
+--- a/gs-ubuntu-ambiance-dark-purple/gnome-shell/theme.json
++++ b/gs-ubuntu-ambiance-dark-purple/gnome-shell/theme.json
+@@ -1,10 +1,10 @@
+ {
+ "shell-theme": {
+- "name": "Ubuntu Ambiance-Dark Purple",
++ "name": "Ambiance-Dark Purple",
+ "author": "Half-Left",
+ "version": "1.0",
+ "type": "custom",
+- "thumbnail": "preview-ubuntu-ambiance.jpg",
++ "thumbnail": "preview-ambiance.png",
+ "url": ""
+ }
+ }
+diff --git a/gs-ubuntu-ambiance-dark/gnome-shell/theme.json b/gs-ubuntu-ambiance-dark/gnome-shell/theme.json
+index 1331332..a995697 100644
+--- a/gs-ubuntu-ambiance-dark/gnome-shell/theme.json
++++ b/gs-ubuntu-ambiance-dark/gnome-shell/theme.json
+@@ -1,10 +1,10 @@
+ {
+ "shell-theme": {
+- "name": "Ubuntu Ambiance Dark",
++ "name": "Ambiance Dark",
+ "author": "Half-Left",
+ "version": "1.0",
+ "type": "custom",
+- "thumbnail": "preview-ubuntu-ambiance.jpg",
++ "thumbnail": "preview-ambiance.png",
+ "url": ""
+ }
+ }
+diff --git a/gs-ubuntu-ambiance-light/gnome-shell/theme.json b/gs-ubuntu-ambiance-light/gnome-shell/theme.json
+index 88d48e6..fb0116c 100644
+--- a/gs-ubuntu-ambiance-light/gnome-shell/theme.json
++++ b/gs-ubuntu-ambiance-light/gnome-shell/theme.json
+@@ -1,10 +1,10 @@
+ {
+ "shell-theme": {
+- "name": "Ubuntu Ambiance Light",
++ "name": "Ambiance Light",
+ "author": "Half-Left",
+ "version": "1.0",
+ "type": "custom",
+- "thumbnail": "preview-ubuntu-ambiance.jpg",
++ "thumbnail": "preview-ambiance.png",
+ "url": ""
+ }
+ }
+--
+1.7.5.4
+
More information about the scm-commits
mailing list