LibPKI from the OpenCA project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.1 KiB

Name: libpki
Version: 0.8.9
Release: 0.beta1%{?dist}
Summary: OpenCA PKI development library
Group: Security/PKI
License: OpenCA License (BSD Style)
URL: http://www.openca.org/projects/libpki
Source0: %{name}-%{version}.tar.gz
BuildRequires: openssl-devel
BuildRequires: libxml2-devel
BuildRequires: openldap-devel
%description
OpenCA Labs' Easy to use PKI library.
%package devel
Summary: Development tools for LibPKI applications
Group: Security/PKI
Requires: libpki >= %ver
%description devel
Includes and documentation for developing applications by using
LibPKI.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" ./autogen.sh $ARCH_FLAGS --prefix="%{prefix}" --mandir="%{_mandir}"
%configure
make %{?_smp_mflags}
make man
%install
%make_install
%files
%defattr(-, root, root)
%doc AUTHORS COPYING ChangeLog NEWS README
%{_bindir}/pki-*
%{_bindir}/url-*
%{_libdir}/libpki*
%{_sysconfdir}/libpki/*
%{_sysconfdir}/pki.conf
%files devel
%defattr(-, root, root)
%{_bindir}/libpki-config
%{_includedir}/*
%{_datadir}/*
%changelog
* Sat Sep 1 2018 Daniel Berteaud <daniel@firewall-services.com> 0.8.9-1
- Initial release