File icewm-theme-branding.spec of Package icewm-theme-branding
#
# spec file for package icewm-theme-branding
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _name icewm-config-openSUSE
Name: icewm-theme-branding
Version: 1.2.3
Release: 0
Summary: Icewm theme branding for SLES or openSUSE
License: LGPL-2.1+ and GPL-3.0+
Group: System/GUI/Other
Url: https://github.com/openSUSE/icewm-config-openSUSE
Source: https://github.com/openSUSE/%{_name}/archive/%{_name}-%{version}.tar.gz
Requires: icewm
Conflicts: icewm < 1.3.11
Conflicts: otherproviders(icewm-configuration-files)
Provides: icewm-configuration-files = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
%description
This package is made for SLE or openSUSE customization of icewm, including
the system default theme,background etc.
%prep
%setup -q -n %{_name}-%{_name}-%{version}
%build
%if 0%{?is_opensuse}
sed -i -e 's:SLEdefault:openSUSEdefault:g' preferences
%endif
%install
make DESTDIR=%{buildroot} prefix=%{_prefix} install
%files
%defattr(-,root,root)
%doc LICENSE.GPL-2.0 LICENSE.LGPL-2.1 LICENSE.MIT
%dir %{_sysconfdir}/icewm
%config %{_sysconfdir}/icewm/keys
%config %{_sysconfdir}/icewm/menu
%config %{_sysconfdir}/icewm/preferences
%config %{_sysconfdir}/icewm/startup
%config %{_sysconfdir}/icewm/theme
%config %{_sysconfdir}/icewm/toolbar
%config %{_sysconfdir}/icewm/winoptions
%dir %{_datadir}/icewm/
%dir %{_datadir}/icewm/themes/
%dir %{_datadir}/icewm/themes/zpaker/
%{_datadir}/icewm/themes/zpaker/*
%changelog