summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElan Ruusamäe2011-07-18 10:47:34 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit62e363f712a55a33b0bffc21d7cd9e3a8015a47e (patch)
tree65bca47c95843f64e137d04c8d52711e0fb61cff
downloadgtk-theme-hope-62e363f712a55a33b0bffc21d7cd9e3a8015a47e.zip
gtk-theme-hope-62e363f712a55a33b0bffc21d7cd9e3a8015a47e.tar.gz
- new
Changed files: gtk-theme-hope.spec -> 1.1
-rw-r--r--gtk-theme-hope.spec41
1 files changed, 41 insertions, 0 deletions
diff --git a/gtk-theme-hope.spec b/gtk-theme-hope.spec
new file mode 100644
index 0000000..6cafda4
--- /dev/null
+++ b/gtk-theme-hope.spec
@@ -0,0 +1,41 @@
+# TODO: how to rename this theme if it contains themes for several enviroments
+%define theme hope
+Summary: Matching GTK2, GTK3 Gnome-shell & XFCE Hope Themes
+Name: gtk-theme-%{theme}
+Version: 0.20110706
+Release: 0.1
+License: cc-by-nc-sa-3.0
+Group: Themes/GTK+
+Source0: http://www.deviantart.com/download/206207315/hope_gtk3_by_grvrulz-d3erqkz.7z
+# Source0-md5: c3bbd2c431e85ab684b024468f5a823c
+URL: http://grvrulz.deviantart.com/art/Hope-gtk3-206207315
+BuildRequires: p7zip
+Requires: gtk3-theme-engine-unico
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define themedir %{_datadir}/themes/%{theme}
+
+%description
+Port of Hope Gtk+ theme to Gtk3
+
+This theme is now based on Unico Gtk3 engine
+
+%prep
+%setup -qcT
+7z x %{SOURCE0}
+
+find -name '*~' | xargs rm -v
+rm gnome-shell/LICENSE # GPL v3
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{themedir}
+cp -a Hope/* $RPM_BUILD_ROOT%{themedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{themedir}