From e0b7b35ce3c643fbb0e7e8e18ff6d854e8642460183a67ff1abb3d99007d6b1c Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 5 Apr 2015 11:39:59 +0000 Subject: [PATCH 1/3] 5.9.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kcompletion?expand=0&rev=52 --- kcompletion-5.8.0.tar.xz | 3 --- kcompletion-5.9.0.tar.xz | 3 +++ kcompletion.changes | 7 +++++++ kcompletion.spec | 10 +++++++--- 4 files changed, 17 insertions(+), 6 deletions(-) delete mode 100644 kcompletion-5.8.0.tar.xz create mode 100644 kcompletion-5.9.0.tar.xz diff --git a/kcompletion-5.8.0.tar.xz b/kcompletion-5.8.0.tar.xz deleted file mode 100644 index 6fbe385..0000000 --- a/kcompletion-5.8.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8b830f1b58f1f0b618455d8be08b48b117530e45e3207f23f5a7e3958dfe278f -size 115792 diff --git a/kcompletion-5.9.0.tar.xz b/kcompletion-5.9.0.tar.xz new file mode 100644 index 0000000..6e7fe15 --- /dev/null +++ b/kcompletion-5.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1340955eb9d8a25aa1a4c24e040985df4dd091bbcf6f40e35307c5e5f07f353f +size 115784 diff --git a/kcompletion.changes b/kcompletion.changes index f0ef85f..9199ba5 100644 --- a/kcompletion.changes +++ b/kcompletion.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sat Apr 4 14:40:33 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:35 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/kcompletion.spec b/kcompletion.spec index bb7aa4b..361c3c2 100644 --- a/kcompletion.spec +++ b/kcompletion.spec @@ -17,13 +17,13 @@ %define lname libKF5Completion5 -%define _tar_path 5.8 +%define _tar_path 5.9 Name: kcompletion Version: %{_tar_path}.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= 1.8.0 +BuildRequires: extra-cmake-modules >= %{version} BuildRequires: fdupes BuildRequires: kconfig-devel >= %{kf5_version} BuildRequires: kf5-filesystem @@ -75,7 +75,11 @@ 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 %lname -p /sbin/ldconfig From f2965ac0fe72fe47f5e329d51befd7bd0b901cc064c6d75dc530b2a779e341b6 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:26:10 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kcompletion?expand=0&rev=53 --- kcompletion.spec | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/kcompletion.spec b/kcompletion.spec index 361c3c2..2a6f876 100644 --- a/kcompletion.spec +++ b/kcompletion.spec @@ -16,19 +16,22 @@ # +%bcond_without lang %define lname libKF5Completion5 %define _tar_path 5.9 Name: kcompletion -Version: %{_tar_path}.0 +Version: 5.9.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 2.8.12 -BuildRequires: extra-cmake-modules >= %{version} +BuildRequires: extra-cmake-modules >= %{_tar_path} BuildRequires: fdupes -BuildRequires: kconfig-devel >= %{kf5_version} +BuildRequires: kconfig-devel >= %{_tar_path} BuildRequires: kf5-filesystem -BuildRequires: kwidgetsaddons-devel >= %{kf5_version} +BuildRequires: kwidgetsaddons-devel >= %{_tar_path} +%if %{with lang} BuildRequires: libqt5-linguist-devel >= 5.2.0 +%endif BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0 Summary: Provides widgets with advanced completion support License: LGPL-2.1+ @@ -45,7 +48,9 @@ lower-level completion class which can be used with your own widgets. %package -n %lname Summary: Provides widgets with advanced completion support Group: System/GUI/KDE +%if %{with lang} Recommends: %lname-lang = %{version} +%endif %description -n %lname KCompletion provides widgets with advanced completion support as well as a @@ -73,19 +78,19 @@ 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 %lname -p /sbin/ldconfig %postun -n %lname -p /sbin/ldconfig +%if %{with lang} %files -n %lname-lang -f %{name}5.lang +%endif %files -n %lname %defattr(-,root,root) From 4bfa74131c4fb09dd5001e375a2b6efb84a52e71e8087c78f3fa7bbbef7bfb78 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Fri, 10 Apr 2015 16:46:35 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kcompletion?expand=0&rev=54 --- kcompletion.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kcompletion.spec b/kcompletion.spec index 2a6f876..b381188 100644 --- a/kcompletion.spec +++ b/kcompletion.spec @@ -78,7 +78,7 @@ files. %install %kf5_makeinstall -C build - %fdupes -s %{buildroot} + %fdupes %{buildroot} %if %{with lang} %find_lang %{name}5 --with-qt --without-mo