diff --git a/plasma-framework.spec b/plasma-framework.spec index ef83772..14c1e0f 100644 --- a/plasma-framework.spec +++ b/plasma-framework.spec @@ -2,7 +2,7 @@ Name: plasma-framework Version: 5.95.0 -Release: 1mamba +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 -n plasma-desktoptheme-openmamba +Group: Graphical Desktop/Look 'n' feel +Summary: Plasma desktop theme for openmamba +Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} + +%description -n plasma-desktoptheme-openmamba +Plasma desktop theme for openmamba. + %debug_package %prep @@ -84,6 +92,15 @@ This package contains libraries and header files for developing applications tha #%ifarch arm #%patch0 -p1 #%endif +cp -a src/desktoptheme/{breeze-dark,openmamba-dark} +cp -a src/desktoptheme/{breeze-light,openmamba-light} +sed -i "s|61,174,233|82,174,50|" src/desktoptheme/openmamba-{light,dark}/colors +sed -i "s|defaultWallpaperTheme=.*|defaultWallpaperTheme=openmambaRandom|" src/desktoptheme/openmamba-{light,dark}/plasmarc +sed -i "s|desktoptheme/breeze|desktoptheme/openmamba|" src/desktoptheme/openmamba-{light,dark}/CMakeLists.txt +cat >> src/desktoptheme/CMakeLists.txt << _EOF +add_subdirectory( openmamba-dark ) +add_subdirectory( openmamba-light ) +_EOF %build %cmake_kde5 -d build @@ -197,7 +214,17 @@ exit 0 %{_kde5_libdir}/libKF5Plasma.so %{_kde5_libdir}/libKF5PlasmaQuick.so +%files -n plasma-desktoptheme-openmamba +%defattr(-,root,root) +%dir %{_datadir}/plasma/desktoptheme/openmamba-dark +%{_datadir}/plasma/desktoptheme/openmamba-dark/* +%dir %{_datadir}/plasma/desktoptheme/openmamba-light +%{_datadir}/plasma/desktoptheme/openmamba-light/* + %changelog +* Fri Jul 01 2022 Silvan Calarco 5.95.0-2mamba +- add openmamba plasma desktop themes + * Wed Jun 15 2022 Automatic Build System 5.95.0-1mamba - automatic version update by autodist