From f96f2ed72e79953feb14628fc09a28303ce463b6 Mon Sep 17 00:00:00 2001 From: "chenyuao.cya" Date: Tue, 7 Mar 2023 17:53:21 +0800 Subject: [PATCH 1/2] rebuild for libcbor update --- libfido2.spec | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libfido2.spec b/libfido2.spec index 5a4d249..3570a24 100644 --- a/libfido2.spec +++ b/libfido2.spec @@ -1,4 +1,5 @@ -%define anolis_release 1 +%define anolis_release 2 + Name: libfido2 Version: 1.12.0 @@ -88,6 +89,9 @@ authentication device. %changelog +* Tue Mar 07 2023 chen_yu_ao - 1.12.0-2 +- rebuild for libcbor update + * Fri Feb 17 2023 Funda Wang - 1.12.0-1 - New version 1.12.0 -- Gitee From 2f0b0fa5d1f5dc96e64b3de43fdbd8afb2907a0a Mon Sep 17 00:00:00 2001 From: CHENYUAO Date: Fri, 14 Apr 2023 11:43:21 +0800 Subject: [PATCH 2/2] change spec file format and generate abi files --- libfido2.spec | 93 +++++++++++++++++++++++---------------------------- 1 file changed, 42 insertions(+), 51 deletions(-) diff --git a/libfido2.spec b/libfido2.spec index 3570a24..96cc8ed 100644 --- a/libfido2.spec +++ b/libfido2.spec @@ -1,94 +1,85 @@ -%define anolis_release 2 +%define anolis_release 3 -Name: libfido2 +Name: libfido2 +Version: 1.12.0 +Release: %{anolis_release}%{?dist} +Summary: FIDO2 library +License: BSD +URL: https://github.com/Yubico/%{name} +Source0: https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz -Version: 1.12.0 -Release: %{anolis_release}%{?dist} -Summary: FIDO2 library +BuildRequires: gnupg2 gcc gcc-c++ make cmake autoconf +BuildRequires: pkgconfig(hidapi-hidraw) pkgconfig(libcbor) pkgconfig(libudev) +BuildRequires: pkgconfig(openssl) pkgconfig(zlib) -License: BSD -URL: https://github.com/Yubico/%{name} -Source0: https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz - -BuildRequires: gnupg2 -BuildRequires: cmake -BuildRequires: make -BuildRequires: gcc -BuildRequires: pkgconfig(hidapi-hidraw) -BuildRequires: pkgconfig(libcbor) -BuildRequires: pkgconfig(libudev) -BuildRequires: pkgconfig(openssl) -BuildRequires: pkgconfig(zlib) %description -%{name} is an open source library to support the FIDO2 protocol. FIDO2 is -an open authentication standard that consists of the W3C Web Authentication -specification (WebAuthn API), and the Client to Authentication Protocol -(CTAP). CTAP is an application layer protocol used for communication -between a client (browser) or a platform (operating system) with an external -authentication device (for example the Yubico Security Key). - -################################################################################ - -%package doc -Summary: Documentation files for %{name} -Requires: %{name} = %{version}-%{release} -BuildArch: noarch +libfido2 provides library functionality and command-line tools to communicate +with a FIDO device over USB or NFC, and to verify attestation and assertion signatures. +libfido2 supports the FIDO U2F (CTAP 1) and FIDO2 (CTAP 2) protocols. -%description doc -The %{name}-doc package contains documentation files for %{name}. %package devel - -Summary: Development files for %{name} -Requires: %{name} = %{version}-%{release} +Summary: Development files for %{name} +Requires: %{name} = %{version}-%{release} %description devel -%{name}-devel contains development libraries and header files for %{name}. - -################################################################################ +libfido2-devel contains development libraries and header files for libfido2. %package -n fido2-tools - -Summary: FIDO2 tools -Requires: %{name} = %{version}-%{release} +Summary: FIDO2 tools +Requires: %{name} = %{version}-%{release} %description -n fido2-tools -FIDO2 command line tools to access and configure a FIDO2 compliant -authentication device. +FIDO2 command line tools to access and configure a FIDO2 compliant authentication device. + +%package doc +Summary: Documentation files for %{name} +Requires: %{name} = %{version}-%{release} +BuildArch: noarch -################################################################################ +%description doc +The libfido2-doc package contains documentation files for libfido2. %prep -%autosetup -p1 -n %{name}-%{version} +%autosetup -n %{name}-%{version} -p1 + %build %cmake -DBUILD_STATIC_LIBS=OFF %cmake_build + %install %cmake_install +%generate_compatibility_deps + %files +%dir %{abidir} %license LICENSE %{_libdir}/libfido2.so.1{,.*} - -%files doc -%doc NEWS README.adoc +%{abidir}/libfido2*.dump %files devel +%{_includedir}/* %{_libdir}/pkgconfig/* %{_libdir}/libfido2.so -%{_includedir}/* %{_mandir}/man3/* %files -n fido2-tools -%{_bindir}/* +%{_bindir}/fido2* %{_mandir}/man1/* +%files doc +%doc NEWS README.adoc + %changelog +* Fri Apr 14 2023 chen_yu_ao - 1.12.0-3 +- change spec file format and generate abi files + * Tue Mar 07 2023 chen_yu_ao - 1.12.0-2 - rebuild for libcbor update -- Gitee