plasma-welcome/plasma-welcome.spec

78 lines
2.2 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: plasma-welcome
Version: 5.27.1
Release: 1mamba
Summary: A Friendly onboarding wizard for Plasma
Group: Graphical Desktop/Applications/Configuration
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/plasma/%{version}/plasma-welcome-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libkauth-devel
BuildRequires: libkcodecs-devel
BuildRequires: libkconfig-devel
BuildRequires: libkconfigwidgets-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libkdbusaddons-devel
BuildRequires: libkdeclarative-devel
BuildRequires: libki18n-devel
BuildRequires: libkio-devel
BuildRequires: libknotifications-devel
BuildRequires: libkservice-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libkwindowsystem-devel
BuildRequires: libstdc++6-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtquickcontrols2-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
%description
A Friendly onboarding wizard for Plasma.
%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)
%{_sysconfdir}/xdg/autostart/org.kde.plasma-welcome.desktop
%{_bindir}/plasma-welcome
%dir %{_libdir}/qt5/qml/org/kde/plasma/welcome
%{_libdir}/qt5/qml/org/kde/plasma/welcome/*
%{_datadir}/applications/org.kde.plasma-welcome.desktop
%{_datadir}/metainfo/org.kde.plasma-welcome.appdata.xml
%doc LICENSES
%changelog
* Wed Feb 22 2023 Automatic Build System <autodist@mambasoft.it> 5.27.1-1mamba
- automatic version update by autodist
* Sun Feb 19 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 5.27.0-1mamba
- package created using the webbuild interface