From 73ecf2f72eeb837a077a4b617e52ef4fe91bb4af Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 16 Jun 2015 11:01:50 -0500 Subject: [PATCH] 5.11.0-2 - .spec cleanup/cosmetics - update URL - drop not-needed update-desktop-database scriptlets - use %license - own %{_kf5_datadir}/katepart5/, %{_kf5_datadir}/kxmlgui5/katepart/ --- kf5-ktexteditor.spec | 36 ++++++++++++++++++++---------------- 1 file changed, 20 insertions(+), 16 deletions(-) diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec index 07b86d2..5bd312d 100644 --- a/kf5-ktexteditor.spec +++ b/kf5-ktexteditor.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.11.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: KDE Frameworks 5 Tier 3 with advanced embeddable text editor License: LGPLv2+ -URL: http://www.kde.org +URL: https://projects.kde.org/projects/frameworks/ktexteditor %global versiondir %(echo %{version} | cut -d. -f1-2) %global revision %(echo %{version} | cut -d. -f3) @@ -61,47 +61,51 @@ 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 ktexteditor5_qt --with-qt --all-name -%post -/sbin/ldconfig -/usr/bin/update-desktop-database &> /dev/null || : - -%postun -/sbin/ldconfig -/usr/bin/update-desktop-database &> /dev/null || : +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig %files -f ktexteditor5_qt.lang -%doc COPYING.LIB README.md +%doc README.md +%license COPYING.LIB %config %{_sysconfdir}/xdg/kate* %{_kf5_libdir}/libKF5TextEditor.so.* %{_kf5_plugindir}/parts/katepart.so %{_kf5_datadir}/kservices5/katepart.desktop %{_kf5_datadir}/kservicetypes5/*.desktop -%{_kf5_datadir}/katepart5/script/ -%{_kf5_datadir}/katepart5/syntax/ -%{_kf5_datadir}/kxmlgui5/katepart/katepart5ui.rc +%{_kf5_datadir}/katepart5/ +%{_kf5_datadir}/kxmlgui5/katepart/ %files devel %{_kf5_libdir}/libKF5TextEditor.so -%{_kf5_libdir}/cmake/KF5TextEditor +%{_kf5_libdir}/cmake/KF5TextEditor/ %{_kf5_includedir}/ktexteditor_version.h -%{_kf5_includedir}/KTextEditor +%{_kf5_includedir}/KTextEditor/ %{_kf5_archdatadir}/mkspecs/modules/qt_KTextEditor.pri %changelog +* Tue Jun 16 2015 Rex Dieter - 5.11.0-2 +- .spec cleanup/cosmetics +- update URL +- drop not-needed update-desktop-database scriptlets +- use %%license +- own %%{_kf5_datadir}/katepart5/, %{_kf5_datadir}/kxmlgui5/katepart/ + * Wed Jun 10 2015 Daniel Vrátil - 5.11.0-1 - KDE Frameworks 5.11.0