From db39fd132659d8383951e8854f42e09ae2e0b214 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 14 Jan 2016 12:07:08 -0600 Subject: [PATCH] cosmetics, update URL, use %license --- .gitignore | 19 ------------------- kf5-krunner.spec | 30 +++++++++++++++++------------- 2 files changed, 17 insertions(+), 32 deletions(-) diff --git a/.gitignore b/.gitignore index 46593b7..7bf8ced 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1 @@ -/krunner-4.100.0.tar.xz -/krunner-5.0.0.tar.xz -/krunner-5.1.0.tar.xz -/krunner-5.2.0.tar.xz -/krunner-5.3.0.tar.xz -/krunner-5.4.0.tar.xz -/krunner-5.5.0.tar.xz -/krunner-5.6.0.tar.xz -/krunner-5.7.0.tar.xz -/krunner-5.8.0.tar.xz -/krunner-5.9.0.tar.xz -/krunner-5.10.0.tar.xz -/krunner-5.11.0.tar.xz -/krunner-5.12.0.tar.xz -/krunner-5.13.0.tar.xz -/krunner-5.14.0.tar.xz -/krunner-5.15.0.tar.xz -/krunner-5.16.0.tar.xz -/krunner-5.17.0.tar.xz /krunner-5.18.0.tar.xz diff --git a/kf5-krunner.spec b/kf5-krunner.spec index 8f48c14..97e17f6 100644 --- a/kf5-krunner.spec +++ b/kf5-krunner.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 solution with parallelized query system License: LGPLv2+ and BSD -URL: http://www.kde.org +URL: http://projects.kde.org/krunner %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,19 +17,18 @@ URL: http://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/portingAids/%{framework}-%{version}.tar.xz -BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: qt5-qtbase-devel -BuildRequires: qt5-qtdeclarative-devel -BuildRequires: kf5-kio-devel >= %{version} - BuildRequires: kf5-kconfig-devel >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{version} +BuildRequires: kf5-kio-devel >= %{version} BuildRequires: kf5-kservice-devel >= %{version} BuildRequires: kf5-plasma-devel >= %{version} +BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: kf5-solid-devel >= %{version} BuildRequires: kf5-threadweaver-devel >= %{version} +BuildRequires: qt5-qtbase-devel +BuildRequires: qt5-qtdeclarative-devel Requires: kf5-filesystem >= %{version} @@ -41,7 +40,6 @@ Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: kf5-plasma-devel >= %{version} Requires: qt5-qtbase-devel - %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -50,14 +48,16 @@ developing applications that use %{name}. %prep %setup -q -n %{framework}-%{version} + %build -mkdir -p %{_target_platform} +mkdir %{_target_platform} pushd %{_target_platform} %{cmake_kf5} .. popd make %{?_smp_mflags} -C %{_target_platform} + %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} @@ -66,20 +66,24 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %postun -p /sbin/ldconfig %files +%doc README.md +%license COPYING.LIB %{_kf5_libdir}/libKF5Runner.so.* -%{_kf5_qmldir}/org/kde/runnermodel +%{_kf5_qmldir}/org/kde/runnermodel/ %{_kf5_datadir}/kservicetypes5/plasma-runner.desktop %files devel -%doc %{_kf5_includedir}/krunner_version.h -%{_kf5_includedir}/KRunner +%{_kf5_includedir}/KRunner/ %{_kf5_libdir}/libKF5Runner.so -%{_kf5_libdir}/cmake/KF5Runner +%{_kf5_libdir}/cmake/KF5Runner/ %{_kf5_archdatadir}/mkspecs/modules/qt_KRunner.pri %changelog +* Thu Jan 14 2016 Rex Dieter 5.18.0-2 +- cosmetics, update URL, use %%license + * Sun Jan 03 2016 Daniel Vrátil - 5.18.0-1 - KDE Frameworks 5.18.0