forked from pool/kdsingleapplication
osc copypac from project:home:krop:kf6:external_libs package:kdsingleapplication revision:5
OBS-URL: https://build.opensuse.org/package/show/KDE:Qt6/kdsingleapplication?expand=0&rev=1
This commit is contained in:
commit
46fe860a33
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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
3
_multibuild
Normal file
3
_multibuild
Normal file
@ -0,0 +1,3 @@
|
||||
<multibuild>
|
||||
<flavor>qt6</flavor>
|
||||
</multibuild>
|
BIN
kdab.keyring
Normal file
BIN
kdab.keyring
Normal file
Binary file not shown.
3
kdsingleapplication-1.0.0.tar.gz
Normal file
3
kdsingleapplication-1.0.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c92355dc10f3ebd39363458458fb5bdd9662e080cf77d91f0437763c4d936520
|
||||
size 67545
|
17
kdsingleapplication-1.0.0.tar.gz.asc
Normal file
17
kdsingleapplication-1.0.0.tar.gz.asc
Normal file
@ -0,0 +1,17 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQJCBAABCAAsFiEE6GwAA3CxueKpGRrVPb+2iCyTWPsFAmS64kEOHGluZm9Aa2Rh
|
||||
Yi5jb20ACgkQPb+2iCyTWPujeQ//ff1O6n9sVS4Nfy4R6M92+0lQ18Sw4XFj9/Za
|
||||
U9Fk8F6ZGSKxc1GmmJpMsUeeZuQidyVicnOfcor8TAhoISF0idUCoP1UNF3ZiZZ1
|
||||
GGwy0OP9Eqn/LPi9f2Xb3yxzutLfe0oNtbC2Pu2PSkFlkrLWHMADN6224bk4vMzh
|
||||
wOQKXraJ6u/sfPpucN5wKhXw99KmTE9EHa14nsM1xDjGusB8uc9hQdrrTVZ379nG
|
||||
4JYqlbJVsKCxOGuNxZnB7xPHSbHqZXZ9nCYe5ocWscqnzUF8w4pL5hX3nSUQEdVK
|
||||
hkIb0j1yE1mCY5kmSoivUFJy1avVnMDZbwTE2ffn6rzOLS1MbveKJ71RlNfUxn6e
|
||||
PTcm+XBiMNGKdVhCPXA/HnhppfLWDAgi/bqzuS5xwV5Z9xcEgISqQBzuO8hUIcCk
|
||||
eBMLevJkA9KJVKlKAxv2NJfY0HGBQnqiBPAj2IVD78FqY6KLlFuf/oQcl2sbpouk
|
||||
WqaSUoPxS2A8pL5s5QgnG+ObyevMPXDAmKx4lyi8zUysGveNMv1wDVzA6z6twSPX
|
||||
KbDad07ffRhhO4LjfA8YVNjyd/EscgDXM30VR/nbvOvJqu2KbVSw2FBXcx/Fjx1W
|
||||
IkOXOCOEtWa6TMa0F/Dsg7qBTVL8BtikVzQenDBVjb0ZX8VAylaxTaNzWmperOCp
|
||||
lFi12oU=
|
||||
=fmCy
|
||||
-----END PGP SIGNATURE-----
|
4
kdsingleapplication.changes
Normal file
4
kdsingleapplication.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Oct 6 07:09:09 UTC 2023 - Christophe Marin <christophe@krop.fr>
|
||||
|
||||
- Init kdsingleapplication
|
114
kdsingleapplication.spec
Normal file
114
kdsingleapplication.spec
Normal file
@ -0,0 +1,114 @@
|
||||
#
|
||||
# spec file for package kdsingleapplication
|
||||
#
|
||||
# Copyright (c) 2023 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 rname kdsingleapplication
|
||||
%define flavor @BUILD_FLAVOR@%{nil}
|
||||
%if "%{flavor}" == "qt6"
|
||||
%define qt6 1
|
||||
%define pkg_suffix -qt6
|
||||
%endif
|
||||
Name: kdsingleapplication%{?pkg_suffix}
|
||||
Version: 1.0.0
|
||||
Release: 0
|
||||
Summary: Helper class for single-instance policy applications
|
||||
License: MIT
|
||||
URL: https://github.com/KDAB/KDSingleApplication
|
||||
Source0: https://github.com/KDAB/KDSingleApplication/releases/download/v%{version}/%{rname}-%{version}.tar.gz
|
||||
Source1: https://github.com/KDAB/KDSingleApplication/releases/download/v%{version}/%{rname}-%{version}.tar.gz.asc
|
||||
Source2: kdab.keyring
|
||||
%if 0%{?qt6}
|
||||
BuildRequires: cmake(Qt6Core)
|
||||
BuildRequires: cmake(Qt6Network)
|
||||
BuildRequires: cmake(Qt6Test)
|
||||
BuildRequires: cmake(Qt6Widgets)
|
||||
%else
|
||||
BuildRequires: cmake(Qt5Core)
|
||||
BuildRequires: cmake(Qt5Network)
|
||||
BuildRequires: cmake(Qt5Test)
|
||||
BuildRequires: cmake(Qt5Widgets)
|
||||
%endif
|
||||
|
||||
%description
|
||||
KDSingleApplication is a helper class for single-instance policy applications.
|
||||
|
||||
%package -n libkdsingleapplication%{?pkg_suffix}
|
||||
Summary: Helper class for single-instance policy applications
|
||||
|
||||
%description -n libkdsingleapplication%{?pkg_suffix}
|
||||
KDSingleApplication is a helper class for single-instance policy applications.
|
||||
|
||||
%package devel
|
||||
Summary: Development files for libkdsingleapplication%{?pkg_suffix}
|
||||
Requires: libkdsingleapplication%{?pkg_suffix} = %{version}
|
||||
%if 0%{?qt6}
|
||||
Requires: cmake(Qt6Network)
|
||||
Requires: cmake(Qt6Widgets)
|
||||
%else
|
||||
Requires: cmake(Qt5Network)
|
||||
Requires: cmake(Qt5Widgets)
|
||||
%endif
|
||||
|
||||
%description devel
|
||||
Development files for libkdsingleapplication%{?pkg_suffix}.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{rname}-%{version}
|
||||
|
||||
%build
|
||||
%if 0%{?qt6}
|
||||
%cmake_qt6 \
|
||||
-DKDSingleApplication_QT6:BOOL=TRUE \
|
||||
-DKDSingleApplication_TESTS:BOOL=TRUE
|
||||
|
||||
%qt6_build
|
||||
%else
|
||||
%cmake -DKDSingleApplication_TESTS:BOOL=TRUE
|
||||
|
||||
%cmake_build
|
||||
%endif
|
||||
|
||||
%install
|
||||
%if 0%{?qt6}
|
||||
%qt6_install
|
||||
%else
|
||||
%cmake_install
|
||||
%endif
|
||||
|
||||
# Packaged using %%license and %%doc
|
||||
rm -r %{buildroot}%{_datadir}/doc
|
||||
|
||||
%check
|
||||
%ctest
|
||||
|
||||
%ldconfig_scriptlets -n libkdsingleapplication%{?pkg_suffix}
|
||||
|
||||
%files -n libkdsingleapplication%{?pkg_suffix}
|
||||
%license LICENSES/*
|
||||
%doc README.md
|
||||
%{_libdir}/libkdsingleapplication%{?pkg_suffix}.so
|
||||
|
||||
%files devel
|
||||
%{_includedir}/kdsingleapplication%{?pkg_suffix}/
|
||||
%{_libdir}/cmake/KDSingleApplication%{?pkg_suffix}/
|
||||
%if 0%{?qt6}
|
||||
%{_qt6_mkspecsdir}/modules/qt_KDSingleApplication.pri
|
||||
%else
|
||||
%{_libqt5_archdatadir}/mkspecs/modules/qt_KDSingleApplication.pri
|
||||
%endif
|
||||
|
||||
%changelog
|
Loading…
x
Reference in New Issue
Block a user