File kAwOken-icontheme.spec of Package kAwOken-icontheme

#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           kAwOken-icontheme
Version:        1.5
Release:        1
License:        GPLv2
Summary:        kAwOken icons theme
Url:		http://kde-look.org/content/show.php/kAwOken?content=143865
Group:          System/GUI/Other
Source0:        kAwOken.tar.xz
Source1:        kAwOkenDark.tar.xz
Source2:        kAwOkenWhite.tar.xz
BuildRequires:  fdupes AwOken-icontheme AwOken-icontheme-dark AwOken-icontheme-white
Requires:       AwOken-icontheme
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%package white
Requires: %{name} = %{version} AwOken-icontheme-white
Summary: kAwOken-White
Group:          System/GUI/Other

%package dark
Requires: %{name} = %{version} AwOken-icontheme-dark
Summary: kAwOken-Dark
Group:          System/GUI/Other

%description
kAwOken icons theme.

%description dark
the dark variant of the kawOken icon theme

%description white
the white variant of the kawOken icon theme

%prep
%setup -q -n %{name} -c -T -a 0 -a 1 -a 2

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{_datadir}/icons
mkdir -p %{buildroot}%{_bindir}

cp -r kAwOken* %{buildroot}%{_datadir}/icons

mv kAwOken*/kawoken-icon-theme-customization* %{buildroot}%{_bindir}

%fdupes -s %{buildroot}%{_datadir}/icons/kAwOken
%fdupes -s %{buildroot}%{_datadir}/icons/kAwOkenDark
%fdupes -s %{buildroot}%{_datadir}/icons/kAwOkenWhite

%files
%defattr(-,root,root)
%{_datadir}/icons/kAwOken
%attr(755, root, root) %{_bindir}/kawoken-icon-theme-customization
%attr(755, root, root) %{_bindir}/kawoken-icon-theme-customization-clear

%files dark
%defattr(-,root,root)
%{_datadir}/icons/kAwOkenDark
%attr(755, root, root) %{_bindir}/kawoken-icon-theme-customization-dark

%files white
%defattr(-,root,root)
%{_datadir}/icons/kAwOkenWhite
%attr(755, root, root) %{_bindir}/kawoken-icon-theme-customization-white

%changelog