2024-01-06 10:15:51 +01:00
|
|
|
%define majver %(echo %version | cut -d. -f1-2)
|
|
|
|
|
|
|
|
Name: plasma-pk-updates
|
2024-01-06 10:15:51 +01:00
|
|
|
Version: 0.3.2.20200829git
|
|
|
|
Release: 2mamba
|
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>
|
|
|
|
URL: https://devhub.io/zh/repos/caybro-plasma-pk-updates
|
2024-01-06 10:15:51 +01:00
|
|
|
#Source: https://download.kde.org/stable/plasma-pk-updates/%{version}/plasma-pk-updates-%{version}.tar.xz
|
|
|
|
Source: https://anongit.kde.org/plasma-pk-updates.git/master/plasma-pk-updates-%{version}.tar.bz2
|
2024-01-06 10:15:51 +01:00
|
|
|
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
|
2024-01-06 10:15:51 +01:00
|
|
|
Patch0: plasma-pk-updates-0.3.2.20190908git-kde4libssupport.patch
|
2024-01-06 10:15:51 +01:00
|
|
|
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
|
2024-01-06 10:15:51 +01:00
|
|
|
%patch0 -p1 -R
|
|
|
|
|
|
|
|
# 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-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
|