Accepting request 703497 from KDE:Unstable:Frameworks

- Add new macro (_kf5_knsrcfilesdir) to handle the new knsrc 
  installation dir from KF 5.57

- Add a new macro for debug category file installation

OBS-URL: https://build.opensuse.org/request/show/703497
OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kf5-filesystem?expand=0&rev=67
This commit is contained in:
2019-05-16 17:28:38 +00:00
committed by Git OBS Bridge
parent cdf0368e30
commit 87397b5056
3 changed files with 14 additions and 4 deletions

View File

@@ -1,7 +1,13 @@
-------------------------------------------------------------------
Mon Mar 18 21:51:15 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
- Add new macro (_kf5_knsrcfilesdir) to handle the new knsrc
installation dir from KF 5.57
-------------------------------------------------------------------
Tue Dec 19 08:20:22 UTC 2017 - lbeltrame@kde.org
- Add a new macro for debug category file installation
- Add a new macro for debug category file installation
(*.categories)
-------------------------------------------------------------------

View File

@@ -1,7 +1,7 @@
#
# spec file for package kf5-filesystem
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,7 +12,7 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
@@ -27,7 +27,7 @@ Version: 20170414
Release: 0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: KF5 Directory Layout
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: System/Fhs
%if 0%{?with_python}
# Yes, we need this just to get the site-packages path...
@@ -71,6 +71,7 @@ This package provides macros which are utilized with extra-cmake-modules' KDEIns
%define _kf5_py2kf5dir %{python2_sitelib}/PyKF5
%define _kf5_py3kf5dir %{python3_sitelib}/PyKF5
%define _kf5_pysipdir %{_kf5_sharedir}/sip/PyKF5
%define _kf5_knsrcfilesdir %{_kf5_sharedir}/knsrcfiles
%prep
@@ -112,6 +113,7 @@ mkdir -p %{buildroot}%{_kf5_sharedir}
mkdir -p %{buildroot}%{_kf5_htmldir}
mkdir -p %{buildroot}%{_kf5_kxmlguidir}
mkdir -p %{buildroot}%{_kf5_appstreamdir}
mkdir -p %{buildroot}%{_kf5_knsrcfilesdir}
for size in scalable 128x128 64x64 48x48 32x32 22x22 16x16; do
for type in actions apps devices filesystems mimetypes places status; do
@@ -174,6 +176,7 @@ popd
%dir %{_kf5_sharedir}/doc/HTML/en
%dir %{_kf5_kxmlguidir}
%dir %{_kf5_appstreamdir}
%dir %{_kf5_knsrcfilesdir}
%if 0%{?with_python}
%{_kf5_py2kf5dir}/
%{_kf5_py3kf5dir}/

View File

@@ -35,6 +35,7 @@
%_kf5_py3kf5dir %{python3_sitelib}/PyKF5
%_kf5_pysipdir %{_kf5_sharedir}/sip/PyKF5
%_kf5_debugdir %{_kf5_configdir}
%_kf5_knsrcfilesdir %{_kf5_sharedir}/knsrcfiles
%_kf5_build_type None