SHA256
1
0
forked from pool/xca

Accepting request 1119429 from home:jbrielmaier:branches:security

- Update to version 2.5.0:
  * Multiple bug fixes
  * Add Bulgarian, Indonesian and Persian translation
  * Switch from autotools/qmake to cmake
  * Add support for Qt6 and OpenSSL 3.x
  * Drop support for Qt4
  * Drop support for old XCA < 2.0.0 databases
  * Drop support for OpenSSL < 1.1.0
- Switch to cmake build system
- Update URL
- VERSION file got renamed to VERSION.txt
- Improve Supplements syntax to conform with linter
- Set buildrequires again to openssl as openSSL 3 is now supported
- Raise minimum cmake version to 3.16.0

OBS-URL: https://build.opensuse.org/request/show/1119429
OBS-URL: https://build.opensuse.org/package/show/security/xca?expand=0&rev=25
This commit is contained in:
Marcus Meissner 2023-10-25 08:05:51 +00:00 committed by Git OBS Bridge
parent 758797a3cf
commit 12c314fe3c
4 changed files with 28 additions and 16 deletions

View File

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

3
xca-2.5.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Fri Oct 20 13:38:18 UTC 2023 - Jonathan Brielmaier <jbrielmaier@opensuse.org>
- Update to version 2.5.0:
* Multiple bug fixes
* Add Bulgarian, Indonesian and Persian translation
* Switch from autotools/qmake to cmake
* Add support for Qt6 and OpenSSL 3.x
* Drop support for Qt4
* Drop support for old XCA < 2.0.0 databases
* Drop support for OpenSSL < 1.1.0
- Switch to cmake build system
- Update URL
- VERSION file got renamed to VERSION.txt
- Improve Supplements syntax to conform with linter
- Set buildrequires again to openssl as openSSL 3 is now supported
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Feb 20 11:07:45 CET 2023 - ro@suse.de Mon Feb 20 11:07:45 CET 2023 - ro@suse.de

View File

@ -2,6 +2,7 @@
# spec file for package xca # spec file for package xca
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2023 SUSE LLC
# Copyright (c) 2023 Jonathan Brielmaier <jbrielmaier@opensuse.org>
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,13 +18,13 @@
Name: xca Name: xca
Version: 2.4.0 Version: 2.5.0
Release: 0 Release: 0
Summary: An RSA key and certificate management tool Summary: An RSA key and certificate management tool
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Summary(de): Ein RSA-Schlüssel- und -Zertifikat-Managementprogramm Summary(de): Ein RSA-Schlüssel- und -Zertifikat-Managementprogramm
URL: https://sourceforge.net/projects/xca/ URL: https://www.hohnstaedt.de/xca/
Source: https://github.com/chris2511/xca/releases/download/RELEASE.%{version}/%{name}-%{version}.tar.gz Source: https://github.com/chris2511/xca/releases/download/RELEASE.%{version}/%{name}-%{version}.tar.gz
Patch0: %{name}-desktop.patch Patch0: %{name}-desktop.patch
BuildRequires: gcc-c++ BuildRequires: gcc-c++
@ -36,11 +37,7 @@ BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Help) BuildRequires: pkgconfig(Qt5Help)
BuildRequires: pkgconfig(Qt5Sql) BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Widgets) BuildRequires: pkgconfig(Qt5Widgets)
%if 0%{suse_version} < 1550
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
%else
BuildRequires: libopenssl-1_1-devel
%endif
#Requires: libQt5Sql5-sqlite #Requires: libQt5Sql5-sqlite
%description %description
@ -67,7 +64,7 @@ Summary: Bash Completion for %{name}
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Requires: %{name} = %{version} Requires: %{name} = %{version}
Requires: bash-completion Requires: bash-completion
Supplements: packageand(%{name}:bash-completion) Supplements: (%{name} and bash-completion)
BuildArch: noarch BuildArch: noarch
%description bash-completion %description bash-completion
@ -78,17 +75,15 @@ Bash completion script for %{name}.
%autopatch -p1 %autopatch -p1
%build %build
%configure --with-qt-version=5 \ %cmake xca
--docdir=%{_datadir}/%{name} %cmake_build
%make_build destdir=%{buildroot} prefix=%{_prefix}
%install %install
%make_install destdir=%{buildroot} prefix=%{_prefix} %cmake_install
%suse_update_desktop_file -i %{name} DesktopUtility %suse_update_desktop_file -i %{name} DesktopUtility
%files %files
%doc AUTHORS changelog VERSION %doc AUTHORS changelog VERSION.txt
%license COPYRIGHT %license COPYRIGHT
%{_bindir}/%{name} %{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop %{_datadir}/applications/%{name}.desktop