From 5e9766318f2159260ead717dc81f0d71398f36c7c9c6380fae4137c526d17ce9 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 5 Apr 2015 11:48:29 +0000 Subject: [PATCH 1/4] 5.9.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=46 --- sonnet-5.8.0.tar.xz | 3 --- sonnet-5.9.0.tar.xz | 3 +++ sonnet.changes | 7 +++++++ sonnet.spec | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) delete mode 100644 sonnet-5.8.0.tar.xz create mode 100644 sonnet-5.9.0.tar.xz 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..5badedf 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -17,7 +17,7 @@ %define sonum 5 -%define _tar_path 5.8 +%define _tar_path 5.9 Name: sonnet Version: %{_tar_path}.0 Release: 0 @@ -25,7 +25,7 @@ Release: 0 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 >= %{version} BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: libqt5-linguist-devel >= 5.2.0 From dde308c86e63246c9d0474c773a12b5e01679721ccb15b89b309abb96b920d2c Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 10:38:38 +0000 Subject: [PATCH 2/4] changelogs OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=47 --- sonnet.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sonnet.spec b/sonnet.spec index 5badedf..ddc0ac8 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -98,7 +98,11 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files. %kf5_makeinstall -C build %fdupes %{buildroot}%{_kf5_sharedir} - %find_lang %{name}5 --with-qt --without-mo +if [ -e po ]; then +%find_lang %{name}5 --with-qt --without-mo +else +touch %{name}5.lang +fi %post -n libKF5SonnetCore%sonum -p /sbin/ldconfig From a0aab1868d19bc43328096349927a81db1c7f83dd5b0c17017e8ffa04659cb18 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:28:41 +0000 Subject: [PATCH 3/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=48 --- sonnet.spec | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/sonnet.spec b/sonnet.spec index ddc0ac8..e80ed12 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -16,19 +16,22 @@ # +%bcond_without lang %define sonum 5 %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 >= %{version} +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,13 +101,11 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files. %install %kf5_makeinstall -C build - %fdupes %{buildroot}%{_kf5_sharedir} + %fdupes -s %{buildroot} -if [ -e po ]; then +%if %{with lang} %find_lang %{name}5 --with-qt --without-mo -else -touch %{name}5.lang -fi +%endif %post -n libKF5SonnetCore%sonum -p /sbin/ldconfig @@ -112,7 +115,9 @@ fi %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) From 41494a20f32c648817a610f9d3e168784111e86352bd920fc0c6996074bbb28a Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:48:46 +0000 Subject: [PATCH 4/4] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=49 --- sonnet.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sonnet.spec b/sonnet.spec index e80ed12..77f31d7 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -101,7 +101,7 @@ HSpell, Enchant, ASpell and HUNSPELL. Development files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot} %if %{with lang} %find_lang %{name}5 --with-qt --without-mo