diff --git a/.gitignore b/.gitignore index f5df5c1..93a6b4b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,28 +1 @@ -/kxmlrpcclient-5.18.0.tar.xz -/kxmlrpcclient-5.19.0.tar.xz -/kxmlrpcclient-5.20.0.tar.xz -/kxmlrpcclient-5.21.0.tar.xz -/kxmlrpcclient-5.22.0.tar.xz -/kxmlrpcclient-5.23.0.tar.xz -/kxmlrpcclient-5.24.0.tar.xz -/kxmlrpcclient-5.25.0.tar.xz -/kxmlrpcclient-5.26.0.tar.xz -/kxmlrpcclient-5.27.0.tar.xz -/kxmlrpcclient-5.29.0.tar.xz -/kxmlrpcclient-5.31.0.tar.xz -/kxmlrpcclient-5.32.0.tar.xz -/kxmlrpcclient-5.33.0.tar.xz -/kxmlrpcclient-5.34.0.tar.xz -/kxmlrpcclient-5.35.0.tar.xz -/kxmlrpcclient-5.36.0.tar.xz -/kxmlrpcclient-5.37.0.tar.xz -/kxmlrpcclient-5.38.0.tar.xz -/kxmlrpcclient-5.39.0.tar.xz -/kxmlrpcclient-5.40.0.tar.xz -/kxmlrpcclient-5.41.0.tar.xz -/kxmlrpcclient-5.42.0.tar.xz -/kxmlrpcclient-5.43.0.tar.xz -/kxmlrpcclient-5.44.0.tar.xz -/kxmlrpcclient-5.45.0.tar.xz -/kxmlrpcclient-5.46.0.tar.xz /kxmlrpcclient-5.47.0.tar.xz diff --git a/kf5-kxmlrpcclient.spec b/kf5-kxmlrpcclient.spec index 0133de2..ff71241 100644 --- a/kf5-kxmlrpcclient.spec +++ b/kf5-kxmlrpcclient.spec @@ -1,26 +1,26 @@ %global framework kxmlrpcclient -Name: kf5-%{framework} +Name: kf5-%{framework} Version: 5.47.0 -Release: 1%{?dist} -Summary: KDE Frameworks 5 Tier 3 library for interaction with XML RPC services +Release: 2%{?dist} +Summary: KDE Frameworks 5 Tier 3 library for interaction with XML RPC services -License: LGPLv2+ and BSD -URL: https://cgit.kde.org/%{framework}.git +License: LGPLv2+ and BSD +URL: https://cgit.kde.org/%{framework}.git -%global versiondir %(echo %{version} | cut -d. -f1-2) +%global majmin %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif -Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz +Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz -BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: kf5-ki18n-devel >= %{version} -BuildRequires: kf5-kio-devel >= %{version} -BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: extra-cmake-modules >= %{majmin} +BuildRequires: kf5-ki18n-devel >= %{majmin} +BuildRequires: kf5-kio-devel >= %{majmin} +BuildRequires: kf5-rpm-macros BuildRequires: qt5-qtbase-devel %description @@ -29,7 +29,7 @@ KDE Frameworks 5 Tier 3 library for interaction with XML RPC services. %package devel Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: kf5-kio-devel >= %{version} +Requires: kf5-kio-devel >= %{majmin} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -51,12 +51,12 @@ popd %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} -%find_lang kxmlrpcclient5_qt --all-name +%find_lang %{name} --all-name %ldconfig_scriptlets -%files -f kxmlrpcclient5_qt.lang +%files -f %{name}.lang %doc README.md %license COPYING.BSD %{_kf5_sysconfdir}/xdg/%{framework}.*