-%define kdeappsver 19.04.1
+%define kdeappsver 20.12.3
%define kframever 5.56.0
%define qtver 5.9.0
%define kaname grantleetheme
Summary: Grantlee Theme
Name: ka5-%{kaname}
-Version: 19.04.1
+Version: 20.12.3
Release: 1
License: GPL v2+/LGPL v2.1+
Group: X11/Libraries
-Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
-# Source0-md5: 2afb0d6f119f9d6aca3529ab4dd10bb0
+Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
+# Source0-md5: 7acbcdb0cd100686e96558697cac3b61
URL: http://www.kde.org/
BuildRequires: Qt5Core-devel >= %{qtver}
BuildRequires: cmake >= 2.8.12
+BuildRequires: grantlee-qt5-devel >= 5.2
BuildRequires: kf5-extra-cmake-modules >= %{kframever}
BuildRequires: ninja
BuildRequires: qt5-build >= %{qtver}
%files -f %{kaname}.lang
%defattr(644,root,root,755)
-/etc/xdg/grantleetheme.categories
-/etc/xdg/grantleetheme.renamecategories
-%attr(755,root,root) %{_libdir}/grantlee/5.1/kde_grantlee_plugin.so
+%attr(755,root,root) %{_libdir}/grantlee/5.2/kde_grantlee_plugin.so
%attr(755,root,root) %ghost %{_libdir}/libKF5GrantleeTheme.so.5
%attr(755,root,root) %{_libdir}/libKF5GrantleeTheme.so.5.*.*
+%{_datadir}/qlogging-categories5/grantleetheme.categories
+%{_datadir}/qlogging-categories5/grantleetheme.renamecategories
%files devel
%defattr(644,root,root,755)