add openmamba plasma desktop themes [release 5.95.0-2mamba;Fri Jul 01 2022]

This commit is contained in:
Silvan Calarco 2024-01-06 10:11:56 +01:00
parent 0259bb0e86
commit fa9bca713f

View File

@ -2,7 +2,7 @@
Name: plasma-framework Name: plasma-framework
Version: 5.95.0 Version: 5.95.0
Release: 1mamba 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 -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 %debug_package
%prep %prep
@ -84,6 +92,15 @@ This package contains libraries and header files for developing applications tha
#%ifarch arm #%ifarch arm
#%patch0 -p1 #%patch0 -p1
#%endif #%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 %build
%cmake_kde5 -d build %cmake_kde5 -d build
@ -197,7 +214,17 @@ exit 0
%{_kde5_libdir}/libKF5Plasma.so %{_kde5_libdir}/libKF5Plasma.so
%{_kde5_libdir}/libKF5PlasmaQuick.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 %changelog
* Fri Jul 01 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 5.95.0-2mamba
- add openmamba plasma desktop themes
* Wed Jun 15 2022 Automatic Build System <autodist@mambasoft.it> 5.95.0-1mamba * Wed Jun 15 2022 Automatic Build System <autodist@mambasoft.it> 5.95.0-1mamba
- automatic version update by autodist - automatic version update by autodist