%define majver %(echo %version | cut -d. -f1-2) Name: plasma-pk-updates Version: 0.3.2 Release: 1mamba Summary: Plasma applet for software updates using PackageKit Group: Graphical Desktop/Applications/Administration Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://devhub.io/zh/repos/caybro-plasma-pk-updates Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz # Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libkauth-devel BuildRequires: libkbookmarks-devel BuildRequires: libkcodecs-devel BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkcrash-devel BuildRequires: libkdelibs4support-devel BuildRequires: libkguiaddons-devel BuildRequires: libki18n-devel BuildRequires: libkiconthemes-devel BuildRequires: libkio-devel BuildRequires: libkitemviews-devel BuildRequires: libkjobwidgets-devel BuildRequires: libknotifications-devel BuildRequires: libkparts-devel BuildRequires: libkservice-devel BuildRequires: libktextwidgets-devel BuildRequires: libkunitconversion-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwindowsystem-devel BuildRequires: libkxmlgui-devel BuildRequires: libpackagekitqt5-devel BuildRequires: libqt5-devel BuildRequires: libsolid-devel BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Plasma applet for software updates using PackageKit. %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 --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %files -f %{name}5_qt.lang %defattr(-,root,root) %{_libdir}/qt5/qml/org/kde/plasma/PackageKit/libplasmapk_qmlplugins.so %{_libdir}/qt5/qml/org/kde/plasma/PackageKit/qmldir %{_datadir}/kservices5/plasma-applet-org.kde.plasma.pkupdates.desktop %{_datadir}/metainfo/org.kde.plasma.pkupdates.appdata.xml %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/contents %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/contents/ui/* %dir %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/contents/config %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/contents/config/* %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.desktop %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.desktop.cmake %{_datadir}/plasma/plasmoids/org.kde.plasma.pkupdates/metadata.json %doc LICENSE %changelog * Thu Aug 15 2019 Silvan Calarco 0.3.2-1mamba - package created using the webbuild interface