Sync from SUSE:ALP:Source:Standard:1.0 extra-cmake-modules revision 703ce8ee853d16d0d92c5c7c0e576c55
This commit is contained in:
commit
41e515a274
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
4
_multibuild
Normal file
4
_multibuild
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
<multibuild>
|
||||||
|
<flavor>doc</flavor>
|
||||||
|
</multibuild>
|
||||||
|
|
37
bundle-lang.patch
Normal file
37
bundle-lang.patch
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
From d68190a86ac823d64355a33cfd78bd9e8ffd2785 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
Date: Wed, 26 Sep 2018 22:50:24 +0200
|
||||||
|
Subject: [PATCH] openSUSE's bundle-lang packages install the translations in
|
||||||
|
/usr/share/locale-bundle/ to not conflict with the standard -lang packages.
|
||||||
|
|
||||||
|
So look there too if a translation was not found in /usr/share/locale/.
|
||||||
|
---
|
||||||
|
modules/ECMQmLoader.cpp.in | 10 +++++++---
|
||||||
|
1 file changed, 7 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
|
Index: extra-cmake-modules-5.56.0git.20200226T180944~040504d/modules/ECMQmLoader.cpp.in
|
||||||
|
===================================================================
|
||||||
|
--- extra-cmake-modules-5.56.0git.20200226T180944~040504d.orig/modules/ECMQmLoader.cpp.in 2020-02-27 07:10:58.979815190 +0100
|
||||||
|
+++ extra-cmake-modules-5.56.0git.20200226T180944~040504d/modules/ECMQmLoader.cpp.in 2020-02-27 07:13:15.674038108 +0100
|
||||||
|
@@ -44,15 +44,19 @@
|
||||||
|
QString subPath = QStringLiteral("locale/") + localeDirName + QStringLiteral("/LC_MESSAGES/@QM_LOADER_CATALOG_NAME@.qm");
|
||||||
|
|
||||||
|
#if defined(Q_OS_ANDROID)
|
||||||
|
- const QString fullPath = QStringLiteral("assets:/share/") + subPath;
|
||||||
|
+ QString fullPath = QStringLiteral("assets:/share/") + subPath;
|
||||||
|
if (!QFile::exists(fullPath)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
#else
|
||||||
|
- const QString fullPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, subPath);
|
||||||
|
+ QString fullPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, subPath);
|
||||||
|
+ if (fullPath.isEmpty()) {
|
||||||
|
+ subPath = QStringLiteral("locale-bundle/") + localeDirName + QStringLiteral("/LC_MESSAGES/@QM_LOADER_CATALOG_NAME@.qm");
|
||||||
|
+ fullPath = QStandardPaths::locate(QStandardPaths::GenericDataLocation, subPath);
|
||||||
|
if (fullPath.isEmpty()) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
+ }
|
||||||
|
#endif
|
||||||
|
QTranslator *translator = new QTranslator(QCoreApplication::instance());
|
||||||
|
if (!translator->load(fullPath)) {
|
BIN
extra-cmake-modules-5.112.0.tar.xz
(Stored with Git LFS)
Normal file
BIN
extra-cmake-modules-5.112.0.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
11
extra-cmake-modules-5.112.0.tar.xz.sig
Normal file
11
extra-cmake-modules-5.112.0.tar.xz.sig
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEEU+a0e0XOo+DVt0V3WNDuZIpIs7sFAmVGGtQACgkQWNDuZIpI
|
||||||
|
s7u4KQgAifEhCT7H+HmsC1OToUYTvvVQH9CwhcLNVlIvntnOsmli/ezbLheloON/
|
||||||
|
k2Nu5Qpez4t0F703T3Nq59awdsKi+ltUsYVv35ySrooOIffA7jI4nydxCqbEPlPf
|
||||||
|
NZzaHzr6XnRHQzuW2Am9/Kw7o0U97N7IxJiF7AHT41LR3iE1inVb1eqI7OoU/J6y
|
||||||
|
dX6vnY/mKSPtvA1f0UeaPpM2KEAocWrhXxZ22aE5VtE15yGmv/Rk5Xjz/BEJgY2x
|
||||||
|
OmWOTR5QlUioLx5l9n7NLtkavyNyy0lAuZRsxrXYZSYhrcld9twppAj6J3d7AhAg
|
||||||
|
Gg8PBvLpdVrhA8kTWJz/pC/eoFoAFg==
|
||||||
|
=c8PP
|
||||||
|
-----END PGP SIGNATURE-----
|
1665
extra-cmake-modules.changes
Normal file
1665
extra-cmake-modules.changes
Normal file
File diff suppressed because it is too large
Load Diff
90
extra-cmake-modules.spec
Normal file
90
extra-cmake-modules.spec
Normal file
@ -0,0 +1,90 @@
|
|||||||
|
#
|
||||||
|
# spec file for package extra-cmake-modules
|
||||||
|
#
|
||||||
|
# Copyright (c) 2021 SUSE LLC
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%global flavor @BUILD_FLAVOR@%{nil}
|
||||||
|
%if "%{flavor}" == "doc"
|
||||||
|
%global pkg_suffix -doc
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%define _tar_path 5.103
|
||||||
|
# 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 doc
|
||||||
|
# Only needed for the package signature condition
|
||||||
|
%bcond_without released
|
||||||
|
Name: extra-cmake-modules%{?pkg_suffix}
|
||||||
|
Version: 5.112.0
|
||||||
|
Release: 0
|
||||||
|
Summary: CMake modules
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://www.kde.org
|
||||||
|
Source: extra-cmake-modules-%{version}.tar.xz
|
||||||
|
%if %{with released}
|
||||||
|
Source1: extra-cmake-modules-%{version}.tar.xz.sig
|
||||||
|
Source2: frameworks.keyring
|
||||||
|
%endif
|
||||||
|
# PATCH-FIX-OPENSUSE
|
||||||
|
Patch0: bundle-lang.patch
|
||||||
|
BuildRequires: cmake >= 3.16
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: kf5-filesystem
|
||||||
|
%if "%{flavor}" != "doc"
|
||||||
|
Requires: cmake >= 3.16
|
||||||
|
Requires: gcc-c++
|
||||||
|
Requires: kf5-filesystem
|
||||||
|
Recommends: extra-cmake-modules-doc
|
||||||
|
Provides: kf5umbrella = 4.99.0
|
||||||
|
Obsoletes: kf5umbrella < 4.99.0
|
||||||
|
%else
|
||||||
|
BuildRequires: python3-Sphinx
|
||||||
|
%endif
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
%description
|
||||||
|
Extra modules and scripts for CMake.
|
||||||
|
%if "%{flavor}" == "doc"
|
||||||
|
|
||||||
|
This package provides documentation for extra-cmake-modules
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -p1 -n extra-cmake-modules-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_kf5 -d build
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%kf5_makeinstall -C build
|
||||||
|
|
||||||
|
%if "%{flavor}" == "doc"
|
||||||
|
rm -r %{buildroot}%{_datadir}/ECM
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%files
|
||||||
|
%if "%{flavor}" != "doc"
|
||||||
|
%license LICENSES/*
|
||||||
|
%{_datadir}/ECM/
|
||||||
|
%else
|
||||||
|
%doc %{_datadir}/doc/ECM/
|
||||||
|
%doc %lang(en) %{_mandir}/man7/ecm*.7*
|
||||||
|
%endif
|
||||||
|
|
||||||
|
%changelog
|
29
frameworks.keyring
Normal file
29
frameworks.keyring
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||||
|
|
||||||
|
mQENBFfNUR8BCADDjPXScwObp7mWwUnrjqrM0gGg+pId6vqe0a5A4xr+Rgj26quK
|
||||||
|
2qJLym0mmul/uh2M8z486qDTQYQaTEppFCosH3WqFonTN2LWpHcujeVABX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TBaKoAiZHybAXQVchtwJx0O4wLbZ3E4ytJdcATlPDNXS
|
||||||
|
jw2Lmns8aGa6DBGyqiG6g1PlCnOI2Q/cQK1zbkSisfoCbpEq1MgIzuZSoJ00NIEp
|
||||||
|
eiACoR82565G68yAb+uKHkcFrYkfDT41ABEBAAGJASUEGAEIAA8FAlfNUR8CGwwF
|
||||||
|
CQlmAYAACgkQWNDuZIpIs7vWkgf9GNUZmD0UgbQmj0nwkEHum1g7LD+MZL0+P2kg
|
||||||
|
HyEL3Cm01ot9d+X5ed/gAJ6hDR55KYxHi+/wwwkCNDLoQoP+7VZq2fMiGD0/bDar
|
||||||
|
oWQqbckqDZU4l69u9NbYvVWHUerfwKfi0ZKN5sJqLwIkr57wEX0I/TBGoMuFB27q
|
||||||
|
2qyloS5m1Q2pke2mmZjKSqE0jxZJ7iFGJO/Buyjgd1B2kr0DaGaCrh0wjfVjAWpt
|
||||||
|
klK95Phry1jQc7W0Z4ZdWpB79S1yW670eutSC4fMjvsNxROGkPx4dDkyG5nToeau
|
||||||
|
zhEh/pXho2Eo/aFEqqY42GMSlN9rf7ekaTNo7OxsE7vvCB0fug==
|
||||||
|
=4o3u
|
||||||
|
-----END PGP PUBLIC KEY BLOCK-----
|
Loading…
Reference in New Issue
Block a user