|
|
|
@ -9,20 +9,20 @@
|
|
|
|
|
|
|
|
|
|
Name: kf5-%{framework}
|
|
|
|
|
Version: 5.47.0
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Release: 2%{?dist}
|
|
|
|
|
Summary: KDE Frameworks 5 Tier 1 solution for spell checking
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
|
URL: https://cgit.kde.org/%{framework}.git
|
|
|
|
|
|
|
|
|
|
%global versiondir %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global majmin %(echo %{version} | cut -d. -f1-2)
|
|
|
|
|
%global revision %(echo %{version} | cut -d. -f3)
|
|
|
|
|
%if %{revision} >= 50
|
|
|
|
|
%global stable unstable
|
|
|
|
|
%else
|
|
|
|
|
%global stable stable
|
|
|
|
|
%endif
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{framework}-%{version}.tar.xz
|
|
|
|
|
Source0: http://download.kde.org/%{stable}/frameworks/%{majmin}/%{framework}-%{version}.tar.xz
|
|
|
|
|
|
|
|
|
|
# filter plugin provides
|
|
|
|
|
%global __provides_exclude_from ^(%{_kf5_plugindir}/.*\\.so)$
|
|
|
|
@ -32,16 +32,16 @@ Source0: http://download.kde.org/%{stable}/frameworks/%{versiondir}/%{fra
|
|
|
|
|
# https://bugzilla.redhat.com/show_bug.cgi?id=1262746
|
|
|
|
|
Patch102: sonnet-multilib.patch
|
|
|
|
|
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{version}
|
|
|
|
|
BuildRequires: extra-cmake-modules >= %{majmin}
|
|
|
|
|
%if ! 0%{?bootstrap}
|
|
|
|
|
BuildRequires: hunspell-devel
|
|
|
|
|
%endif
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{version}
|
|
|
|
|
BuildRequires: kf5-rpm-macros >= %{majmin}
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
BuildRequires: qt5-qttools-devel
|
|
|
|
|
BuildRequires: zlib-devel
|
|
|
|
|
|
|
|
|
|
Requires: kf5-filesystem >= %{version}
|
|
|
|
|
Requires: kf5-filesystem >= %{majmin}
|
|
|
|
|
Requires: %{name}-core%{?_isa} = %{version}-%{release}
|
|
|
|
|
Requires: %{name}-ui%{?_isa} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
@ -79,7 +79,7 @@ pushd %{_target_platform}
|
|
|
|
|
%{?tests:-DBUILD_TESTING:BOOL=ON}
|
|
|
|
|
popd
|
|
|
|
|
|
|
|
|
|
make %{?_smp_mflags} -C %{_target_platform}
|
|
|
|
|
%make_build -C %{_target_platform}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
@ -99,8 +99,7 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
|
|
|
|
|
%doc README.md
|
|
|
|
|
%license COPYING.LIB
|
|
|
|
|
|
|
|
|
|
%post core -p /sbin/ldconfig
|
|
|
|
|
%postun core -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets core
|
|
|
|
|
|
|
|
|
|
%files core
|
|
|
|
|
%{_kf5_sysconfdir}/xdg/sonnet.*
|
|
|
|
@ -114,8 +113,7 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
|
|
|
|
|
%dir %{_kf5_datadir}/kf5/sonnet/
|
|
|
|
|
%{_kf5_datadir}/kf5/sonnet/trigrams.map
|
|
|
|
|
|
|
|
|
|
%post ui -p /sbin/ldconfig
|
|
|
|
|
%postun ui -p /sbin/ldconfig
|
|
|
|
|
%ldconfig_scriptlets ui
|
|
|
|
|
|
|
|
|
|
%files ui -f sonnet5_qt.lang
|
|
|
|
|
%{_kf5_libdir}/libKF5SonnetUi.so.*
|
|
|
|
@ -132,6 +130,9 @@ make test ARGS="--output-on-failure --timeout 300" -C %{_target_platform} ||:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Thu Jun 07 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-2
|
|
|
|
|
- cleanup, use %%majmin %%make_build %%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
|
* Sat Jun 02 2018 Rex Dieter <rdieter@fedoraproject.org> - 5.47.0-1
|
|
|
|
|
- 5.47.0
|
|
|
|
|
|
|
|
|
|