2024-01-06 10:15:51 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
2024-03-16 17:39:48 +01:00
|
|
|
%define gitver %(echo %version | cut -d. -f5)
|
2024-01-06 10:15:51 +01:00
|
|
|
Name: plasma-pk-updates
|
2024-03-16 17:39:48 +01:00
|
|
|
Version: 0.3.2.20240314git.6c11a780
|
|
|
|
Release: 1mamba
|
2024-01-06 10:15:51 +01:00
|
|
|
Summary: Plasma applet for software updates using PackageKit
|
|
|
|
Group: Graphical Desktop/Applications/Administration
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:15:52 +01:00
|
|
|
URL: https://invent.kde.org/system/plasma-pk-updates
|
2024-03-16 17:39:48 +01:00
|
|
|
Source: https://invent.kde.org/system/plasma-pk-updates.git/master@%{gitver}/plasma-pk-updates-%{version}.tar.bz2
|
2024-01-06 10:15:51 +01:00
|
|
|
Patch0: plasma-pk-updates-0.3.2.20190908git-kde4libssupport.patch
|
2024-01-06 10:15:52 +01:00
|
|
|
Patch1: plasma-pk-updates-0.3.2.20200829git-workaround-disable-network-online-check.patch
|
2024-01-06 10:15:51 +01:00
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-03-16 17:39:48 +01:00
|
|
|
BuildRequires: libX11-devel
|
2024-01-06 10:15:51 +01:00
|
|
|
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: libsolid-devel
|
|
|
|
BuildRequires: libsonnet-devel
|
|
|
|
BuildRequires: libstdc++6-devel
|
2024-03-16 17:39:48 +01:00
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
BuildRequires: qt5-qtdeclarative-devel
|
2024-01-06 10:15:51 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRequires: cmake
|
|
|
|
BuildRequires: rpm-macros-kde5
|
|
|
|
BuildRequires: extra-cmake-modules
|
|
|
|
|
|
|
|
%description
|
|
|
|
Plasma applet for software updates using PackageKit.
|
|
|
|
|
|
|
|
%debug_package
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 10:15:51 +01:00
|
|
|
%patch0 -p1 -R
|
2024-03-16 17:39:48 +01:00
|
|
|
#%patch1 -p1
|
2024-01-06 10:15:51 +01:00
|
|
|
|
|
|
|
# Get translations
|
|
|
|
for l in ca ca@valencia cs da de en_GB es fi fr gl he it ja lt nl nn pl pt pt_BR ru sk sv tr uk zh_CN zh_TW; do
|
|
|
|
svn co svn://anonsvn.kde.org/home/kde/trunk/l10n-kf5/$l/messages/plasma-pk-updates po/$l
|
|
|
|
done
|
|
|
|
|
|
|
|
cat >> CMakeLists.txt << _EOF
|
|
|
|
ki18n_install(po)
|
|
|
|
_EOF
|
2024-01-06 10:15:51 +01:00
|
|
|
|
|
|
|
%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
|
2024-01-06 10:15:51 +01:00
|
|
|
%{_datadir}/knotifications5/plasma_pk_updates.notifyrc
|
2024-01-06 10:15:51 +01:00
|
|
|
%{_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
|
2024-03-16 17:39:48 +01:00
|
|
|
* Thu Mar 14 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20240314git.6c11a780-1mamba
|
|
|
|
- update to 0.3.2.20240314git.6c11a780
|
|
|
|
|
2024-01-06 10:15:52 +01:00
|
|
|
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20200829git-3mamba
|
|
|
|
- patched to disable network online check to workaround issue since NetworkManager 1.32
|
|
|
|
|
2024-01-06 10:15:51 +01:00
|
|
|
* Thu Sep 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20200829git-2mamba
|
|
|
|
- added translations from anonsvn.kde.org
|
|
|
|
|
|
|
|
* Sat Aug 29 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20200829git-1mamba
|
|
|
|
- update to 0.3.2.20200829git
|
|
|
|
|
|
|
|
* Sun Sep 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2.20190908git-1mamba
|
|
|
|
- update to 0.3.2.20190908git
|
|
|
|
|
2024-01-06 10:15:51 +01:00
|
|
|
* Thu Aug 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.3.2-1mamba
|
|
|
|
- package created using the webbuild interface
|