2019-09-30 10:56:51 -04:00
|
|
|
Name: libksba
|
2020-07-25 14:15:50 +08:00
|
|
|
Version: 1.4.0
|
|
|
|
|
Release: 1
|
2019-09-30 10:56:51 -04:00
|
|
|
Summary: A library for X.509 and CMS
|
|
|
|
|
License: (LGPL-3.0+ or GPL-2.0+) and GPL-3.0+ and MIT
|
|
|
|
|
URL: https://www.gnupg.org/software/libksba/index.html
|
|
|
|
|
Source0: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2
|
|
|
|
|
Source1: ftp://ftp.gnupg.org/gcrypt/libksba/libksba-%{version}.tar.bz2.sig
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc gawk libgpg-error-devel >= 1.8 libgcrypt-devel >= 1.2.0
|
|
|
|
|
|
|
|
|
|
%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.
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Development headers and libraries for %{name}
|
|
|
|
|
Requires:%{name} = %{version}-%{release}
|
|
|
|
|
Requires(post): info
|
|
|
|
|
Requires(preun):info
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Development headers and libraries for %{name}
|
|
|
|
|
|
|
|
|
|
%package_help
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n %{name}-%{version} -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
%configure --disable-dependency-tracking
|
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
rm -rf %{buildroot}
|
|
|
|
|
%make_install
|
|
|
|
|
%delete_la
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
make check
|
|
|
|
|
|
|
|
|
|
%pre
|
|
|
|
|
|
|
|
|
|
%preun
|
|
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
|
|
%files
|
|
|
|
|
%defattr(-,root,root)
|
2019-11-06 19:39:06 +08:00
|
|
|
%license COPYING* AUTHORS
|
|
|
|
|
%doc ChangeLog README NEWS THANKS
|
2019-09-30 10:56:51 -04:00
|
|
|
%{_libdir}/libksba.so.*
|
|
|
|
|
%exclude %{_infodir}/dir
|
|
|
|
|
|
|
|
|
|
%post devel
|
|
|
|
|
install-info %{_infodir}/ksba.info %{_infodir}/dir ||:
|
|
|
|
|
|
|
|
|
|
%preun devel
|
|
|
|
|
if [ $1 -eq 0 ]; then
|
|
|
|
|
install-info --delete %{_infodir}/ksba.info %{_infodir}/dir ||:
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
|
%defattr(-,root,root)
|
|
|
|
|
%{_bindir}/*
|
|
|
|
|
%{_includedir}/*.h
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
%{_datadir}/aclocal/ksba.m4
|
2020-07-25 14:15:50 +08:00
|
|
|
%{_libdir}/pkgconfig/ksba.pc
|
2019-09-30 10:56:51 -04:00
|
|
|
|
|
|
|
|
%files help
|
|
|
|
|
%doc TODO
|
|
|
|
|
%{_datadir}/info/ksba.info.gz
|
|
|
|
|
|
|
|
|
|
%changelog
|
2020-07-25 14:15:50 +08:00
|
|
|
* Sat Jul 25 2020 yang_zhuang_zhuang <yangzhuangzhuang1@huawei.com> - 1.4.0-1
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC:update version to 1.4.0
|
|
|
|
|
|
2020-01-11 15:49:41 +08:00
|
|
|
* Sat Jan 11 2020 openEuler Buildteam <buildteam@openeuler.org> - 1.3.5-12
|
|
|
|
|
- delete unused patch
|
|
|
|
|
|
2019-11-06 19:39:06 +08:00
|
|
|
* Wed Oct 9 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.5-11
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: change the directory of AUTHORS
|
|
|
|
|
|
2019-09-30 10:56:51 -04:00
|
|
|
* Fri Sep 27 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.5-10
|
|
|
|
|
- Type:enhancement
|
|
|
|
|
- ID:NA
|
|
|
|
|
- SUG:NA
|
|
|
|
|
- DESC: revise spec file with new rules
|
|
|
|
|
|
|
|
|
|
* Mon Aug 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.3.5-9
|
|
|
|
|
- Package init
|