Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:16.0:Rings:1-MinimalX
icewm-theme-branding
icewm-theme-branding.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File icewm-theme-branding.spec of Package icewm-theme-branding
# # spec file for package icewm-theme-branding # # Copyright (c) 2024 SUSE LLC # # 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 https://bugs.opensuse.org/ # %define _name icewm-config-openSUSE %if 0%{?suse_version} == 1500 %define icewm_version 1.4.2 %else %define icewm_version 1.6.5 %endif %define flavor @BUILD_FLAVOR@%nil %if "%{flavor}" == "" ExclusiveArch: do-not-build %else %define branding_name %{flavor} %if "%{flavor}" == "SLE" %define build_SLE 1 %else %define build_openSUSE 1 %endif %endif %if (0%{?build_SLE} && 0%{?is_opensuse}) || (0%{?build_openSUSE} && ! 0%{?is_opensuse}) # Don't build SLE branding on openSUSE and vice-versa ExclusiveArch: do-not-build %endif Name: icewm-theme-branding Version: 1.2.6 Release: 0 Summary: Icewm theme branding License: GPL-3.0-or-later AND LGPL-2.1-or-later 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) %if 0%{?sle_version} Obsoletes: icewm-config-upstream <= %{icewm_version} %endif Provides: icewm-configuration-files = %{icewm_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 %autosetup -p1 -n %{_name}-%{_name}-%{version} %build %if 0%{?build_openSUSE} # The compat link actually exists but lets keep openSUSEdefault sed -i -e 's:SLEdefault:openSUSEdefault:g' preferences %endif %install make DESTDIR=%{buildroot} prefix=%{_prefix} install # move preferences to prefoverride to take preference over themes mv %{buildroot}/%{_sysconfdir}/icewm/preferences \ %{buildroot}/%{_sysconfdir}/icewm/prefoverride %files %license LICENSE.GPL-2.0 LICENSE.LGPL-2.1 LICENSE.MIT %dir %{_sysconfdir}/icewm %config %{_sysconfdir}/icewm/keys %config %{_sysconfdir}/icewm/menu %config %{_sysconfdir}/icewm/prefoverride %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
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor