diff --git a/sonnet-5.8.0.tar.xz b/sonnet-5.8.0.tar.xz deleted file mode 100644 index a0559e1..0000000 --- a/sonnet-5.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:0707edd428eef2f07c80ab39ee6d77a3c0a8411c207c27efdfb11537e4c1ca25 -size 272476 diff --git a/sonnet-5.9.0.tar.xz b/sonnet-5.9.0.tar.xz new file mode 100644 index 0000000..21dec4c --- /dev/null +++ b/sonnet-5.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:486ce8631556479bbda867f96f7628138759899fdf4bf0e16beaab641b468719 +size 272448 diff --git a/sonnet.changes b/sonnet.changes index b0816cf..7b91043 100644 --- a/sonnet.changes +++ b/sonnet.changes @@ -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 diff --git a/sonnet.spec b/sonnet.spec index 4f5fa98..77f31d7 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -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)