SHA256
1
0
forked from pool/xca

Accepting request 671128 from home:namtrac:branches:security

- Cleanup spec file
- Use Qt5
- Refresh patches

OBS-URL: https://build.opensuse.org/request/show/671128
OBS-URL: https://build.opensuse.org/package/show/security/xca?expand=0&rev=12
This commit is contained in:
Lars Vogdt
2019-02-08 18:14:20 +00:00
committed by Git OBS Bridge
parent cc153f6887
commit 58459e4da6
4 changed files with 41 additions and 38 deletions

View File

@@ -1,8 +1,8 @@
Index: configure.ac Index: xca-2.1.2/configure.ac
=================================================================== ===================================================================
--- configure.ac.orig --- xca-2.1.2.orig/configure.ac
+++ configure.ac +++ xca-2.1.2/configure.ac
@@ -228,7 +228,7 @@ if test "${enable_doc}"; then @@ -226,7 +226,7 @@ if test "${enable_doc}"; then
case "$DOCTOOL" in case "$DOCTOOL" in
linuxdoc) DOCTOOL="linuxdoc -B html -H \$(TOPDIR)/doc/html.header";; linuxdoc) DOCTOOL="linuxdoc -B html -H \$(TOPDIR)/doc/html.header";;
@@ -11,11 +11,11 @@ Index: configure.ac
:) :)
if test "${srcdir}" != "."; then if test "${srcdir}" != "."; then
mkdir -p doc mkdir -p doc
Index: configure Index: xca-2.1.2/configure
=================================================================== ===================================================================
--- configure.orig --- xca-2.1.2.orig/configure
+++ configure +++ xca-2.1.2/configure
@@ -4057,7 +4057,7 @@ test -n "$DOCTOOL" || DOCTOOL="":"" @@ -4136,7 +4136,7 @@ test -n "$DOCTOOL" || DOCTOOL="":""
case "$DOCTOOL" in case "$DOCTOOL" in
linuxdoc) DOCTOOL="linuxdoc -B html -H \$(TOPDIR)/doc/html.header";; linuxdoc) DOCTOOL="linuxdoc -B html -H \$(TOPDIR)/doc/html.header";;

View File

@@ -1,7 +1,7 @@
Index: misc/xca.desktop Index: xca-2.1.2/misc/xca.desktop
=================================================================== ===================================================================
--- misc/xca.desktop.orig --- xca-2.1.2.orig/misc/xca.desktop
+++ misc/xca.desktop +++ xca-2.1.2/misc/xca.desktop
@@ -10,5 +10,5 @@ Comment[hr]=Grafičko korisničko sučel @@ -10,5 +10,5 @@ Comment[hr]=Grafičko korisničko sučel
Exec=xca %F Exec=xca %F
Icon=xca-32x32 Icon=xca-32x32

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Feb 4 14:02:49 UTC 2019 - Ismail Dönmez <idonmez@suse.com>
- Cleanup spec file
- Use Qt5
- Refresh patches
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 22 14:26:00 UTC 2019 - liedke@rz.uni-mannheim.de Tue Jan 22 14:26:00 UTC 2019 - liedke@rz.uni-mannheim.de

View File

@@ -1,7 +1,7 @@
# #
# spec file for package xca # spec file for package xca
# #
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# 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
@@ -12,39 +12,36 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # 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/
# #
Name: xca Name: xca
Summary: An RSA key and certificate management tool
Summary(de): Ein RSA-Schlüssel- und -Zertifikat-Managementprogramm
Version: 2.1.2 Version: 2.1.2
Release: 0 Release: 0
Summary: An RSA key and certificate management tool
Summary(de): Ein RSA-Schlüssel- und -Zertifikat-Managementprogramm
License: BSD-3-Clause License: BSD-3-Clause
Group: Productivity/Networking/Security Group: Productivity/Networking/Security
Url: http://sourceforge.net/projects/xca/ URL: http://sourceforge.net/projects/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
Autoreqprov: on
Patch0: %{name}-desktop.patch Patch0: %{name}-desktop.patch
Patch100: %{name}-configure.patch Patch1: %{name}-configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: gcc-c++
BuildRequires: gcc-c++ >= 3.1.0 BuildRequires: libqt5-linguist
# BuildRequires: pkgconfig
BuildRequires: sgmltool
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Sql)
BuildRequires: pkgconfig(Qt5Widgets)
BuildRequires: pkgconfig(openssl)
Requires: libQt5Sql5-sqlite
%if 0%{?suse_version} %if 0%{?suse_version}
BuildRequires: libtool BuildRequires: libtool
BuildRequires: update-desktop-files BuildRequires: update-desktop-files
%else %else
BuildRequires: libtool-ltdl-devel BuildRequires: libtool-ltdl-devel
%endif %endif
#
BuildRequires: libqt4-devel >= 4.7.0
BuildRequires: openssl-devel >= 0.9.8
BuildRequires: sgmltool
#
Requires: libqt4 >= 4.7.0
Requires: openssl >= 0.9.8
Requires: db
%description %description
Graphical certification authority is an interface for managing RSA Graphical certification authority is an interface for managing RSA
@@ -66,21 +63,20 @@ Auswahl von X509v3-Erweiterungen. Die Zertifikate werden in einer
Baumstruktur präsentiert. Baumstruktur präsentiert.
%prep %prep
%setup %setup -q
%patch0 %autopatch -p1
%patch100
%build %build
#bootstrap %configure --with-qt-version=5 \
%configure --docdir=%{_datadir}/%{name} --docdir=%{_datadir}/%{name}
make destdir="%{buildroot}" prefix=%{_prefix} %{?_smp_mflags}
%make_build destdir="%{buildroot}" prefix=%{_prefix}
%install %install
%make_install destdir="%{buildroot}" prefix="%{_prefix}" %make_install destdir="%{buildroot}" prefix=%{_prefix}
%suse_update_desktop_file -i %{name} DesktopUtility %suse_update_desktop_file -i %{name} DesktopUtility
%files %files
%defattr(-,root,root)
%doc AUTHORS changelog VERSION %doc AUTHORS changelog VERSION
%license COPYRIGHT %license COPYRIGHT
%{_bindir}/%{name} %{_bindir}/%{name}
@@ -88,6 +84,6 @@ make destdir="%{buildroot}" prefix=%{_prefix} %{?_smp_mflags}
%{_datadir}/mime/packages/%{name}.xml %{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/%{name}* %{_datadir}/pixmaps/%{name}*
%{_datadir}/%{name} %{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.gz %{_mandir}/man1/%{name}.1%{?ext_man}
%changelog %changelog