- own %{_kf5_datadir}/katepart5/, %{_kf5_datadir}/kxmlgui5/katepart/, %{_kf5_qtplugindir}/ktexteditor/
- better URL
- use 'make install/fast'
epel9
Rex Dieter 10 years ago
parent 6b71c33cec
commit 17a93f365e

@ -2,11 +2,11 @@
Name: kf5-%{framework} Name: kf5-%{framework}
Version: 5.6.0 Version: 5.6.0
Release: 1%{?dist} Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 3 with advanced embeddable text editor Summary: KDE Frameworks 5 Tier 3 with advanced embeddable text editor
License: LGPLv2+ License: LGPLv2+
URL: http://www.kde.org URL: https://projects.kde.org/projects/frameworks/ktexteditor
%global versiondir %(echo %{version} | cut -d. -f1-2) %global versiondir %(echo %{version} | cut -d. -f1-2)
%global revision %(echo %{version} | cut -d. -f3) %global revision %(echo %{version} | cut -d. -f3)
@ -65,8 +65,11 @@ popd
make %{?_smp_mflags} -C %{_target_platform} make %{?_smp_mflags} -C %{_target_platform}
%install %install
%make_install -C %{_target_platform} make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang ktexteditor5_qt --with-qt --all-name %find_lang %{name} --with-qt --all-name
# create/own plugindir
mkdir -p %{buildroot}%{_kf5_qtplugindir}/ktexteditor
%post %post
@ -77,26 +80,31 @@ make %{?_smp_mflags} -C %{_target_platform}
/sbin/ldconfig /sbin/ldconfig
/usr/bin/update-desktop-database &> /dev/null || : /usr/bin/update-desktop-database &> /dev/null || :
%files -f ktexteditor5_qt.lang %files -f %{name}.lang
%doc COPYING.LIB README.md %doc COPYING.LIB README.md
%config %{_sysconfdir}/xdg/kate* %config %{_sysconfdir}/xdg/kate*
%{_kf5_libdir}/libKF5TextEditor.so.* %{_kf5_libdir}/libKF5TextEditor.so.*
%{_kf5_plugindir}/parts/katepart.so %{_kf5_plugindir}/parts/katepart.so
%{_kf5_datadir}/kservices5/katepart.desktop %{_kf5_datadir}/kservices5/katepart.desktop
%{_kf5_datadir}/kservicetypes5/*.desktop %{_kf5_datadir}/kservicetypes5/*.desktop
%{_kf5_datadir}/katepart5/script/ %{_kf5_datadir}/katepart5/
%{_kf5_datadir}/katepart5/syntax/ %{_kf5_datadir}/kxmlgui5/katepart/
%{_kf5_datadir}/kxmlgui5/katepart/katepart5ui.rc %{_kf5_qtplugindir}/ktexteditor/
%files devel %files devel
%{_kf5_libdir}/libKF5TextEditor.so %{_kf5_libdir}/libKF5TextEditor.so
%{_kf5_libdir}/cmake/KF5TextEditor %{_kf5_libdir}/cmake/KF5TextEditor/
%{_kf5_includedir}/ktexteditor_version.h %{_kf5_includedir}/ktexteditor_version.h
%{_kf5_includedir}/KTextEditor %{_kf5_includedir}/KTextEditor/
%{_kf5_archdatadir}/mkspecs/modules/qt_KTextEditor.pri %{_kf5_archdatadir}/mkspecs/modules/qt_KTextEditor.pri
%changelog %changelog
* Mon Feb 02 2015 Rex Dieter <rdieter@fedoraproject.org> - 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 <dvratil@redhat.com> - 5.6.0-1 * Thu Jan 08 2015 Daniel Vrátil <dvratil@redhat.com> - 5.6.0-1
- KDE Frameworks 5.6.0 - KDE Frameworks 5.6.0

Loading…
Cancel
Save