SHA256
1
0
forked from pool/kcoreaddons
Wolfgang Bauer
2018-08-20 12:58:36 +00:00
committed by Git OBS Bridge
parent 5001e1f5d0
commit 0ab345cf38
4 changed files with 46 additions and 30 deletions

View File

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

View File

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

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Sun Aug 19 09:18:54 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:
* Fix overflow in rounding code (kde#397008)
* API dox: remove not-to-be-there ":"s behind "@note"
* API dox: talk about nullptr, not 0
* KFormat: Replace unicode literal with unicode codepoint to fix MSVC build
* KFormat: Add unit tests for mili/micro SI prefixes
* KFormat: fix typo in SI prefix name enum
* KFormat: correct @since tag for new KFormat::formatValue
* KFormat: Allow usage of quantities beyond bytes and seconds
* Correct KFormat::formatBytes examples
* Honor BUILD_TESTING
-------------------------------------------------------------------
Mon Jul 16 04:37:37 UTC 2018 - lbeltrame@kde.org

View File

@@ -16,36 +16,35 @@
#
%bcond_without lang
%define lname libKF5CoreAddons5
%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: kcoreaddons
Version: 5.48.0
Version: 5.49.0
Release: 0
Summary: Utilities for core application functionality and accessing the OS
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 >= %{_tar_path}
BuildRequires: fdupes
BuildRequires: kf5-filesystem
%if %{with lang}
BuildRequires: cmake(Qt5LinguistTools) >= 5.6.0
%endif
BuildRequires: shared-mime-info
BuildRequires: cmake(Qt5Core) >= 5.6.0
Requires: shared-mime-info
%if %{with lang}
BuildRequires: cmake(Qt5LinguistTools) >= 5.6.0
%endif
%if %{with lang}
Recommends: %{name}-lang = %{version}
%endif
Summary: Utilities for core application functionality and accessing the OS
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
KCoreAddons provides classes built on top of QtCore to perform various tasks
@@ -53,13 +52,13 @@ such as manipulating mime types, autosaving files, creating backup files,
generating random sequences, performing text manipulations such as macro
replacement, accessing user information and many more.
%package -n %lname
%package -n %{lname}
Summary: Utilities for core application functionality and accessing the OS
Group: System/GUI/KDE
%requires_ge libQt5Core5
Recommends: %{name} = %{version}
%requires_ge libQt5Core5
%description -n %lname
%description -n %{lname}
KCoreAddons provides classes built on top of QtCore to perform various tasks
such as manipulating mime types, autosaving files, creating backup files,
generating random sequences, performing text manipulations such as macro
@@ -68,7 +67,7 @@ replacement, accessing user information and many more.
%package devel
Summary: Utilities for core application functionality and accessing the OS
Group: Development/Libraries/KDE
Requires: %lname = %{version}
Requires: %{lname} = %{version}
Requires: %{name} = %{version}
Requires: extra-cmake-modules
Requires: cmake(Qt5Core) >= 5.6.0
@@ -80,6 +79,7 @@ generating random sequences, performing text manipulations such as macro
replacement, accessing user information and many more. Development files.
%lang_package
%prep
%setup -q
@@ -95,13 +95,11 @@ replacement, accessing user information and many more. Development files.
%find_lang %{name}5 --with-qt --without-mo
%endif
%post -n %lname -p /sbin/ldconfig
%post -n %{lname} -p /sbin/ldconfig
%post
%mime_database_post
%postun -n %lname -p /sbin/ldconfig
%postun -n %{lname} -p /sbin/ldconfig
%postun
%mime_database_postun
@@ -110,18 +108,17 @@ replacement, accessing user information and many more. Development files.
%endif
%files
%defattr(-,root,root)
%doc COPYING* README*
%license COPYING*
%doc README*
%{_kf5_appsdir}/mime/packages/kde5.xml
%{_kf5_datadir}/
%files -n %lname
%defattr(-,root,root)
%doc COPYING* README*
%files -n %{lname}
%license COPYING*
%doc README*
%{_kf5_libdir}/libKF5CoreAddons.so.*
%files devel
%defattr(-,root,root)
%{_kf5_bindir}/desktoptojson
%{_kf5_libdir}/libKF5CoreAddons.so
%{_kf5_libdir}/cmake/KF5CoreAddons/