diff --git a/kf5-ktexteditor.spec b/kf5-ktexteditor.spec index ab83ca0..af63548 100644 --- a/kf5-ktexteditor.spec +++ b/kf5-ktexteditor.spec @@ -2,11 +2,11 @@ Name: kf5-%{framework} Version: 5.6.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) @@ -65,8 +65,11 @@ popd make %{?_smp_mflags} -C %{_target_platform} %install -%make_install -C %{_target_platform} -%find_lang ktexteditor5_qt --with-qt --all-name +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} +%find_lang %{name} --with-qt --all-name + +# create/own plugindir +mkdir -p %{buildroot}%{_kf5_qtplugindir}/ktexteditor %post @@ -77,26 +80,31 @@ make %{?_smp_mflags} -C %{_target_platform} /sbin/ldconfig /usr/bin/update-desktop-database &> /dev/null || : -%files -f ktexteditor5_qt.lang +%files -f %{name}.lang %doc COPYING.LIB README.md %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/ +%{_kf5_qtplugindir}/ktexteditor/ %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 +* Mon Feb 02 2015 Rex Dieter - 5.6.0-2 +- own %%{_kf5_datadir}/katepart5/, %%{_kf5_datadir}/kxmlgui5/katepart/, %%{_kf5_qtplugindir}/ktexteditor/ +- better URL +- use 'make install/fast' + * Thu Jan 08 2015 Daniel Vrátil - 5.6.0-1 - KDE Frameworks 5.6.0