%global theme_name gnome-shell-selene %global src_name gnome-shell-theme-selene_3.4.1-0ubuntu1~tista1 %global src_pkg gnome-shell-theme-selene_3.4.1-0ubuntu1~tista1.tar.gz %global theme_dir gnome-shell-theme-selene-3.4.0 Name:gnome-shell-theme-selene Version:3.4.0 Release:5%{?dist} Summary:The Selene gnome-shell theme License: GPLv3 and LGPLv2.1 URL:https://launchpad.net/~tista/+archive/selene Source0:https://launchpad.net/~tista/+archive/selene/+files/%{src_name}.tar.gz Requires:gnome-shell-extensions-user-theme Requires:gnome-shell >= 3.2 BuildArch:noarch %description Selene is an "almost dark" theme based on elementary GTK theme, inspired by the old Atolm GTK2 theme. %prep %setup -q %{theme_dir} %build %install mkdir -p -m755 $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme_name}/gnome-shell cp -r %{_builddir}/%{theme_dir}/%{_datadir}/themes/%{theme_name}/gnome-shell/* $RPM_BUILD_ROOT/%{_datadir}/themes/%{theme_name}/gnome-shell/. %files %doc %{_datadir}/themes/%{theme_name}/gnome-shell/LICENSE %dir %{_datadir}/themes/%{theme_name} %dir %{_datadir}/themes/%{theme_name}/gnome-shell %{_datadir}/themes/%{theme_name}/gnome-shell/* %changelog * Wed Sep 19 2012 Adrian Alves 3.4.0-5 - License fixed * Tue Sep 18 2012 Adrian Alves 3.4.0-4 - License fixed * Sun Sep 16 2012 Adrian Alves 3.4.0-3 - Fixed %%build section and white spaces for rpmlint * Sat Sep 15 2012 Adrian Alves 3.4.0-2 - Fixed %%files section * Wed May 23 2012 Tim Lauridsen 3.4.0-1 - initial rpm build