pakchois package init
This commit is contained in:
parent
c1326113a1
commit
9f48fe9333
BIN
pakchois-0.4.tar.gz
Normal file
BIN
pakchois-0.4.tar.gz
Normal file
Binary file not shown.
52
pakchois.spec
Normal file
52
pakchois.spec
Normal 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
4
pakchois.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version-control: NA
|
||||
src_repo: NA
|
||||
tag_prefix: NA
|
||||
seperator: NA
|
||||
Loading…
x
Reference in New Issue
Block a user