[packages/yubico-piv-tool] - initial; from FC

arekm arekm at pld-linux.org
Mon Jan 30 14:18:22 CET 2017


commit cc549f10652a3dce70a7aa27b7ba95dd79c08ee3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Mon Jan 30 14:18:09 2017 +0100

    - initial; from FC

 yubico-piv-tool.spec | 79 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 79 insertions(+)
---
diff --git a/yubico-piv-tool.spec b/yubico-piv-tool.spec
new file mode 100644
index 0000000..9448c3e
--- /dev/null
+++ b/yubico-piv-tool.spec
@@ -0,0 +1,79 @@
+%bcond_without	tests
+Summary:	Tool for interacting with the PIV applet on a YubiKey NEO
+Name:		yubico-piv-tool
+Version:	1.4.2
+Release:	1
+License:	GPL v3+
+Group:		Applications
+URL:		https://developers.yubico.com/yubico-piv-tool/
+Source0:	https://developers.yubico.com/yubico-piv-tool/Releases/%{name}-%{version}.tar.gz
+# Source0-md5:	b03dc5adef8504f822a7586e65f5b33c
+BuildRequires:	chrpath
+BuildRequires:	openssl-devel
+BuildRequires:	pcsc-lite-devel
+Requires:	pcsc-driver-ccid
+
+%description
+The Yubico PIV tool is used for interacting with the Privilege and
+Identification Card (PIV) applet on a YubiKey NEO.
+
+With it you may generate keys on the device, importing keys and
+certificates, and create certificate requests, and other operations. A
+shared library and a command-line tool is included.
+
+%package devel
+Summary:	Tool for interacting with the PIV applet on a YubiKey NEO
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+The Yubico PIV tool is used for interacting with the Privilege and
+Identification Card (PIV) applet on a YubiKey NEO. This package
+includes development files.
+
+
+%prep
+%setup -q
+
+%build
+%configure \
+	--with-backend="pcsc" \
+	--disable-silent-rules
+
+%{__make}
+
+%{?with_tests:%{__make} check}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+chrpath --delete $RPM_BUILD_ROOT%{_bindir}/yubico-piv-tool
+chrpath --delete $RPM_BUILD_ROOT%{_libdir}/libykcs11.so.*
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/libykpiv.{la,a}
+rm -f $RPM_BUILD_ROOT%{_libdir}/libykcs11.{la,a}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/yubico-piv-tool
+%attr(755,root,root) %ghost %{_libdir}/libykpiv.so.1
+%attr(755,root,root) %{_libdir}/libykpiv.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libykcs11.so.1
+%attr(755,root,root) %{_libdir}/libykcs11.so.*.*
+%{_mandir}/man1/yubico-piv-tool.1*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/libykpiv.so
+%attr(755,root,root) %{_libdir}/libykcs11.so
+%{_pkgconfigdir}/ykpiv.pc
+%{_pkgconfigdir}/ykcs11.pc
+%{_includedir}/ykpiv
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yubico-piv-tool.git/commitdiff/cc549f10652a3dce70a7aa27b7ba95dd79c08ee3



More information about the pld-cvs-commit mailing list