%global common_desc \ Arc is a flat theme with transparent elements for GTK 3, GTK 2 and \ Gnome-Shell which supports GTK 3 and GTK 2 based desktop environments \ like Gnome, Cinnamon, Budgie, Pantheon, XFCE, Mate, etc. Name: arc-theme Version: 20161119 Release: 1%{?dist} Summary: Flat theme with transparent elements License: GPLv3+ URL: https://github.com/horst3180/%{name} Source0: %{url}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz BuildArch: noarch BuildRequires: autoconf BuildRequires: automake BuildRequires: gtk3-devel Requires: filesystem Requires: gnome-themes-standard Requires: gtk-murrine-engine %description %{common_desc} %package plank Summary: Arc-theme for Plank dock Requires: %{name} == %{version}-%{release} Requires: plank %description plank %{common_desc} This package contains the %{summary}. %prep %autosetup %{_bindir}/autoreconf -fiv %build %configure %make_build %install %make_install # Install Plank-theme. %{__mkdir} -p %{buildroot}/%{_datadir}/plank/themes/Arc %{__install} -pm 0644 extra/Arc-Plank/dock.theme \ %{buildroot}/%{_datadir}/plank/themes/Arc %files %license AUTHORS COPYING %doc README.md %{_datadir}/themes/* %files plank %{_datadir}/plank/themes/* %changelog * Tue Jan 10 2017 Björn Esser - 20161119-1 - Initial rpm-release (rhbz#1411438) * Mon Jan 09 2017 Björn Esser - 20161119-0.2 - Add plank-subpkg and require Plank (rhbz#1411438) * Mon Jan 09 2017 Björn Esser - 20161119-0.1 - Initial package (rhbz#1411438)