|
|
@ -2,11 +2,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
Version: 5.11.0
|
|
|
|
Version: 5.11.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)
|
|
|
@ -61,47 +61,51 @@ developing applications that use %{name}.
|
|
|
|
%prep
|
|
|
|
%prep
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
%setup -q -n %{framework}-%{version}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
%build
|
|
|
|
mkdir -p %{_target_platform}
|
|
|
|
mkdir %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
pushd %{_target_platform}
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
%{cmake_kf5} ..
|
|
|
|
popd
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
%install
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
|
|
|
%find_lang ktexteditor5_qt --with-qt --all-name
|
|
|
|
%find_lang ktexteditor5_qt --with-qt --all-name
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%post
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
/sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
/usr/bin/update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%postun
|
|
|
|
|
|
|
|
/sbin/ldconfig
|
|
|
|
|
|
|
|
/usr/bin/update-desktop-database &> /dev/null || :
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files -f ktexteditor5_qt.lang
|
|
|
|
%files -f ktexteditor5_qt.lang
|
|
|
|
%doc COPYING.LIB README.md
|
|
|
|
%doc README.md
|
|
|
|
|
|
|
|
%license COPYING.LIB
|
|
|
|
%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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
|
|
|
* Tue Jun 16 2015 Rex Dieter <rdieter@fedoraproject.org> - 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 <dvratil@redhat.com> - 5.11.0-1
|
|
|
|
* Wed Jun 10 2015 Daniel Vrátil <dvratil@redhat.com> - 5.11.0-1
|
|
|
|
- KDE Frameworks 5.11.0
|
|
|
|
- KDE Frameworks 5.11.0
|
|
|
|
|
|
|
|
|
|
|
|