package created using the webbuild interface [release 0.4.9-1mamba;Sat Dec 08 2018]
This commit is contained in:
parent
d8f06728ab
commit
ede1287891
70
libp11.spec
Normal file
70
libp11.spec
Normal file
@ -0,0 +1,70 @@
|
||||
Name: libp11
|
||||
Version: 0.4.9
|
||||
Release: 1mamba
|
||||
Summary: PKCS#11 wrapper library
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/OpenSC/libp11
|
||||
Source: https://github.com/OpenSC/libp11/releases/download/libp11-%{version}/libp11-%{version}.tar.gz
|
||||
License: LGPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
PKCS#11 wrapper library.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libp11.so.*
|
||||
%{_libdir}/engines/libpkcs11.so
|
||||
%{_libdir}/engines/pkcs11.la
|
||||
%{_libdir}/engines/pkcs11.so
|
||||
%doc COPYING
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%{_includedir}/libp11.h
|
||||
%{_includedir}/p11_err.h
|
||||
%{_libdir}/libp11.a
|
||||
%{_libdir}/libp11.la
|
||||
%{_libdir}/libp11.so
|
||||
%{_libdir}/pkgconfig/libp11.pc
|
||||
%{_datadir}/doc/libp11/NEWS
|
||||
%doc NEWS README.md
|
||||
|
||||
%changelog
|
||||
* Sat Dec 08 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4.9-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user