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)
Name: breeze-plymouth
Version: 5.24.5
Release: 1mamba
Version: 5.25.0
Release: 2mamba
Summary: KDE Plasma 5 boot splash theme
Group: Graphical Desktop/Look 'n' feel
Vendor: openmamba
@ -10,7 +10,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org/
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
License: GPL
## AUTOBUILDREQ-BEGIN
@ -21,10 +20,18 @@ BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRequires: plymouth-devel >= 3:0.9.4.20200311git
Requires(post): breeze-plymouth-os-logo
%description
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
%prep
@ -33,7 +40,8 @@ KDE Plasma 5 boot splash theme.
%build
%cmake_kde5 -d build \
-DDISTRO_NAME="%_distrib_id" \
-DDISTRO_VERSION="%_distrib_release (%_distrib_codename)"
-DDISTRO_VERSION="%_distrib_release (%_distrib_codename)" \
-DDISTRO_LOGO="os"
%make
@ -41,7 +49,7 @@ KDE Plasma 5 boot splash theme.
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%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
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
@ -68,10 +76,21 @@ fi
%{_datadir}/plymouth/themes/breeze/breeze.script
%dir %{_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
%doc LICENSES
%files os-logo
%defattr(-,root,root)
%{_datadir}/plymouth/themes/breeze/images/os.logo.png
%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
- automatic version update by autodist