diff --git a/yubico-piv-tool-1.0.3.tar.gz b/yubico-piv-tool-1.0.3.tar.gz deleted file mode 100644 index ac2a596..0000000 --- a/yubico-piv-tool-1.0.3.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:4cec162dda45851741a3b58c492797cc051ef59192ca35a3bdd125fc2ebd6210 -size 410065 diff --git a/yubico-piv-tool-1.0.3.tar.gz.sig b/yubico-piv-tool-1.0.3.tar.gz.sig deleted file mode 100644 index 68e60de..0000000 Binary files a/yubico-piv-tool-1.0.3.tar.gz.sig and /dev/null differ diff --git a/yubico-piv-tool-1.1.0.tar.gz b/yubico-piv-tool-1.1.0.tar.gz new file mode 100644 index 0000000..42b8fdf --- /dev/null +++ b/yubico-piv-tool-1.1.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:457407e462d8d11c80788641516d65b92cc327b120b4e5bbf43f0d0679db1c39 +size 488212 diff --git a/yubico-piv-tool-1.1.0.tar.gz.sig b/yubico-piv-tool-1.1.0.tar.gz.sig new file mode 100644 index 0000000..8a929fc Binary files /dev/null and b/yubico-piv-tool-1.1.0.tar.gz.sig differ diff --git a/yubico-piv-tool.changes b/yubico-piv-tool.changes index 124eb84..62e2628 100644 --- a/yubico-piv-tool.changes +++ b/yubico-piv-tool.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Fri Nov 6 21:05:07 UTC 2015 - t.gruner@katodev.de + +- Version 1.1.0 (released 2015-11-06) + - Add support for new YubiKey 4. + - Add ykcs11. + +------------------------------------------------------------------- +Tue Oct 13 07:47:50 UTC 2015 - t.gruner@katodev.de + +- Add dependencive in .spec file + ------------------------------------------------------------------- Thu Oct 1 21:18:34 UTC 2015 - t.gruner@katodev.de diff --git a/yubico-piv-tool.spec b/yubico-piv-tool.spec index efa3be5..41a46cb 100644 --- a/yubico-piv-tool.spec +++ b/yubico-piv-tool.spec @@ -17,9 +17,8 @@ %define soname 1 - Name: yubico-piv-tool -Version: 1.0.3 +Version: 1.1.0 Release: 0 Summary: Yubico YubiKey NEO CCID Manager License: BSD-2-Clause @@ -27,24 +26,34 @@ Group: Productivity/Networking/Security Url: https://developers.yubico.com/ Source0: https://developers.yubico.com/yubico-piv-tool/Releases/%{name}-%{version}.tar.gz Source1: https://developers.yubico.com/yubico-piv-tool/Releases/%{name}-%{version}.tar.gz.sig -BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: libtool BuildRequires: pcsc-lite-devel BuildRequires: pkg-config BuildRequires: pkgconfig(openssl) +Requires: libykcs11-%{soname} = %{version} Requires: libykpiv%{soname} = %{version} +BuildRoot: %{_tmppath}/%{name}-%{version}-build %description -This is a command line tool to interact with the PIV applet on a YubiKey NEO. -Among other functions it supports, generating keys on device, importing keys +This is a command line tool to interact with the PIV applet on a YubiKey NEO. +Among other functions it supports, generating keys on device, importing keys and certificates and creating certificate requests. %package -n libykpiv%{soname} Summary: Yubikey NEO PIV applet library Group: Productivity/Networking/Security +Requires: pcsc-ccid %description -n libykpiv%{soname} -This is a low-level library to interact the PIV applet on a YubiKey NEO +This is a low-level library to interact the PIV applet on a YubiKey NEO + +%package -n libykcs11-%{soname} +Summary: Yubikey NEO PKCS#11 applet library +Group: Productivity/Networking/Security +Requires: pcsc-ccid + +%description -n libykcs11-%{soname} +This is a PKCS#11 module that allows to communicate with the PIV application running on a YubiKey %package -n libykpiv-devel Summary: Development files for Yubikey NEO PIV applet library @@ -55,24 +64,35 @@ Requires: libykpiv%{soname} = %{version} This package contains the header file needed to develop applications that use Yubikey NEO PIV applet library. +%package -n libykcs11-devel +Summary: Development files for Yubikey NEO PKCS#11 applet library +Group: Development/Libraries/C and C++ +Requires: libykcs11-%{soname} = %{version} + +%description -n libykcs11-devel +This package contains the header file needed to develop applications that use +Yubikey NEO PKCS#11 applet library. + %prep -%setup -q +%setup -q %build %configure --enable-static=no --with-backend=pcsc -sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool -sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool -%{__make} %{?_smp_mflags} +make %{?_smp_mflags} %install -%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" -%{__rm} -rf %{buildroot}/%{_libdir}/*.la +make install DESTDIR=%{buildroot} INSTALL="install -p" +find %{buildroot} -type f -name "*.la" -delete -print %post -n libykpiv%{soname} -p /sbin/ldconfig %postun -n libykpiv%{soname} -p /sbin/ldconfig -%files +%post -n libykcs11-%{soname} -p /sbin/ldconfig + +%postun -n libykcs11-%{soname} -p /sbin/ldconfig + +%files %defattr(-,root,root) %doc COPYING NEWS ChangeLog README %{_bindir}/%{name} @@ -81,7 +101,12 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %files -n libykpiv%{soname} %defattr(-,root,root) %{_libdir}/libykpiv.so.%{soname} -%{_libdir}/libykpiv.so.%{soname}.0.8 +%{_libdir}/libykpiv.so.%{soname}.1.0 + +%files -n libykcs11-%{soname} +%defattr(-,root,root) +%{_libdir}/libykcs11.so.%{soname} +%{_libdir}/libykcs11.so.%{soname}.1.0 %files -n libykpiv-devel %defattr(-,root,root) @@ -90,4 +115,11 @@ sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool %{_libdir}/libykpiv.so %{_libdir}/pkgconfig/ykpiv.pc +%files -n libykcs11-devel +%defattr(-,root,root) +%dir %{_includedir}/ykcs11/ +%{_includedir}/ykcs11/* +%{_libdir}/libykcs11.so +%{_libdir}/pkgconfig/ykcs11.pc + %changelog