Accepting request 630751 from KDE:Frameworks5

OBS-URL: https://build.opensuse.org/request/show/630751
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kcmutils?expand=0&rev=55
This commit is contained in:
Dominique Leuenberger 2018-08-24 14:58:25 +00:00 committed by Git OBS Bridge
commit 6987f3f82d
4 changed files with 41 additions and 28 deletions

View File

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

3
kcmutils-5.49.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:388587f864352e98670c41a9fb615cc6580c42b2b026041a341202976e4a6877
size 236748

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Aug 21 10:19:23 UTC 2018 - jengelh@inai.de
- Use noun phrase in summary.
-------------------------------------------------------------------
Sun Aug 19 09:18:50 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:
* None
-------------------------------------------------------------------
Mon Jul 16 04:37:35 UTC 2018 - lbeltrame@kde.org

View File

@ -16,16 +16,22 @@
#
%bcond_without lang
%define lname libKF5KCMUtils5
%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: kcmutils
Version: 5.48.0
Version: 5.49.0
Release: 0
Summary: Classes to work with KCModules
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
@ -44,34 +50,27 @@ BuildRequires: cmake(Qt5Qml) >= 5.6.0
BuildRequires: cmake(Qt5Quick) >= 5.6.0
BuildRequires: cmake(Qt5QuickWidgets) >= 5.6.0
BuildRequires: cmake(Qt5Widgets) >= 5.6.0
Summary: Provides various classes to work with KCModules
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
KCMUtils provides various classes to work with KCModules. KCModules can be
created with the KConfigWidgets framework.
%package -n %lname
Summary: Provides various classes to work with KCModules
%package -n %{lname}
Summary: Classes to work with KCModules
Group: System/GUI/KDE
Obsoletes: libKF5KCMUtils4
%if %{with lang}
Recommends: %lname-lang = %{version}
Recommends: %{lname}-lang = %{version}
%endif
%description -n %lname
%description -n %{lname}
KCMUtils provides various classes to work with KCModules. KCModules can be
created with the KConfigWidgets framework.
%package devel
Summary: Provides various classes to work with KCModules: Build Environment
Summary: Build environment for kcmutils, a set of classes to work with KCModules
Group: Development/Libraries/KDE
Requires: %lname = %{version}
Requires: %{lname} = %{version}
Requires: extra-cmake-modules
Requires: kconfigwidgets-devel >= %{_kf5_bugfix_version}
Requires: kservice-devel >= %{_kf5_bugfix_version}
@ -80,7 +79,8 @@ Requires: kservice-devel >= %{_kf5_bugfix_version}
KCMUtils provides various classes to work with KCModules. KCModules can be
created with the KConfigWidgets framework. Development files.
%lang_package -n %lname
%lang_package -n %{lname}
%prep
%setup -q
@ -96,24 +96,22 @@ created with the KConfigWidgets framework. Development files.
%find_lang %{name}5
%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}/libKF5KCMUtils.so.*
%dir %{_kf5_servicetypesdir}
%{_kf5_servicetypesdir}/kcmodule.desktop
%{_kf5_servicetypesdir}/kcmoduleinit.desktop
%files devel
%defattr(-,root,root)
%{_kf5_libdir}/libKF5KCMUtils.so
%{_kf5_libdir}/cmake/KF5KCMUtils/
%{_kf5_includedir}/*.h