SHA256
1
0
forked from pool/xca
xca/xca.spec

93 lines
3.1 KiB
RPMSpec

#
# spec file for package xca
#
# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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-Managementprogramm
Version: 2.1.2
Release: 0
License: BSD-3-Clause
Group: Productivity/Networking/Security
Url: http://sourceforge.net/projects/xca/
Source: https://github.com/chris2511/xca/releases/download/RELEASE.%{version}/%{name}-%{version}.tar.gz
Autoreqprov: on
Patch0: %{name}-desktop.patch
Patch100: %{name}-configure.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: gcc-c++ >= 3.1.0
#
%if 0%{?suse_version}
BuildRequires: libtool
BuildRequires: update-desktop-files
%else
BuildRequires: libtool-ltdl-devel
%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
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
"Graphical certification authority" ist ein Interface zum Verwalten
von RSA-Schlüsseln und -Zertifikaten, und dem 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 den
Import und Export von Schlüsseln und PEM/DER/PKCS#8-Zertifikaten,
das Signieren und Widerrufen von PEM/DER/PKCS12, und die
Auswahl von X509v3-Erweiterungen. Die Zertifikate werden in einer
Baumstruktur präsentiert.
%prep
%setup
%patch0
%patch100
%build
#bootstrap
%configure --docdir=%{_datadir}/%{name}
make destdir="%{buildroot}" prefix=%{_prefix} %{?_smp_mflags}
%install
%make_install destdir="%{buildroot}" prefix="%{_prefix}"
%suse_update_desktop_file -i %{name} DesktopUtility
%files
%defattr(-,root,root)
%doc AUTHORS changelog COPYRIGHT VERSION
%{_bindir}/%{name}
%{_datadir}/applications/%{name}.desktop
%{_datadir}/mime/packages/%{name}.xml
%{_datadir}/pixmaps/%{name}*
%{_datadir}/%{name}
%{_mandir}/man1/%{name}.1.gz
%changelog