[zukini] Initial import (#827664).
odysseus
odysseus at fedoraproject.org
Sun Jun 10 19:48:25 UTC 2012
commit c8a1695f97143019c24d523467b5821788218919
Author: Mattia Meneguzzo <odysseus at fedoraproject.org>
Date: Sun Jun 10 21:48:15 2012 +0200
Initial import (#827664).
.gitignore | 1 +
sources | 1 +
zukini-20120607-rmnotavail.patch | 22 +++++++
zukini.spec | 114 ++++++++++++++++++++++++++++++++++++++
4 files changed, 138 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..2004a46 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zukini_by_lassekongo83-d4ic1u2.zip
diff --git a/sources b/sources
index e69de29..1d40e49 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+1397201cdaeed475406f331c374a7bc4 zukini_by_lassekongo83-d4ic1u2.zip
diff --git a/zukini-20120607-rmnotavail.patch b/zukini-20120607-rmnotavail.patch
new file mode 100644
index 0000000..0b4d175
--- /dev/null
+++ b/zukini-20120607-rmnotavail.patch
@@ -0,0 +1,22 @@
+diff -up Zukini/gnome-shell/gnome-shell.css.orig Zukini/gnome-shell/gnome-shell.css
+--- Zukini/gnome-shell/gnome-shell.css.orig 2012-06-07 12:07:24.000000000 +0200
++++ Zukini/gnome-shell/gnome-shell.css 2012-06-09 10:07:37.130756646 +0200
+@@ -18,7 +18,7 @@
+
+ /* default text style */
+ stage {
+- font-family: Ubuntu, Droid Sans, Trebuchet MS, Liberation Sans, sans-serif;
++ font-family: Droid Sans, Liberation Sans, sans-serif;
+ font-size: 9pt; /* The default font size. */
+ color: white;
+ }
+diff -up Zukini/gtk-3.0/gtk.css.orig Zukini/gtk-3.0/gtk.css
+--- Zukini/gtk-3.0/gtk.css.orig 2012-05-05 10:40:56.000000000 +0200
++++ Zukini/gtk-3.0/gtk.css 2012-06-09 10:08:06.791918423 +0200
+@@ -57,6 +57,5 @@
+ @import url("apps/gnome-panel.css");
+ @import url("apps/gnome-terminal.css");
+ @import url("apps/nautilus.css");
+- at import url("apps/unity.css");
+ @import url("apps/popover.css");
+ @import url("apps/epiphany.css");
diff --git a/zukini.spec b/zukini.spec
new file mode 100644
index 0000000..dd0e416
--- /dev/null
+++ b/zukini.spec
@@ -0,0 +1,114 @@
+%global theme_name Zukini
+%global deviantart_id 272660042
+%global author lassekongo83
+%global tag d4ic1u2
+
+Name: zukini
+Version: 20120607
+Release: 1%{?dist}
+Summary: Themes for GTK+2, GTK+3, Metacity and GNOME Shell
+Group: User Interface/Desktops
+
+License: GPLv3
+URL: http://%{author}.deviantart.com/art/%{theme_name}-%{deviantart_id}
+Source0: http://www.deviantart.com/download/%{deviantart_id}/%{name}_by_%{author}-%{tag}.zip
+
+# This patch removes "Ubuntu" and "Trebuchet MS" from "font-family" in
+# gnome-shell.css (because these fonts are not available in Fedora) and a
+# reference to Unity-related stuff from Zukini/gtk-3.0/gtk.css.
+Patch0: zukini-20120607-rmnotavail.patch
+
+BuildArch: noarch
+
+%description
+The %{theme_name} themes for GTK+2, GTK+3, Metacity and GNOME Shell, created by
+%{author}.
+
+
+%package gtk2-theme
+Summary: Zukini GTK+2 themes
+Group: User Interface/Desktops
+Requires: gtk-murrine-engine >= 0.98.1.1 gtk2-engines
+
+%description gtk2-theme
+Themes for GTK+2 as part of the Zukini theme.
+
+
+%package gtk3-theme
+Summary: Zukini GTK+3 themes
+Group: User Interface/Desktops
+Requires: gtk-unico-engine >= 1.0.2
+
+%description gtk3-theme
+Themes for GTK+3 as part of the Zukini theme.
+
+
+%package metacity-theme
+Summary: Zukini Metacity themes
+Group: User Interface/Desktops
+Requires: metacity
+
+%description metacity-theme
+Themes for Metacity as part of the Zukini theme.
+
+
+%package -n gnome-shell-theme-%{name}
+Summary: Zukini GNOME Shell theme
+Group: User Interface/Desktops
+Requires: gnome-shell-extension-user-theme >= 3.4 google-droid-sans-fonts
+
+%description -n gnome-shell-theme-%{name}
+Zukini GNOME Shell theme.
+
+
+%prep
+%setup -q -c -n %{name}_by_%{author}-%{tag}
+%patch0 -p0
+
+# Remove "Thumbs.db" files
+find . -name Thumbs.db -type f -exec rm -f '{}' \;
+# Fix end-of-line encoding of "README"
+sed -i 's/\r//' README
+# Fix text encoding of "README"
+iconv -f iso8859-1 -t utf-8 README > README.conv && mv -f README.conv README
+# Remove Unity stuff
+rm %{theme_name}/gtk-3.0/apps/unity.css
+rm -r %{theme_name}/unity/
+
+
+%build
+# Nothing to build
+
+
+%install
+mkdir -p -m755 %{buildroot}%{_datadir}/themes/%{theme_name}
+cp -pr %{theme_name}/* %{buildroot}%{_datadir}/themes/%{theme_name}
+
+
+%files gtk2-theme
+%doc COPYING README
+%dir %{_datadir}/themes/%{theme_name}/
+%{_datadir}/themes/%{theme_name}/gtk-2.0/
+
+
+%files gtk3-theme
+%doc COPYING README
+%dir %{_datadir}/themes/%{theme_name}/
+%{_datadir}/themes/%{theme_name}/gtk-3.0/
+
+
+%files metacity-theme
+%doc COPYING README
+%dir %{_datadir}/themes/%{theme_name}/
+%{_datadir}/themes/%{theme_name}/metacity-1/
+
+
+%files -n gnome-shell-theme-%{name}
+%doc COPYING README
+%dir %{_datadir}/themes/%{theme_name}/
+%{_datadir}/themes/%{theme_name}/gnome-shell/
+
+
+%changelog
+* Sun Jun 10 2012 Mattia Meneguzzo <odysseus at fedoraproject.org> - 20120607-1
+- Initial package for Fedora
More information about the scm-commits
mailing list