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..b381188 100644 --- a/kcompletion.spec +++ b/kcompletion.spec @@ -16,19 +16,22 @@ # +%bcond_without lang %define lname libKF5Completion5 -%define _tar_path 5.8 +%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 >= 1.8.0 +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,15 +78,19 @@ 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 %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)