!1 package init

Merge pull request !1 from jeff200902/master
This commit is contained in:
openeuler-ci-bot 2020-06-20 11:19:59 +08:00 committed by Gitee
commit 6cdfb9dedd
3 changed files with 56 additions and 0 deletions

BIN
pakchois-0.4.tar.gz Normal file

Binary file not shown.

52
pakchois.spec Normal file
View File

@ -0,0 +1,52 @@
Summary: The library wraped for PKCS#11
Name: pakchois
Version: 0.4
Release: 19
License: LGPLv2+
URL: http://www.manyfish.co.uk/pakchois/
Source0: http://www.manyfish.co.uk/pakchois/pakchois-%{version}.tar.gz
BuildRequires: gcc gettext
%description
The pakchois packaging library aims to provide an object-oriented C interface
that does not hide any underlying interface and avoids dependencies on any
cryptography toolkit. It is a PKCK#11 thin wapper libray.
%package devel
Summary: Development library and C header files for the pakchois library
Requires: pkgconfig, pakchois = %{version}-%{release}
%description devel
The pakchois PKCS#11 wrapped development library.
%prep
%autosetup -n pakchois-%{version} -p1 -S git
%build
%configure --enable-module-path=%{_libdir}/pkcs11:%{_libdir}/gnome-keyring:%{_libdir}
%make_build
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS NEWS README
%{_libdir}/*.so.*
%files devel
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*.h
%{_libdir}/pkgconfig/*.pc
%{_libdir}/*.so
%{_libdir}/*.a
%changelog
* Thu Apr 30 2020 Jeffery.Gao <gaojianxing@huawei.com> - 0.4-19
- Package init

4
pakchois.yaml Normal file
View File

@ -0,0 +1,4 @@
version-control: NA
src_repo: NA
tag_prefix: NA
seperator: NA