Accepting request 295498 from KDE:Frameworks5

Update to 5.9.0.

OBS-URL: https://build.opensuse.org/request/show/295498
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kcompletion?expand=0&rev=17
This commit is contained in:
Dominique Leuenberger 2015-04-13 18:23:14 +00:00 committed by Git OBS Bridge
commit 40c39313d5
4 changed files with 26 additions and 10 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8b830f1b58f1f0b618455d8be08b48b117530e45e3207f23f5a7e3958dfe278f
size 115792

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

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1340955eb9d8a25aa1a4c24e040985df4dd091bbcf6f40e35307c5e5f07f353f
size 115784

View File

@ -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

View File

@ -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)