.spec cosmetics, excplicitly own dirs, use %find_lang_kf5

epel9
Rex Dieter 10 years ago
parent 0a09a6ebbe
commit aa18013c9b

@ -2,7 +2,7 @@
Name: kf5-%{framework}
Version: 5.10.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: KDE Frameworks 5 Tier 1 solution for spell checking
License: LGPLv2+
@ -28,8 +28,8 @@ BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qttools-devel
Requires: kf5-filesystem
Requires: kf5-sonnet-core%{?_isa} = %{version}-%{release}
Requires: kf5-sonnet-ui%{?_isa} = %{version}-%{release}
Requires: %{name}-core%{?_isa} = %{version}-%{release}
Requires: %{name}-ui%{?_isa} = %{version}-%{release}
%description
KDE Frameworks 5 Tier 1 solution for spell checking.
@ -53,7 +53,7 @@ Non-gui part of the Sonnet framework provides low-level spell checking tools
%package ui
Summary: GUI part of the Sonnet framework
Requires: kf5-sonnet-core%{?_isa} = %{version}-%{release}
Requires: %{name}-core%{?_isa} = %{version}-%{release}
%description ui
GUI part of the Sonnet framework provides widgets with spell checking support.
@ -62,17 +62,20 @@ GUI part of the Sonnet framework provides widgets with spell checking support.
%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 -C %{_target_platform}
%find_lang sonnet5_qt --with-qt --all-name
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
%find_lang_kf5 sonnet5_qt
%files
@ -83,7 +86,9 @@ make %{?_smp_mflags} -C %{_target_platform}
%files core
%{_kf5_libdir}/libKF5SonnetCore.so.*
%{_kf5_plugindir}/sonnet
%dir %{_kf5_plugindir}/sonnet/
%{_kf5_plugindir}/sonnet/hunspell.so
%dir %{_kf5_datadir}/kf5/sonnet/
%{_kf5_datadir}/kf5/sonnet/trigrams.map
%post ui -p /sbin/ldconfig
@ -104,6 +109,9 @@ make %{?_smp_mflags} -C %{_target_platform}
%changelog
* Wed Jun 03 2015 Rex Dieter <rdieter@fedoraproject.org> 5.10.0-2
- .spec cosmetics, excplicitly own dirs, use %%find_lang_kf5
* Mon May 11 2015 Daniel Vrátil <dvratil@redhat.com> - 5.10.0-1
- KDE Frameworks 5.10.0

Loading…
Cancel
Save