Summary: Library for accessing X.509 and CMS data structure.
Name: libksba
Version: 1.3.4
Release: 1%{?dist}
License: GPLv3+
URL: https://www.gnupg.org/(fr)/download/index.html#libksba
Group: Security/Libraries.
Source0: https://www.gnupg.org/ftp/gcrypt/%{name}/%{name}-%{version}.tar.bz2
%define sha1 libksba=bc84945400bd1cabfd7b8ba4e20e71082f32bcc9
Vendor: VMware, Inc.
Distribution: Photon
BuildRequires: libgpg-error >= 1.2
%description
Libksba is a library to make the tasks of working with X.509 certificates,
CMS data and related objects more easy. It provides a highlevel interface
to the implemented protocols and presents the data in a consistent way.
%prep
%setup -q
%build
%configure --disable-static \
--prefix=%{_prefix}
make
%install
make DESTDIR=%{buildroot} install
find %{buildroot}%{_libdir} -name '*.la' -delete
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/ksba-config
%{_libdir}/*.so*
%{_includedir}/*
%{_datadir}/aclocal/ksba.m4
%{_datadir}/info/ksba.info.gz
%exclude %{_datadir}/info/dir
%changelog
* Wed Jul 27 2016 Kumar Kaushik <kaushikk@vmware.com> 1.3.4-1
- Initial Build.