Accepting request 630591 from KDE:Frameworks5

Update to 5.49.0

OBS-URL: https://build.opensuse.org/request/show/630591
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kcompletion?expand=0&rev=57
This commit is contained in:
Dominique Leuenberger 2018-08-24 14:51:36 +00:00 committed by Git OBS Bridge
commit 73b6d1ce9b
4 changed files with 35 additions and 27 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9796e291d84a7d7e3ab560245b042d12239235d7beb8be2c6b26036f08ac3589
size 115688

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:715d5d1f75fdd64458aae6391ca288d743c2b98043d418c846b3d98f2d377999
size 115748

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Sun Aug 19 09:18:52 UTC 2018 - christophe@krop.fr
- Update to 5.49.0
* New feature release
* For more details please see:
* https://www.kde.org/announcements/kde-frameworks-5.49.0.php
- Changes since 5.48.0:
* Honor BUILD_TESTING
-------------------------------------------------------------------
Mon Jul 16 04:37:36 UTC 2018 - lbeltrame@kde.org

View File

@ -16,53 +16,52 @@
#
%bcond_without lang
%define lname libKF5Completion5
%define _tar_path 5.48
%define _tar_path 5.49
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kcompletion
Version: 5.48.0
Version: 5.49.0
Release: 0
Summary: Provides widgets with advanced completion support
License: LGPL-2.1-or-later
Group: System/GUI/KDE
URL: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRequires: cmake >= 3.0
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes
BuildRequires: kconfig-devel >= %{_kf5_bugfix_version}
BuildRequires: kf5-filesystem
BuildRequires: kwidgetsaddons-devel >= %{_kf5_bugfix_version}
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
%if %{with lang}
BuildRequires: cmake(Qt5LinguistTools) >= 5.6.0
%endif
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
Summary: Provides widgets with advanced completion support
License: LGPL-2.1-or-later
Group: System/GUI/KDE
Url: http://www.kde.org
Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz
Source1: baselibs.conf
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
KCompletion provides widgets with advanced completion support as well as a
lower-level completion class which can be used with your own widgets.
%package -n %lname
%package -n %{lname}
Summary: Provides widgets with advanced completion support
Group: System/GUI/KDE
%if %{with lang}
Recommends: %lname-lang = %{version}
Recommends: %{lname}-lang = %{version}
%endif
%description -n %lname
%description -n %{lname}
KCompletion provides widgets with advanced completion support as well as a
lower-level completion class which can be used with your own widgets.
%package devel
Summary: Provides widgets with advanced completion support
Group: Development/Libraries/KDE
Requires: %lname = %{version}
Requires: %{lname} = %{version}
Requires: extra-cmake-modules
Requires: cmake(Qt5Widgets) >= 5.6.0
@ -71,7 +70,8 @@ KCompletion provides widgets with advanced completion support as well as a
lower-level completion class which can be used with your own widgets. Development
files.
%lang_package -n %lname
%lang_package -n %{lname}
%prep
%setup -q
@ -87,21 +87,19 @@ files.
%find_lang %{name}5 --with-qt --without-mo
%endif
%post -n %lname -p /sbin/ldconfig
%postun -n %lname -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%if %{with lang}
%files -n %lname-lang -f %{name}5.lang
%files -n %{lname}-lang -f %{name}5.lang
%endif
%files -n %lname
%defattr(-,root,root)
%doc COPYING* README*
%files -n %{lname}
%license COPYING*
%doc README*
%{_kf5_libdir}/libKF5Completion.so.*
%files devel
%defattr(-,root,root)
%{_kf5_libdir}/libKF5Completion.so
%{_kf5_libdir}/cmake/KF5Completion/
%dir %{_kf5_includedir}/*/