automatic version update by autodist [release 6.0.2-1mamba;Wed Mar 13 2024]
This commit is contained in:
parent
28e33704a7
commit
7264de3b19
@ -1,2 +1,4 @@
|
|||||||
# libplasma
|
# libplasma
|
||||||
|
|
||||||
|
KDE Plasma library and runtime components.
|
||||||
|
|
||||||
|
192
libplasma.spec
Normal file
192
libplasma.spec
Normal file
@ -0,0 +1,192 @@
|
|||||||
|
%define majver %(echo %version | cut -d. -f1-2)
|
||||||
|
|
||||||
|
Name: libplasma
|
||||||
|
Epoch: 1
|
||||||
|
Version: 6.0.2
|
||||||
|
Release: 1mamba
|
||||||
|
Summary: KDE Plasma library and runtime components
|
||||||
|
Group: System/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: https://kde.org/it/plasma-desktop/
|
||||||
|
Source: https://download.kde.org/%{stable_kf6}/plasma/%{version}/libplasma-%{version}.tar.xz
|
||||||
|
Source1: openmamba.svgz
|
||||||
|
Source2: openmamba-light-metadata.json.cmake
|
||||||
|
Source3: openmamba-dark-metadata.json.cmake
|
||||||
|
License: GPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libICE-devel
|
||||||
|
BuildRequires: libSM-devel
|
||||||
|
BuildRequires: libX11-devel
|
||||||
|
BuildRequires: libXext-devel
|
||||||
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libglvnd-devel
|
||||||
|
BuildRequires: libkf6-karchive-devel
|
||||||
|
BuildRequires: libkf6-kcmutils-devel
|
||||||
|
BuildRequires: libkf6-kcolorscheme-devel
|
||||||
|
BuildRequires: libkf6-kcompletion-devel
|
||||||
|
BuildRequires: libkf6-kconfig-devel
|
||||||
|
BuildRequires: libkf6-kconfigwidgets-devel
|
||||||
|
BuildRequires: libkf6-kcoreaddons-devel
|
||||||
|
BuildRequires: libkf6-kglobalaccel-devel
|
||||||
|
BuildRequires: libkf6-kguiaddons-devel
|
||||||
|
BuildRequires: libkf6-ki18n-devel
|
||||||
|
BuildRequires: libkf6-kiconthemes-devel
|
||||||
|
BuildRequires: libkf6-kio-devel
|
||||||
|
BuildRequires: libkf6-kirigami-devel
|
||||||
|
BuildRequires: libkf6-kjobwidgets-devel
|
||||||
|
BuildRequires: libkf6-knotifications-devel
|
||||||
|
BuildRequires: libkf6-kpackage-devel
|
||||||
|
BuildRequires: libkf6-kservice-devel
|
||||||
|
BuildRequires: libkf6-ksvg-devel
|
||||||
|
BuildRequires: libkf6-kwidgetsaddons-devel
|
||||||
|
BuildRequires: libkf6-kwindowsystem-devel
|
||||||
|
BuildRequires: libkf6-solid-devel
|
||||||
|
BuildRequires: libplasma-activities-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libwayland-devel
|
||||||
|
BuildRequires: libxcb-devel
|
||||||
|
BuildRequires: libxkbcommon-devel
|
||||||
|
BuildRequires: qt6-qtbase-devel
|
||||||
|
BuildRequires: qt6-qtdeclarative-devel
|
||||||
|
BuildRequires: qt6-qtsvg-devel
|
||||||
|
BuildRequires: qt6-qtwayland-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: cmake
|
||||||
|
BuildRequires: kf6-rpm-macros
|
||||||
|
BuildRequires: extra-cmake-modules
|
||||||
|
Provides: plasma-framework
|
||||||
|
Obsoletes: plasma-framework <= 5.114.0-1mamba
|
||||||
|
|
||||||
|
%description
|
||||||
|
KDE Plasma library and runtime components.
|
||||||
|
|
||||||
|
%package devel
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Development files for %{name}
|
||||||
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description 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}
|
||||||
|
Provides: plasma-framework-desktopthemes
|
||||||
|
Obsoletes: plasma-framework-desktopthemes <= 5.114.0-1mamba
|
||||||
|
|
||||||
|
%description desktopthemes
|
||||||
|
Additional Plasma desktop themes.
|
||||||
|
|
||||||
|
%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
|
||||||
|
%setup -q
|
||||||
|
cp -a src/desktoptheme/{breeze-dark,openmamba-dark}
|
||||||
|
cp -a src/desktoptheme/{breeze-light,openmamba-light}
|
||||||
|
cp -a %{SOURCE2} src/desktoptheme/openmamba-light/metadata.json.cmake
|
||||||
|
cp -a %{SOURCE3} src/desktoptheme/openmamba-dark/metadata.json.cmake
|
||||||
|
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_kf6
|
||||||
|
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
# Replace desktop menu icon (start.svgz) with openmamba icon
|
||||||
|
for d in %{buildroot}%{_datadir}/plasma/desktoptheme/*; do
|
||||||
|
[ -e ${d}/icons/start.svgz ] && install -m0644 %{SOURCE1} ${d}/icons/start.svgz
|
||||||
|
done
|
||||||
|
|
||||||
|
%find_lang %{name} --with-qt --with-man --with-html --all-name || touch %{name}.lang
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files -f %{name}.lang
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/libPlasma.so.*
|
||||||
|
%{_libdir}/libPlasmaQuick.so.*
|
||||||
|
%{_kf6_plugindir}/kirigami/platform/KirigamiPlasmaStyle.so
|
||||||
|
%{_kf6_plugindir}/packagestructure/plasma_*.so
|
||||||
|
%dir %{_qt6_qmldir}/org/kde/kirigami/styles/Plasma
|
||||||
|
%{_qt6_qmldir}/org/kde/kirigami/styles/Plasma/*
|
||||||
|
%dir %{_qt6_qmldir}/org/kde/plasma
|
||||||
|
%{_qt6_qmldir}/org/kde/plasma/*
|
||||||
|
%{_datadir}/kdevappwizard/templates/*.tar.bz2
|
||||||
|
%dir %{_datadir}/plasma/desktoptheme/default
|
||||||
|
%{_datadir}/plasma/desktoptheme/default/*
|
||||||
|
%{_datadir}/qlogging-categories6/plasma-framework.categories
|
||||||
|
%{_datadir}/qlogging-categories6/plasma-framework.renamecategories
|
||||||
|
%doc LICENSES
|
||||||
|
|
||||||
|
%files desktopthemes
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_datadir}/plasma/desktoptheme/breeze-dark
|
||||||
|
%{_datadir}/plasma/desktoptheme/breeze-dark/*
|
||||||
|
%dir %{_datadir}/plasma/desktoptheme/breeze-light
|
||||||
|
%{_datadir}/plasma/desktoptheme/breeze-light/*
|
||||||
|
%dir %{_datadir}/plasma/desktoptheme/oxygen
|
||||||
|
%{_datadir}/plasma/desktoptheme/oxygen/*
|
||||||
|
|
||||||
|
%files devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %{_includedir}/Plasma
|
||||||
|
%{_includedir}/Plasma/*
|
||||||
|
%dir %{_includedir}/PlasmaQuick
|
||||||
|
%{_includedir}/PlasmaQuick/*
|
||||||
|
%{_libdir}/libPlasma.so
|
||||||
|
%{_libdir}/libPlasmaQuick.so
|
||||||
|
%dir %{_libdir}/cmake/Plasma
|
||||||
|
%{_libdir}/cmake/Plasma/Plasma*.cmake
|
||||||
|
%dir %{_libdir}/cmake/PlasmaQuick
|
||||||
|
%{_libdir}/cmake/PlasmaQuick/PlasmaQuick*.cmake
|
||||||
|
%{_qt6_docdir}/Plasma.*
|
||||||
|
|
||||||
|
%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
|
||||||
|
* Wed Mar 13 2024 Automatic Build System <autodist@openmamba.org> 6.0.2-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 6.0.1-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Sat Mar 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-1mamba
|
||||||
|
- update to 6.0.0
|
||||||
|
|
||||||
|
* Sat Feb 03 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.93.0-1mamba
|
||||||
|
- update to 5.93.0
|
||||||
|
|
||||||
|
* Thu Feb 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.92.0-1mamba
|
||||||
|
- package created using the webbuild interface
|
19
openmamba-dark-metadata.json.cmake
Normal file
19
openmamba-dark-metadata.json.cmake
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"KPlugin": {
|
||||||
|
"Authors": [
|
||||||
|
{
|
||||||
|
"Email": "info@openmamba.org",
|
||||||
|
"Name": "Silvan Calarco"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Category": "",
|
||||||
|
"Description": "openmamba Dark theme",
|
||||||
|
"EnabledByDefault": true,
|
||||||
|
"Id": "breeze-dark",
|
||||||
|
"License": "LGPL",
|
||||||
|
"Name": "openmamba Dark",
|
||||||
|
"Version": "1.0",
|
||||||
|
"Website": "https://openmamba.org"
|
||||||
|
},
|
||||||
|
"X-Plasma-API": "5.0"
|
||||||
|
}
|
19
openmamba-light-metadata.json.cmake
Normal file
19
openmamba-light-metadata.json.cmake
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"KPlugin": {
|
||||||
|
"Authors": [
|
||||||
|
{
|
||||||
|
"Email": "info@openmamba.org",
|
||||||
|
"Name": "Silvan Calarco"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"Category": "",
|
||||||
|
"Description": "openmamba Light theme",
|
||||||
|
"EnabledByDefault": true,
|
||||||
|
"Id": "default",
|
||||||
|
"License": "LGPL",
|
||||||
|
"Name": "openmamba Light",
|
||||||
|
"Version": "1.0",
|
||||||
|
"Website": "https://openmamba.org"
|
||||||
|
},
|
||||||
|
"X-Plasma-API": "5.0"
|
||||||
|
}
|
BIN
openmamba.svgz
Normal file
BIN
openmamba.svgz
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user