From a307bdb26b2364a395d40d1600360e8294156eb1 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 14 Jan 2016 10:51:46 -0600 Subject: [PATCH] cosmetics, update URL, use %license --- .gitignore | 20 -------------------- kf5-kitemviews.spec | 22 +++++++++++++--------- 2 files changed, 13 insertions(+), 29 deletions(-) diff --git a/.gitignore b/.gitignore index e5e277e..bbabae4 100644 --- a/.gitignore +++ b/.gitignore @@ -1,21 +1 @@ -/kitemviews-4.99.0.tar.xz -/kitemviews-4.100.0.tar.xz -/kitemviews-5.0.0.tar.xz -/kitemviews-5.1.0.tar.xz -/kitemviews-5.2.0.tar.xz -/kitemviews-5.3.0.tar.xz -/kitemviews-5.4.0.tar.xz -/kitemviews-5.5.0.tar.xz -/kitemviews-5.6.0.tar.xz -/kitemviews-5.7.0.tar.xz -/kitemviews-5.8.0.tar.xz -/kitemviews-5.9.0.tar.xz -/kitemviews-5.10.0.tar.xz -/kitemviews-5.11.0.tar.xz -/kitemviews-5.12.0.tar.xz -/kitemviews-5.13.0.tar.xz -/kitemviews-5.14.0.tar.xz -/kitemviews-5.15.0.tar.xz -/kitemviews-5.16.0.tar.xz -/kitemviews-5.17.0.tar.xz /kitemviews-5.18.0.tar.xz diff --git a/kf5-kitemviews.spec b/kf5-kitemviews.spec index eeb62c3..d434add 100644 --- a/kf5-kitemviews.spec +++ b/kf5-kitemviews.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.18.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 1 addon with item views License: GPLv2+ and LGPLv2+ -URL: http://www.kde.org +URL: http://projects.kde.org/kitemviews %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -17,8 +17,8 @@ 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: kf5-rpm-macros >= %{version} BuildRequires: qt5-qtbase-devel BuildRequires: qt5-qttools-devel @@ -32,7 +32,6 @@ KDE Frameworks 5 Tier 1 addon with item views. Summary: Development files for %{name} Requires: %{name}%{?_isa} = %{version}-%{release} Requires: qt5-qtbase-devel - %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. @@ -41,6 +40,7 @@ developing applications that use %{name}. %prep %setup -q -n %{framework}-%{version} + %build mkdir -p %{_target_platform} pushd %{_target_platform} @@ -49,8 +49,9 @@ popd make %{?_smp_mflags} -C %{_target_platform} + %install -%make_install -C %{_target_platform} +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang kitemviews5_qt --with-qt --all-name @@ -58,19 +59,22 @@ make %{?_smp_mflags} -C %{_target_platform} %postun -p /sbin/ldconfig %files -f kitemviews5_qt.lang -%doc COPYING COPYING.LIB README.md +%doc README.md +%license COPYING COPYING.LIB %{_kf5_libdir}/libKF5ItemViews.so.* %files devel -%doc %{_kf5_includedir}/kitemviews_version.h -%{_kf5_includedir}/KItemViews +%{_kf5_includedir}/KItemViews/ %{_kf5_libdir}/libKF5ItemViews.so -%{_kf5_libdir}/cmake/KF5ItemViews +%{_kf5_libdir}/cmake/KF5ItemViews/ %{_kf5_archdatadir}/mkspecs/modules/qt_KItemViews.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