SHA256
1
0
forked from pool/libksane

KDE release gear 24.08.1

OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/libksane?expand=0&rev=247
This commit is contained in:
Christophe Marin 2024-09-12 11:40:43 +00:00 committed by Git OBS Bridge
commit 64e06d5d15
13 changed files with 2569 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
View File

@ -0,0 +1 @@
.osc

3
_multibuild Normal file
View File

@ -0,0 +1,3 @@
<multibuild>
<package>libksane-kf5</package>
</multibuild>

BIN
applications.keyring Normal file

Binary file not shown.

3
libksane-24.05.2.tar.xz Normal file
View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmaDmcEACgkQu0YzUNbv
Me9xog/8CBwvZ8bWOm8Hn/5RvtZ88AEGJFaYAGzKZ6+XFfIU8Anc9QRORByXD2sT
QHcqA22QSSZmvwPuMTAoQnZVc6PJkK1ZDQveYYo2//oYOYBFJwYR80kiS7eaC7md
ibXHwx0RffYzo2OO7t3C9aPav1BEXXJdbVL08qrT4iYOoep2TGzhNSS8Ws/uoF+E
zn0Badf5kdmheKfJRY5FWpBLC1DYIIpYIYhDdXqh2FYft9YpULLEGP+LhPixvyZp
qjF+WNBOw6YG72vUsK+Mmeb2wsO0VkTd0aP34SUcA2loy2UjQ1Bg0+ELyPjnDBD/
yH2KVSbPuYFepXLnTHaKM2ctwN0qS6BIV+n5jr1xdV7IeZnshyPl0NmWoXFco3K0
3FPrykkT27p47c1gtBjCPtEIymaJrJbIe682UqkpNATpWgFqb+BVru/2Vg1kDK3u
EeG1aXezHpKod+lmDmj/gmwgzTXvkxYDKBWfI0Jd0FezS77OxXk/BIhp0g31hewi
3uPX1FOnkH3q5Qv5Ny6kGESGPQxnqsUWfC3zwmofJ+v+kg3lcjSSaAIq7KA4PFYp
hWQPJPPhnzIqV/GRq/CB3icpA9xegeBX/+dWxqmZjgm/f1k7fu+CfJiLKf4EJQTG
08k0/eg0UUZ808Bz6ES9BQN6LTO0+TK076IphtEPE995he0k+rg=
=1Xfe
-----END PGP SIGNATURE-----

3
libksane-24.08.0.tar.xz Normal file
View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAma+3ZsACgkQu0YzUNbv
Me9ikg/+N+UawKPpuwn6P3UDQ6eoFG0HiX7S1+xw/jW2pco2E1eP+RIyaMiDGv3x
SUp+mdHPU2MkYSoDW7FX99ULgP7HR2QzWnwkveTiExdxU2rxvCCGrnesFrMkp2HV
Pqwp71mmn40uy5hp0rK1uwcRIT0s10NNc+32QytvSwg8+k69SMHmgP+VMjJ2iSf2
gdmfs4McFiA5J7cZ9ZWUvq46rwYcoY9henNlkCJtbecVQ9hfQyG9xToCe5Gxle7p
P+Filq352iqI56m1sCk7Ne+R8u54PVD+NM8f4AiCjMEaXxt7B0JrSsmuA+5UANMo
f5VdfNaJGwvkjZf+qeklLZAs264Ki8m+m/ppMXr2xGxY91DYSyzN7R0PbOGeDBAa
pCRLS41OqWoidhg3pYZGUXKcZoxbWetbxTiqadBN6FfS7rJ1d8n7u2SqpfJnkln0
XlzIbki3uYpoVzE3rkuhGsanb/UaY+OxVPxrKTS5OWXpMnCEJBfMnq77Ve33PLQ1
Ww5mAfLwJb/FuO+wrfINkA6YKdBryqmf1r9Ds5Q9tzt9HLoscz8KfykfM/hmZUvQ
3k3Ew65/lKTufdfmvDK/6K1Rno+5geM0oe9kBCbAWID/+Jbko5lsNgdtsyAiUMlT
s+FisJum8qj4rYWRHmy6FvR2b1SkuT4OhYqhvvEw69eACGXCI1M=
=qlH2
-----END PGP SIGNATURE-----

3
libksane-24.08.1.tar.xz Normal file
View File

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

View File

@ -0,0 +1,16 @@
-----BEGIN PGP SIGNATURE-----
iQIzBAABCgAdFiEE2BwMs463Je9mkcOFu0YzUNbvMe8FAmbf+bsACgkQu0YzUNbv
Me/McA/+O/yNKTQEIurOmdda/Bp1a17re585JMhxyGYOJdnwCHWcw8fg/Qqy0hsZ
cdFGJGuyVK2F2LNf1kRILTpAdmsLnAeBXjnHT789aqMjSDg83/DWDeOrr659FRI0
bUr5QwdY5WdUI+UtwaEhQEabA2ho96lAg6b4mR0RIRmqkGiS1nyEHa945g7aIN/T
+JcpCPJfJdWUF8eT65706V6lMbym2RTvCr8lhbWeVHGQBWq1Qh70y/f5M4Zr/S7A
yQsvp9Uy8l19tu8y8SNF7kGh3Y9SlCiY2ahf6A6YChpgOsqu9bWe3xER7U5FFGn3
YFjjgOhyLRJuiVeS2aQaf4wZrGOHEWFn64kM9SMoTtewMpR0MAheIhReQtVAwFiZ
F9Wgd10aWxBxiMmnrqdtEt8aaI4VKFsUSk3eJr6UNJ2VB7UVCrPHkPNQ1ZzNE3sY
zHnWiYa3ulWUG9QI8r1LMIBDq4l62ICi6EjXkAbeAQDGgax9QUdNeJWuRIXqer7u
xr8DMjjRy5OWHOTnqsx6hmSUOcTl5FOHKMROhzrnETZEvxt5C8vH9nqrft3/G7UD
aRxcSxK1invpuQJ0EAUWpXNBAX9UJoxzO2UwfiBF4UItHaddu7aHCl4+0NPsI84S
IPI5E+Fb82Os9M7/zBuDfLF9ErcoSXI6dyYHTCWq/VQfrPsh7Jg=
=/teF
-----END PGP SIGNATURE-----

97
libksane-kf5.spec Normal file
View File

@ -0,0 +1,97 @@
#
# spec file for package libksane-kf5
#
# Copyright (c) 2024 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/
#
%define kf5_version 5.90.0
%define qt5_version 5.15.2
%define rname libksane
%bcond_without released
Name: libksane-kf5
Version: 24.08.1
Release: 0
Summary: KDE scanning library
License: LGPL-2.1-only OR LGPL-3.0-only
URL: https://www.kde.org
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: kf6-extra-cmake-modules
BuildRequires: cmake(KF5I18n) >= %{kf5_version}
BuildRequires: cmake(KF5TextWidgets) >= %{kf5_version}
BuildRequires: cmake(KF5Wallet) >= %{kf5_version}
BuildRequires: cmake(KF5WidgetsAddons) >= %{kf5_version}
BuildRequires: cmake(KSaneCore) >= 24.02.2
BuildRequires: cmake(Qt5Core) >= %{qt5_version}
BuildRequires: cmake(Qt5Widgets) >= %{qt5_version}
%description
The KDE scanner library provides an API and widgets for using
scanners and other imaging devices supported by SANE.
%package -n libKF5Sane6
Summary: KDE scan library
Requires: libksane-icons
Recommends: libksane-lang = %{version}
%description -n libKF5Sane6
The KDE scanner library provides an API and widgets for using
scanners and other imaging devices supported by SANE.
%package devel
Summary: Development files for the KDE scanning library
Requires: libKF5Sane6 = %{version}
Requires: cmake(Qt5Widgets) >= %{qt5_version}
# libksane-devel is now the KF6/Qt6 based one
Provides: libksane-devel = 23.08.4
Obsoletes: libksane-devel <= 23.08.4
%description devel
This package contains a library to add scan support to KDE
applications.
%prep
%autosetup -p1 -n %{rname}-%{version}
%build
%cmake_kf5 -d build
%cmake_build
%install
%kf5_makeinstall -C build
# Only one translation package for both flavors
rm -r %{buildroot}%{_datadir}/locale
%ldconfig_scriptlets -n libKF5Sane6
%files -n libKF5Sane6
%license COPYING*
%{_kf5_libdir}/libKF5Sane.so.*
# Icons are already packaged in libksane-icons
%exclude %{_kf5_iconsdir}/
%files devel
%{_kf5_cmakedir}/KF5Sane/
%{_kf5_includedir}/KSane/
%{_kf5_libdir}/libKF5Sane.so
%changelog

2271
libksane.changes Normal file

File diff suppressed because it is too large Load Diff

117
libksane.spec Normal file
View File

@ -0,0 +1,117 @@
#
# spec file for package libksane
#
# Copyright (c) 2024 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/
#
%define kf6_version 6.3.0
%define qt6_version 6.6.0
%bcond_without released
Name: libksane
Version: 24.08.1
Release: 0
Summary: KDE scanning library
License: LGPL-2.1-only OR LGPL-3.0-only
URL: https://www.kde.org
Source0: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz
%if %{with released}
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{name}-%{version}.tar.xz.sig
Source2: applications.keyring
%endif
BuildRequires: kf6-extra-cmake-modules >= %{kf6_version}
BuildRequires: cmake(KF6I18n) >= %{kf6_version}
BuildRequires: cmake(KF6TextWidgets) >= %{kf6_version}
BuildRequires: cmake(KF6Wallet) >= %{kf6_version}
BuildRequires: cmake(KF6WidgetsAddons) >= %{kf6_version}
BuildRequires: cmake(KSaneCore6)
BuildRequires: cmake(Qt6Core) >= %{qt6_version}
BuildRequires: cmake(Qt6Widgets) >= %{qt6_version}
%description
The KDE scanner library provides an API and widgets for using
scanners and other imaging devices supported by SANE.
%package -n libKSaneWidgets6
Summary: KDE scan library
Requires: libksane-icons
Recommends: libksane-lang = %{version}
%description -n libKSaneWidgets6
The KDE scanner library provides an API and widgets for using
scanners and other imaging devices supported by SANE.
%package -n libksane-icons
Summary: Icons required by libksane library
Conflicts: libKF5Sane5 <= 23.08.5
%description -n libksane-icons
Icons required by libksane library.
%package devel
Summary: Development files for the KDE scanning library
Requires: libKSaneWidgets6 = %{version}
Requires: cmake(Qt6Widgets) >= %{qt6_version}
%description devel
This package contains a library to add scan support to KDE applications.
%lang_package -n libKSaneWidgets6
%package -n libksane-lang
Summary: Translations for libKSaneWidgets6 and libKF5Sane6
Supplements: libKF5Sane6 = %{version}
Supplements: libKSaneWidgets6 = %{version}
Provides: libksane-lang-all = %{version}
# Briefly existed in the devel project
Obsoletes: libKF5Sane6-lang
Obsoletes: libKSaneWidgets6-lang
BuildArch: noarch
%description -n libksane-lang
Provides translations for packages libKSaneWidgets6 and libKF5Sane6.
%prep
%autosetup -p1
%build
%cmake_kf6 -DBUILD_WITH_QT6:BOOL=TRUE
%kf6_build
%install
%kf6_install
%find_lang %{name} --all-name
%ldconfig_scriptlets -n libKSaneWidgets6
%files -n libksane-icons
%{_kf6_iconsdir}/hicolor/16x16/actions/black-white.png
%{_kf6_iconsdir}/hicolor/16x16/actions/color.png
%{_kf6_iconsdir}/hicolor/16x16/actions/gray-scale.png
%files -n libKSaneWidgets6
%license LICENSES/*
%{_kf6_libdir}/libKSaneWidgets6.so.*
%files devel
%{_kf6_cmakedir}/KSaneWidgets6/
%{_includedir}/KSaneWidgets6/
%{_kf6_libdir}/libKSaneWidgets6.so
%files -n libksane-lang -f %{name}.lang
%changelog