From 6273f9aec9c2cb164611d99a8bf497e8896ec997 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 10:11:56 +0100 Subject: [PATCH] move non-default desktop themes to the -desktopthemes subpackage [release 5.96.0-2mamba;Tue Jul 12 2022] --- plasma-framework.spec | 47 ++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 18 deletions(-) diff --git a/plasma-framework.spec b/plasma-framework.spec index 807bc7b..74c82d6 100644 --- a/plasma-framework.spec +++ b/plasma-framework.spec @@ -1,8 +1,8 @@ %define majver %(echo %version | cut -d. -f1-2) Name: plasma-framework -Version: 5.95.0 -Release: 3mamba +Version: 5.96.0 +Release: 2mamba Summary: KDE Frameworks 5 foundations that can be used to build a primary user interface Group: System/Libraries Vendor: openmamba @@ -77,6 +77,14 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. +%package desktopthemes +Group: Graphical Desktop/Look 'n' feel +Summary: Additional Plasma desktop themes +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description desktopthemes +Additional Plasma desktop themes. + %package -n plasma-desktoptheme-openmamba Group: Graphical Desktop/Look 'n' feel Summary: Plasma desktop theme for openmamba @@ -123,15 +131,9 @@ done %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%post -n lib%{name} -## remove the following line if no dynamic libraries are provided by this package -/sbin/ldconfig -exit 0 +%post -n lib%{name} -p /sbin/ldconfig -%postun -n lib%{name} -## remove the following line if no dynamic libraries are provided by this package -/sbin/ldconfig -exit 0 +%postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}5_qt.lang %defattr(-,root,root) @@ -151,16 +153,8 @@ exit 0 %{_datadir}/qlogging-categories5/plasma-framework.*categories %dir %{_datadir}/plasma %dir %{_datadir}/plasma/desktoptheme -%dir %{_datadir}/plasma/desktoptheme/air -%{_datadir}/plasma/desktoptheme/air/* -%dir %{_datadir}/plasma/desktoptheme/breeze-light -%{_datadir}/plasma/desktoptheme/breeze-light/* -%dir %{_datadir}/plasma/desktoptheme/breeze-dark -%{_datadir}/plasma/desktoptheme/breeze-dark/* %dir %{_datadir}/plasma/desktoptheme/default %{_datadir}/plasma/desktoptheme/default/* -%dir %{_datadir}/plasma/desktoptheme/oxygen -%{_datadir}/plasma/desktoptheme/oxygen/* %{_datadir}/plasma/services/dataengineservice.operations %{_datadir}/plasma/services/plasmoidservice.operations %{_datadir}/plasma/services/storage.operations @@ -170,6 +164,17 @@ exit 0 %{_mandir}/man1/plasmapkg2.1* %{_mandir}/*/man1/plasmapkg2.1* +%files desktopthemes +%defattr(-,root,root) +%dir %{_datadir}/plasma/desktoptheme/air +%{_datadir}/plasma/desktoptheme/air/* +%dir %{_datadir}/plasma/desktoptheme/breeze-light +%{_datadir}/plasma/desktoptheme/breeze-light/* +%dir %{_datadir}/plasma/desktoptheme/breeze-dark +%{_datadir}/plasma/desktoptheme/breeze-dark/* +%dir %{_datadir}/plasma/desktoptheme/oxygen +%{_datadir}/plasma/desktoptheme/oxygen/* + %files -n lib%{name} %defattr(-,root,root) %{_kde5_libdir}/libKF5Plasma.so.* @@ -225,6 +230,12 @@ exit 0 %{_datadir}/plasma/desktoptheme/openmamba-light/* %changelog +* Tue Jul 12 2022 Silvan Calarco 5.96.0-2mamba +- move non-default desktop themes to the -desktopthemes subpackage + +* Mon Jul 11 2022 Automatic Build System 5.96.0-1mamba +- automatic version update by autodist + * Sat Jul 02 2022 Silvan Calarco 5.95.0-3mamba - change name in metadata of plasma desktop themes