split os logo into a subpackage [release 5.25.0-2mamba;Thu Jun 16 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 20:59:07 +01:00
parent d63d6b7299
commit af77d03024

View File

@ -1,8 +1,8 @@
%define plasmaver %(echo %version | cut -d. -f1-3) %define plasmaver %(echo %version | cut -d. -f1-3)
Name: breeze-plymouth Name: breeze-plymouth
Version: 5.24.5 Version: 5.25.0
Release: 1mamba Release: 2mamba
Summary: KDE Plasma 5 boot splash theme Summary: KDE Plasma 5 boot splash theme
Group: Graphical Desktop/Look 'n' feel Group: Graphical Desktop/Look 'n' feel
Vendor: openmamba Vendor: openmamba
@ -10,7 +10,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/ URL: https://kde.org/
Source: https://download.kde.org/stable/plasma/%{plasmaver}/breeze-plymouth-%{version}.tar.xz Source: https://download.kde.org/stable/plasma/%{plasmaver}/breeze-plymouth-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
Source1: openmamba.plasma.logo.png Source1: openmamba.plasma.logo.png
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
@ -21,10 +20,18 @@ BuildRequires: cmake
BuildRequires: rpm-macros-kde5 BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules BuildRequires: extra-cmake-modules
BuildRequires: plymouth-devel >= 3:0.9.4.20200311git BuildRequires: plymouth-devel >= 3:0.9.4.20200311git
Requires(post): breeze-plymouth-os-logo
%description %description
KDE Plasma 5 boot splash theme. KDE Plasma 5 boot splash theme.
%package os-logo
Group: Graphical Desktop/Look 'n' feel
Summary: openmamba OS logo for Breeze boot splash theme
%description os-logo
openmamba OS logo for Breeze boot splash theme.
%debug_package %debug_package
%prep %prep
@ -33,7 +40,8 @@ KDE Plasma 5 boot splash theme.
%build %build
%cmake_kde5 -d build \ %cmake_kde5 -d build \
-DDISTRO_NAME="%_distrib_id" \ -DDISTRO_NAME="%_distrib_id" \
-DDISTRO_VERSION="%_distrib_release (%_distrib_codename)" -DDISTRO_VERSION="%_distrib_release (%_distrib_codename)" \
-DDISTRO_LOGO="os"
%make %make
@ -41,7 +49,7 @@ KDE Plasma 5 boot splash theme.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/plymouth/themes/breeze/images/plasma.logo.png install -m0644 %{SOURCE1} %{buildroot}%{_datadir}/plymouth/themes/breeze/images/os.logo.png
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -68,10 +76,21 @@ fi
%{_datadir}/plymouth/themes/breeze/breeze.script %{_datadir}/plymouth/themes/breeze/breeze.script
%dir %{_datadir}/plymouth/themes/breeze/images %dir %{_datadir}/plymouth/themes/breeze/images
%{_datadir}/plymouth/themes/breeze/images/* %{_datadir}/plymouth/themes/breeze/images/*
%exclude %{_datadir}/plymouth/themes/breeze/images/os.logo.png
%{_datadir}/plymouth/themes/breeze/preview.png %{_datadir}/plymouth/themes/breeze/preview.png
%doc LICENSES %doc LICENSES
%files os-logo
%defattr(-,root,root)
%{_datadir}/plymouth/themes/breeze/images/os.logo.png
%changelog %changelog
* Thu Jun 16 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.25.0-2mamba
- split os logo into a subpackage
* Tue Jun 14 2022 Automatic Build System <autodist@mambasoft.it> 5.25.0-1mamba
- automatic version update by autodist
* Wed May 04 2022 Automatic Build System <autodist@mambasoft.it> 5.24.5-1mamba * Wed May 04 2022 Automatic Build System <autodist@mambasoft.it> 5.24.5-1mamba
- automatic version update by autodist - automatic version update by autodist