plasma-nano/plasma-nano.spec

72 lines
2.3 KiB
RPMSpec
Raw Permalink Normal View History

%define plasmaver %(echo %version | cut -d. -f1-3)
Name: plasma-nano
Version: 5.19.0
Release: 1mamba
Summary: KDE Plasma 5 minimal shell package intended for embedded devices
Group: Graphical Desktop/Applications/Environment
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org
Source: https://download.kde.org/stable/plasma/%{plasmaver}/plasma-nano-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libkwayland-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
KDE Plasma 5 minimal shell package intended for embedded devices.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%dir %{_libdir}/qt5/qml/org/kde/plasma/private/nanoshell
%{_libdir}/qt5/qml/org/kde/plasma/private/nanoshell/*
%{_datadir}/kservices5/plasma-applet-org.kde.plasma.nano.desktop
%{_datadir}/kservices5/plasma-package-org.kde.plasma.nano.desktoptoolbox.desktop
%{_datadir}/metainfo/org.kde.plasma.nano.desktoptoolbox.appdata.xml
%dir %{_datadir}/plasma/packages/org.kde.plasma.nano.desktoptoolbox
%{_datadir}/plasma/packages/org.kde.plasma.nano.desktoptoolbox/*
%dir %{_datadir}/plasma/shells/org.kde.plasma.nano
%{_datadir}/plasma/shells/org.kde.plasma.nano/*
%doc COPYING COPYING.LIB
%changelog
* Wed Jun 10 2020 Automatic Build System <autodist@mambasoft.it> 5.19.0-1mamba
- automatic version update by autodist
* Fri May 08 2020 Automatic Build System <autodist@mambasoft.it> 5.18.5-1mamba
- automatic version update by autodist
* Thu Apr 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 5.18.4.1-1mamba
- package created using the webbuild interface