Accepting request 295538 from KDE:Frameworks5

Update to 5.9.0.

OBS-URL: https://build.opensuse.org/request/show/295538
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sonnet?expand=0&rev=16
This commit is contained in:
Dominique Leuenberger 2015-04-13 18:27:18 +00:00 committed by Git OBS Bridge
commit ddecf0c6a7
4 changed files with 24 additions and 8 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0707edd428eef2f07c80ab39ee6d77a3c0a8411c207c27efdfb11537e4c1ca25
size 272476

3
sonnet-5.9.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:486ce8631556479bbda867f96f7628138759899fdf4bf0e16beaab641b468719
size 272448

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sat Apr 4 14:40:57 UTC 2015 - hrvoje.senjan@gmail.com
- Update to 5.9.0
* For more details please see:
https://www.kde.org/announcements/kde-frameworks-5.9.0.php
-------------------------------------------------------------------
Sat Mar 7 16:58:57 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -16,19 +16,22 @@
#
%bcond_without lang
%define sonum 5
%define _tar_path 5.8
%define _tar_path 5.9
Name: sonnet
Version: %{_tar_path}.0
Version: 5.9.0
Release: 0
#BuildRequires: aspell-devel
BuildRequires: cmake >= 2.8.12
# Enchant plugin is currently disabled upstream
#BuildRequires: enchant-devel
BuildRequires: extra-cmake-modules >= 1.8.0
BuildRequires: extra-cmake-modules >= %{_tar_path}
BuildRequires: fdupes
BuildRequires: kf5-filesystem
%if %{with lang}
BuildRequires: libqt5-linguist-devel >= 5.2.0
%endif
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
@ -52,7 +55,9 @@ HSpell, Enchant, ASpell and HUNSPELL.
Summary: KDE spell checking library
Group: System/GUI/KDE
Obsoletes: libKF5SonnetCore4
%if %{with lang}
Recommends: libKF5SonnetCore%sonum-lang = %{version}
%endif
%requires_ge libQt5Core5
%description -n libKF5SonnetCore%sonum
@ -96,9 +101,11 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files.
%install
%kf5_makeinstall -C build
%fdupes %{buildroot}%{_kf5_sharedir}
%fdupes %{buildroot}
%find_lang %{name}5 --with-qt --without-mo
%if %{with lang}
%find_lang %{name}5 --with-qt --without-mo
%endif
%post -n libKF5SonnetCore%sonum -p /sbin/ldconfig
@ -108,7 +115,9 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files.
%postun -n libKF5SonnetUi%sonum -p /sbin/ldconfig
%if %{with lang}
%files -n libKF5SonnetCore%sonum-lang -f %{name}5.lang
%endif
%files -n libKF5SonnetCore%sonum
%defattr(-,root,root)