2010-11-01 18:17:50 +01:00
#
2012-06-06 23:41:23 +02:00
# spec file for package xca
2010-11-01 18:17:50 +01:00
#
2016-01-29 02:31:13 +01:00
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
2010-11-01 18:17:50 +01:00
#
# 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 http://bugs.opensuse.org/
#
Name : xca
Summary : An RSA key and certificate management tool
Summary(de): Ein RSA Schlüssel- und Zertifikat-Managmentprogramm
2015-10-17 14:04:44 +02:00
Version : 1.3.2
2012-06-06 23:41:23 +02:00
Release : 0
License : BSD-3-Clause
2010-11-01 18:17:50 +01:00
Group : Productivity/Networking/Security
2012-06-06 23:41:23 +02:00
Url : http://sourceforge.net/projects/xca/
2010-11-01 18:17:50 +01:00
Autoreqprov : on
2016-01-29 02:31:13 +01:00
Source : %{name} -%{version} .tar.gz
Patch0 : %{name} -doc_Makefile.patch
Patch1 : %{name} -desktop.patch
2017-12-19 17:37:51 +01:00
Patch2 : xca-1.3.2-openssl11.patch
2010-11-01 18:17:50 +01:00
BuildRoot : %{_tmppath} /%{name} -%{version} -build
BuildRequires : gcc-c++ >= 3.1.0
%if 0%{?sles_version} == 10
2016-01-29 02:31:13 +01:00
BuildRequires : qt-devel >= 4.6.0
2010-11-01 18:17:50 +01:00
%else
2016-01-29 02:31:13 +01:00
BuildRequires : libqt4-devel >= 4.6.0
2010-11-01 18:17:50 +01:00
%endif
2012-06-06 23:41:23 +02:00
%if 0%{?suse_version}
BuildRequires : libtool
BuildRequires : update-desktop-files
%else
BuildRequires : libtool-ltdl-devel
%endif
2016-01-29 02:31:13 +01:00
BuildRequires : openssl-devel >= 0.9.8
2012-06-06 23:41:23 +02:00
BuildRequires : sgmltool
2010-11-01 18:17:50 +01:00
%if 0%{?sles_version} == 10
2016-01-29 02:31:13 +01:00
Requires : qt >= 4.6.0
2010-11-01 18:17:50 +01:00
%else
2016-01-29 02:31:13 +01:00
Requires : libqt4 >= 4.6.0
2010-11-01 18:17:50 +01:00
%endif
2016-01-29 02:31:13 +01:00
Requires : openssl >= 0.9.8
2010-11-01 18:17:50 +01:00
Requires : db
%description
Graphical certification authority is an interface for managing RSA keys and certificates, and the creation and signing of PKCS#10 requests. It uses the OpenSSL library and a Berkeley DB for key and certificate storage. It supports importing and exporting keys and PEM DER PKCS8 certificates, signing and revoking of PEM DER PKCS12, and the selection of x509v3 extensions. A tree view of certificates is presented.
%description -l de
" G r a p h i c a l c e r t i f i c a t i o n a u t h o r i t y " ist ein Interface zum Verwalten von RSA-Schlüssel und -Zertifikate, das Erzeugen und Signieren von PKCS#10-Requests. Es verwendet die OpenSSL Biliothek und Berkley DB zum Speichern von Schlüsseln und Zerifkaten. Es unterstützt das Importieren und Exportieren von Schlüsseln und PEM DER PKCS#8 Zertifikaten, Signieren und Widerrufen von PEM DER PKCS12 und das Auswählen von x509v3-Erweiterungen. Die Zertifikate werden in einer Baumstruktur präsentiert.
%prep
%setup -n %{name} -%{version}
2016-01-29 02:31:13 +01:00
%patch0
%patch1
2017-12-19 17:37:51 +01:00
%if 0%{?suse_version} >= 1330
%patch2 -p1
%endif
2010-11-01 18:17:50 +01:00
%build
2016-01-29 02:31:13 +01:00
#bootstrap
CFLAGS=" $RPM_OPT_FLAGS " \
%configure --docdir=%{_datadir} /%{name}
2012-06-06 23:41:23 +02:00
%{__make} destdir=$PRM_BUILD_ROOT prefix=%{_prefix} %{?_smp_mflags}
2010-11-01 18:17:50 +01:00
%install
%{__make} destdir=$RPM_BUILD_ROOT prefix=/usr install
2016-01-29 02:31:13 +01:00
%suse_update_desktop_file -i %{name} DesktopUtility
2010-11-01 18:17:50 +01:00
%clean
%{__rm} -rf $RPM_BUILD_ROOT
%files
%defattr (-,root,root)
2016-01-29 02:31:13 +01:00
%doc AUTHORS changelog COPYRIGHT VERSION
2010-11-01 18:17:50 +01:00
%{_bindir} /%{name}
2016-01-29 02:31:13 +01:00
%{_bindir} /%{name} _db_stat
2010-11-01 18:17:50 +01:00
%{_datadir} /applications/%{name} .desktop
%{_datadir} /mime/packages/%{name} .xml
%{_datadir} /pixmaps/%{name} *
%{_datadir} /%{name}
%{_mandir} /man1/%{name} .1.gz
2016-01-29 02:31:13 +01:00
%{_mandir} /man1/%{name} _db_stat.1.gz
2010-11-01 18:17:50 +01:00
%changelog