From 5081a223eb3f5e9027856646c82c7f0003c3df6c Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 14 Jan 2016 11:29:04 -0600 Subject: [PATCH] cosmetics, update URL, use %license --- .gitignore | 19 ------------------- kf5-kparts.spec | 21 +++++++++++++-------- 2 files changed, 13 insertions(+), 27 deletions(-) diff --git a/.gitignore b/.gitignore index 45ab551..fe45733 100644 --- a/.gitignore +++ b/.gitignore @@ -1,20 +1 @@ -/kparts-4.100.0.tar.xz -/kparts-5.0.0.tar.xz -/kparts-5.1.0.tar.xz -/kparts-5.2.0.tar.xz -/kparts-5.3.0.tar.xz -/kparts-5.4.0.tar.xz -/kparts-5.5.0.tar.xz -/kparts-5.6.0.tar.xz -/kparts-5.7.0.tar.xz -/kparts-5.8.0.tar.xz -/kparts-5.9.0.tar.xz -/kparts-5.10.0.tar.xz -/kparts-5.11.0.tar.xz -/kparts-5.12.0.tar.xz -/kparts-5.13.0.tar.xz -/kparts-5.14.0.tar.xz -/kparts-5.15.0.tar.xz -/kparts-5.16.0.tar.xz -/kparts-5.17.0.tar.xz /kparts-5.18.0.tar.xz diff --git a/kf5-kparts.spec b/kf5-kparts.spec index be4fb2e..1273a9c 100644 --- a/kf5-kparts.spec +++ b/kf5-kparts.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 for KParts License: GPLv2+ -URL: http://www.kde.org +URL: http://projects.kde.org/kparts %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,10 +17,7 @@ URL: http://www.kde.org %endif Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz -BuildRequires: kf5-rpm-macros >= %{version} BuildRequires: extra-cmake-modules >= %{version} -BuildRequires: qt5-qtbase-devel - BuildRequires: kf5-kconfig-devel >= %{version} BuildRequires: kf5-kcoreaddons-devel >= %{version} BuildRequires: kf5-ki18n-devel >= %{version} @@ -32,6 +29,8 @@ BuildRequires: kf5-kservice-devel >= %{version} BuildRequires: kf5-ktextwidgets-devel >= %{version} BuildRequires: kf5-kwidgetsaddons-devel >= %{version} BuildRequires: kf5-kxmlgui-devel >= %{version} +BuildRequires: kf5-rpm-macros >= %{version} +BuildRequires: qt5-qtbase-devel Requires: kf5-filesystem >= %{version} @@ -44,7 +43,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release} Requires: kf5-kio-devel >= %{version} Requires: kf5-ktextwidgets-devel >= %{version} Requires: kf5-kxmlgui-devel >= %{version} - %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -53,16 +51,19 @@ 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} + %find_lang kparts5_qt --with-qt --all-name @@ -70,7 +71,8 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %postun -p /sbin/ldconfig %files -f kparts5_qt.lang -%doc COPYING.LIB README.md AUTHORS +%doc README.md AUTHORS +%license COPYING.LIB %{_kf5_libdir}/libKF5Parts.so.* %{_kf5_datadir}/kservicetypes5/*.desktop @@ -83,6 +85,9 @@ make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %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