%global theme Numix Name: numix-themes Version: 2.1 Release: 1%{?dist} Summary: %{theme} themes for Gnome, Xfce and Openbox License: GPLv3+ URL: http://numixproject.org Source0: https://github.com/shimmerproject/%{theme}/archive/v%{version}.tar.gz Requires: numix-common Requires: numix-gtk2-theme Requires: numix-gtk3-theme Requires: numix-metacity-theme Requires: numix-openbox-theme Requires: numix-xfce-notify-theme Requires: numix-xfwm4-theme BuildArch: noarch %description %{theme} is a modern flat theme with a combination of light and dark elements. It supports Gnome, Unity, XFCE and Openbox. %package -n numix-common Summary: Common files for %{theme} %description -n numix-common Files common to %{theme} themes. %package -n numix-gtk2-theme Summary: %{theme} GTK+2 theme Requires: gtk-murrine-engine >= 0.98.1.1 %description -n numix-gtk2-theme %{theme} theme for GTK+2. %package -n numix-gtk3-theme Summary: %{theme} GTK+3 theme Requires: gtk3 >= 3.8.0 %description -n numix-gtk3-theme %{theme} theme for GTK+3. %package -n numix-metacity-theme Summary: %{theme} Metacity theme %description -n numix-metacity-theme %{theme} theme for Metacity/Mutter. %package -n numix-openbox-theme Summary: %{theme} Openbox theme %description -n numix-openbox-theme %{theme} theme for Openbox. %package -n numix-xfce-notify-theme Summary: %{theme} Xfce Notify theme %description -n numix-xfce-notify-theme %{theme} theme for Xfce Notify. %package -n numix-xfwm4-theme Summary: %{theme} Xfwm4 theme %description -n numix-xfwm4-theme %{theme} theme for Xfwm4. %prep %setup -q -n %{theme}-%{version} %build # Nothing to build %install install -d -m755 %{buildroot}%{_datadir}/themes/%{theme} for file in gtk-2.0 gtk-3.0 metacity-1 openbox-3 unity xfce-notify-4.0 xfwm4 index.theme; do cp -a ${file} %{buildroot}%{_datadir}/themes/%{theme} done %files -n numix-common %doc CREDITS LICENSE README.md %{_datadir}/themes/%{theme}/index.theme %files -n numix-gtk2-theme %dir %{_datadir}/themes/%{theme}/ %{_datadir}/themes/%{theme}/gtk-2.0/ %files -n numix-gtk3-theme %dir %{_datadir}/themes/%{theme}/ %{_datadir}/themes/%{theme}/gtk-3.0/ %files -n numix-metacity-theme %dir %{_datadir}/themes/%{theme}/ %{_datadir}/themes/%{theme}/metacity-1/ %{_datadir}/themes/%{theme}/unity/ %files -n numix-openbox-theme %dir %{_datadir}/themes/%{theme}/ %{_datadir}/themes/%{theme}/openbox-3/ %files -n numix-xfce-notify-theme %dir %{_datadir}/themes/%{theme}/ %{_datadir}/themes/%{theme}/xfce-notify-4.0/ %files -n numix-xfwm4-theme %dir %{_datadir}/themes/%{theme}/ %{_datadir}/themes/%{theme}/xfwm4/ %changelog * Thu Jan 09 2014 Satyajit Sahoo 2.1-1 - Initial package for Fedora