2019-04-18 08:13:59 +02:00
|
|
|
#
|
|
|
|
# spec file for package distribution-logos-openSUSE
|
|
|
|
#
|
2024-02-01 15:43:47 +01:00
|
|
|
# Copyright (c) 2024 SUSE LLC
|
2021-06-06 18:38:13 +02:00
|
|
|
# Copyright (c) 2021 Sasi Olin <hellcp@opensuse.org>.
|
2019-04-18 08:13:59 +02:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
2019-10-18 09:08:07 +02:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2019-04-18 08:13:59 +02:00
|
|
|
#
|
|
|
|
|
2019-10-18 09:08:07 +02:00
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
Name: distribution-logos-openSUSE
|
2024-02-01 15:43:47 +01:00
|
|
|
Version: 20240201
|
2019-04-18 08:13:59 +02:00
|
|
|
Release: 0
|
2024-02-01 15:46:13 +01:00
|
|
|
Summary: Logos for openSUSE Distros
|
|
|
|
License: CC-BY-SA-4.0
|
2024-02-01 15:43:47 +01:00
|
|
|
URL: https://github.com/openSUSE/distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Source: https://github.com/openSUSE/distribution-logos/archive/refs/heads/main.zip#/distribution-logos-openSUSE-%{version}.zip
|
2021-06-06 18:38:13 +02:00
|
|
|
BuildRequires: hicolor-icon-theme
|
2024-02-01 15:43:47 +01:00
|
|
|
BuildRequires: unzip
|
2019-04-18 08:13:59 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Logos for openSUSE Distributions
|
|
|
|
|
2021-01-02 12:10:22 +01:00
|
|
|
%if 0%{?sle_version}
|
2019-04-18 08:13:59 +02:00
|
|
|
%package Leap
|
|
|
|
Summary: Logos for openSUSE Leap
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: distribution-logos
|
2019-04-18 08:13:59 +02:00
|
|
|
Obsoletes: distribution-logos
|
|
|
|
Provides: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Removepathpostfixes: .Leap
|
2019-04-18 08:13:59 +02:00
|
|
|
BuildArch: noarch
|
2019-10-18 09:08:07 +02:00
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%description Leap
|
|
|
|
Logos for openSUSE Leap
|
|
|
|
|
2022-03-24 15:40:28 +01:00
|
|
|
%package LeapMicro
|
|
|
|
Summary: Logos for openSUSE Leap Micro
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: distribution-logos
|
2022-03-24 15:40:28 +01:00
|
|
|
Obsoletes: distribution-logos
|
|
|
|
Provides: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Removepathpostfixes: .LeapMicro
|
2022-03-24 15:40:28 +01:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description LeapMicro
|
|
|
|
Logos for openSUSE Leap Micro
|
|
|
|
|
2021-01-02 12:10:22 +01:00
|
|
|
%else
|
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%package Tumbleweed
|
|
|
|
Summary: Logos for openSUSE Tumbleweed
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: distribution-logos
|
2019-04-18 08:13:59 +02:00
|
|
|
Obsoletes: distribution-logos
|
|
|
|
Provides: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Removepathpostfixes: .Tumbleweed
|
2019-04-18 08:13:59 +02:00
|
|
|
BuildArch: noarch
|
2019-10-18 09:08:07 +02:00
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%description Tumbleweed
|
|
|
|
Logos for openSUSE Tumbleweed
|
|
|
|
|
|
|
|
%package Kubic
|
|
|
|
Summary: Logos for openSUSE Kubic
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: distribution-logos
|
2019-04-18 08:13:59 +02:00
|
|
|
Obsoletes: distribution-logos
|
|
|
|
Provides: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Removepathpostfixes: .Kubic
|
2019-04-18 08:13:59 +02:00
|
|
|
BuildArch: noarch
|
2019-10-18 09:08:07 +02:00
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%description Kubic
|
|
|
|
Logos for openSUSE Kubic
|
|
|
|
|
|
|
|
%package MicroOS
|
|
|
|
Summary: Logos for openSUSE MicroOS
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: distribution-logos
|
2019-04-18 08:13:59 +02:00
|
|
|
Obsoletes: distribution-logos
|
|
|
|
Provides: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Removepathpostfixes: .MicroOS
|
2019-04-18 08:13:59 +02:00
|
|
|
BuildArch: noarch
|
2019-10-18 09:08:07 +02:00
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%description MicroOS
|
|
|
|
Logos for openSUSE MicroOS
|
|
|
|
|
2023-09-21 19:54:08 +02:00
|
|
|
%package Aeon
|
|
|
|
Summary: Logos for openSUSE Aeon
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: distribution-logos
|
2023-09-21 19:54:08 +02:00
|
|
|
Obsoletes: distribution-logos
|
|
|
|
Provides: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Removepathpostfixes: .Aeon
|
2023-09-21 19:54:08 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description Aeon
|
|
|
|
Logos for openSUSE Aeon
|
|
|
|
|
2021-01-02 12:10:22 +01:00
|
|
|
%endif
|
|
|
|
|
2021-06-06 18:38:13 +02:00
|
|
|
%package icons
|
|
|
|
Summary: Icons with distribution logos
|
|
|
|
Requires: distribution-logos
|
2024-02-01 15:46:13 +01:00
|
|
|
Conflicts: systemd-icon-branding-openSUSE
|
2021-06-06 18:38:13 +02:00
|
|
|
Provides: systemd-icon-branding
|
2022-02-18 19:09:37 +01:00
|
|
|
Obsoletes: systemd-icon-branding-openSUSE < 84.87.20210910
|
|
|
|
Provides: systemd-icon-branding-openSUSE = 84.87.20210910
|
2021-06-06 18:38:13 +02:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description icons
|
|
|
|
Icons with openSUSE distribution logos.
|
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%prep
|
2024-02-01 15:46:13 +01:00
|
|
|
%setup -q -n distribution-logos-main
|
2019-04-18 08:13:59 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
# Skip build
|
|
|
|
|
|
|
|
%install
|
2021-06-06 18:38:13 +02:00
|
|
|
export NO_BRP_STALE_LINK_ERROR=yes
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/distribution-logos
|
|
|
|
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/{scalable,symbolic}/apps
|
2021-01-02 12:10:22 +01:00
|
|
|
%if 0%{?sle_version}
|
2022-03-24 15:40:28 +01:00
|
|
|
for distro in Leap LeapMicro; do \
|
2021-01-02 12:10:22 +01:00
|
|
|
%else
|
2023-09-21 19:54:08 +02:00
|
|
|
for distro in Tumbleweed Kubic MicroOS Aeon; do \
|
2021-01-02 12:10:22 +01:00
|
|
|
%endif
|
2019-04-18 08:13:59 +02:00
|
|
|
for file in `ls ${distro}`; do \
|
|
|
|
cp -r ${distro}/${file} %{buildroot}%{_datadir}/pixmaps/distribution-logos/${file}.${distro}; \
|
|
|
|
done; \
|
2021-06-06 18:38:13 +02:00
|
|
|
cp -r ${distro}/square-hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/distributor-logo-${distro}.svg; \
|
|
|
|
cp -r ${distro}/square-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/distributor-logo-${distro}-symbolic.svg; \
|
|
|
|
done
|
|
|
|
ln -sf %{_datadir}/pixmaps/distribution-logos/square-hicolor.svg %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/distributor-logo.svg
|
|
|
|
ln -sf %{_datadir}/pixmaps/distribution-logos/square-symbolic.svg %{buildroot}%{_datadir}/icons/hicolor/symbolic/apps/distributor-logo-symbolic.svg
|
2019-04-18 08:13:59 +02:00
|
|
|
|
|
|
|
%files
|
|
|
|
%dir %{_datadir}/pixmaps/distribution-logos
|
|
|
|
|
2021-01-02 12:10:22 +01:00
|
|
|
%if 0%{?sle_version}
|
2019-04-18 08:13:59 +02:00
|
|
|
%files Leap
|
|
|
|
%{_datadir}/pixmaps/distribution-logos/*.Leap
|
|
|
|
|
2022-03-24 15:40:28 +01:00
|
|
|
%files LeapMicro
|
|
|
|
%{_datadir}/pixmaps/distribution-logos/*.LeapMicro
|
|
|
|
|
2021-01-02 12:10:22 +01:00
|
|
|
%else
|
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%files Tumbleweed
|
|
|
|
%{_datadir}/pixmaps/distribution-logos/*.Tumbleweed
|
|
|
|
|
|
|
|
%files Kubic
|
|
|
|
%{_datadir}/pixmaps/distribution-logos/*.Kubic
|
|
|
|
|
|
|
|
%files MicroOS
|
|
|
|
%{_datadir}/pixmaps/distribution-logos/*.MicroOS
|
|
|
|
|
2023-09-21 19:54:08 +02:00
|
|
|
%files Aeon
|
|
|
|
%{_datadir}/pixmaps/distribution-logos/*.Aeon
|
|
|
|
|
2021-01-02 12:10:22 +01:00
|
|
|
%endif
|
|
|
|
|
2021-06-06 18:38:13 +02:00
|
|
|
%files icons
|
|
|
|
%{_datadir}/icons/hicolor/*
|
|
|
|
|
2019-04-18 08:13:59 +02:00
|
|
|
%changelog
|