move non-default desktop themes to the -desktopthemes subpackage [release 5.96.0-2mamba;Tue Jul 12 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:11:56 +01:00
parent 97c7391de6
commit 6273f9aec9

View File

@ -1,8 +1,8 @@
%define majver %(echo %version | cut -d. -f1-2) %define majver %(echo %version | cut -d. -f1-2)
Name: plasma-framework Name: plasma-framework
Version: 5.95.0 Version: 5.96.0
Release: 3mamba Release: 2mamba
Summary: KDE Frameworks 5 foundations that can be used to build a primary user interface Summary: KDE Frameworks 5 foundations that can be used to build a primary user interface
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -77,6 +77,14 @@ Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n lib%{name}-devel %description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}. 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 %package -n plasma-desktoptheme-openmamba
Group: Graphical Desktop/Look 'n' feel Group: Graphical Desktop/Look 'n' feel
Summary: Plasma desktop theme for openmamba Summary: Plasma desktop theme for openmamba
@ -123,15 +131,9 @@ done
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} %post -n lib%{name} -p /sbin/ldconfig
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
exit 0
%postun -n lib%{name} %postun -n lib%{name} -p /sbin/ldconfig
## remove the following line if no dynamic libraries are provided by this package
/sbin/ldconfig
exit 0
%files -f %{name}5_qt.lang %files -f %{name}5_qt.lang
%defattr(-,root,root) %defattr(-,root,root)
@ -151,16 +153,8 @@ exit 0
%{_datadir}/qlogging-categories5/plasma-framework.*categories %{_datadir}/qlogging-categories5/plasma-framework.*categories
%dir %{_datadir}/plasma %dir %{_datadir}/plasma
%dir %{_datadir}/plasma/desktoptheme %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 %dir %{_datadir}/plasma/desktoptheme/default
%{_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/dataengineservice.operations
%{_datadir}/plasma/services/plasmoidservice.operations %{_datadir}/plasma/services/plasmoidservice.operations
%{_datadir}/plasma/services/storage.operations %{_datadir}/plasma/services/storage.operations
@ -170,6 +164,17 @@ exit 0
%{_mandir}/man1/plasmapkg2.1* %{_mandir}/man1/plasmapkg2.1*
%{_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} %files -n lib%{name}
%defattr(-,root,root) %defattr(-,root,root)
%{_kde5_libdir}/libKF5Plasma.so.* %{_kde5_libdir}/libKF5Plasma.so.*
@ -225,6 +230,12 @@ exit 0
%{_datadir}/plasma/desktoptheme/openmamba-light/* %{_datadir}/plasma/desktoptheme/openmamba-light/*
%changelog %changelog
* Tue Jul 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.96.0-2mamba
- move non-default desktop themes to the -desktopthemes subpackage
* Mon Jul 11 2022 Automatic Build System <autodist@mambasoft.it> 5.96.0-1mamba
- automatic version update by autodist
* Sat Jul 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.95.0-3mamba * Sat Jul 02 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.95.0-3mamba
- change name in metadata of plasma desktop themes - change name in metadata of plasma desktop themes