Blame SPECS/libfido2.spec

980fa6
Name:           libfido2
980fa6
980fa6
Version:        1.6.0
980fa6
Release:        7%{?dist}
980fa6
Summary:        FIDO2 library
980fa6
980fa6
License:        BSD
980fa6
URL:            https://github.com/Yubico/%{name}
980fa6
Source0:        https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz
980fa6
Source1:        https://developers.yubico.com/%{name}/Releases/%{name}-%{version}.tar.gz.sig
980fa6
Source2:        yubico-release-gpgkeys.asc
980fa6
# Work around false positive from gcc-11 until its fixed upstream
980fa6
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97631
980fa6
Patch0002:      %{name}-gcc11.patch
980fa6
Patch0003:      %{name}-openssl30.patch
980fa6
980fa6
BuildRequires:  cmake
980fa6
BuildRequires:  hidapi-devel
980fa6
BuildRequires:  libcbor-devel
980fa6
BuildRequires:  libudev-devel
980fa6
BuildRequires:  openssl-devel
980fa6
BuildRequires:  gcc
980fa6
BuildRequires:  gnupg2
980fa6
BuildRequires:  make
980fa6
Requires:       (u2f-hidraw-policy if systemd-udev)
980fa6
980fa6
%description
980fa6
%{name} is an open source library to support the FIDO2 protocol.  FIDO2 is
980fa6
an open authentication standard that consists of the W3C Web Authentication
980fa6
specification (WebAuthn API), and the Client to Authentication Protocol
980fa6
(CTAP).  CTAP is an application layer protocol used for communication
980fa6
between a client (browser) or a platform (operating system) with an external
980fa6
authentication device (for example the Yubico Security Key).
980fa6
980fa6
################################################################################
980fa6
980fa6
%package devel
980fa6
980fa6
Summary:        Development files for %{name}
980fa6
Requires:       %{name}%{?_isa} = %{version}-%{release}
980fa6
980fa6
%description devel
980fa6
%{name}-devel contains development libraries and header files for %{name}.
980fa6
980fa6
################################################################################
980fa6
980fa6
%package -n fido2-tools
980fa6
980fa6
Summary:        FIDO2 tools
980fa6
Requires:       %{name}%{?_isa} = %{version}-%{release}
980fa6
980fa6
%description -n fido2-tools
980fa6
FIDO2 command line tools to access and configure a FIDO2 compliant
980fa6
authentication device.
980fa6
980fa6
################################################################################
980fa6
980fa6
980fa6
%prep
980fa6
%{gpgverify} --keyring='%{SOURCE2}' --signature='%{SOURCE1}' --data='%{SOURCE0}'
980fa6
%autosetup -p1 -n %{name}-%{version}
980fa6
980fa6
980fa6
%build
980fa6
%cmake
980fa6
%cmake_build
980fa6
980fa6
980fa6
%install
980fa6
%cmake_install
980fa6
# Remove static files per packaging guidelines
980fa6
find %{buildroot} -type f -name "*.a" -delete -print
980fa6
980fa6
980fa6
%files
980fa6
%doc NEWS README.adoc
980fa6
%license LICENSE
980fa6
%{_libdir}/libfido2.so.1{,.*}
980fa6
980fa6
%files devel
980fa6
%{_libdir}/pkgconfig/*
980fa6
%{_libdir}/libfido2.so
980fa6
%{_includedir}/*
980fa6
%{_mandir}/man3/*
980fa6
980fa6
%files -n fido2-tools
980fa6
%{_bindir}/*
980fa6
%{_mandir}/man1/*
980fa6
980fa6
980fa6
%changelog
980fa6
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.0-7
980fa6
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
980fa6
  Related: rhbz#1991688
980fa6
980fa6
* Wed Jun 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.0-6
980fa6
- Rebuilt for RHEL 9 BETA for openssl 3.0
980fa6
  Related: rhbz#1971065
980fa6
980fa6
* Fri Jun 04 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1.6.0-5
980fa6
- rebuilt
980fa6
980fa6
* Tue May 25 2021 Dmitry Belyavskiy <dbelyavs@redhat.com> - 1.6.0-4
980fa6
- OpenSSL 3.0 compatibility. Related: rhbz#1961051
980fa6
980fa6
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.6.0-3
980fa6
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
980fa6
980fa6
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.6.0-2
980fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
980fa6
980fa6
* Wed Jan 13 2021 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.6.0-1
980fa6
- 1.6.0 release (#1910101)
980fa6
980fa6
* Thu Dec 17 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.5.0-4
980fa6
- Use gpgverify macro and ascii armored yubico release keys
980fa6
980fa6
* Wed Nov 04 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.5.0-3
980fa6
- add BR make
980fa6
- fix typo in changelog day (Tuu -> Thu) to make rpmlint happy
980fa6
980fa6
* Thu Oct 29 2020 Jeff Law <law@redhat.com> 1.5.0-2
980fa6
- Work around false positive diagnostic in gcc-11
980fa6
980fa6
* Fri Sep 11 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.5.0-1
980fa6
- 1.5.0 release (#1824326)
980fa6
- include upstream patch to fix 32-bit platform compile, reported at
980fa6
  https://github.com/Yubico/libfido2/issues/210
980fa6
980fa6
* Tue Sep 08 2020 Kalev Lember <klember@redhat.com> - 1.4.0-4
980fa6
- Rebuilt for libcbor soname bump
980fa6
980fa6
* Wed Jul 29 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.4.0-3
980fa6
- adapt to new Fedora cmake rpm macros
980fa6
980fa6
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-2
980fa6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
980fa6
980fa6
* Wed Apr 15 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.4.0-1
980fa6
- 1.4.0 release (#1824326)
980fa6
980fa6
* Sat Apr 11 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.3.1-2
980fa6
- change to require u2f-hidraw-policy only if systemd-udev (#1823002)
980fa6
980fa6
* Thu Feb 20 2020 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.3.1-1
980fa6
- 1.3.1 release
980fa6
980fa6
* Mon Dec 16 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.3.0-3
980fa6
- use yubico corp release site for sources and gpg signature
980fa6
980fa6
* Sat Dec 14 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.3.0-2
980fa6
- packaging cleanups
980fa6
980fa6
* Sat Nov 30 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.3.0-1
980fa6
- 1.3.0 release
980fa6
980fa6
* Mon Jul 29 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.2.0-1
980fa6
- 1.2.0 release
980fa6
980fa6
* Sat May 11 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.1.0-1
980fa6
- 1.1.0 release
980fa6
980fa6
* Fri Apr 05 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.0.0-2
980fa6
- include backported upstream patches for compiler dependencies and soname version
980fa6
- modify libdir glob to meet newer packaging recommendations
980fa6
980fa6
* Thu Mar 21 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 1.0.0-1
980fa6
- 1.0.0 release
980fa6
980fa6
* Mon Jan 07 2019 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.4.0-1
980fa6
- 0.4.0 release
980fa6
980fa6
* Wed Sep 12 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-1
980fa6
- 0.3.0 release
980fa6
980fa6
* Fri Sep 07 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.8.20180907git878fcd8
980fa6
- update to upstream master
980fa6
980fa6
* Thu Sep 06 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.7.20180906gitff7ece8
980fa6
- update to upstream master
980fa6
980fa6
* Wed Sep 05 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.6.20180905gitcb4951c
980fa6
- update to upstream master
980fa6
980fa6
* Tue Sep 04 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.5.20180904git2b5f0d0
980fa6
- update to upstream master
980fa6
980fa6
* Mon Aug 27 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.4.20180827git9d178b2
980fa6
- Update to upstream master
980fa6
980fa6
* Thu Aug 23 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.3.20180823git0f40181
980fa6
- Update to upstream master
980fa6
980fa6
* Tue Aug 21 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.2.20180821gitfff65a4
980fa6
- Update to upstream master
980fa6
980fa6
* Wed Aug 08 2018 Gary Buhrmaster <gary.buhrmaster@gmail.com> 0.3.0-0.1.20180808git5be8903
980fa6
- Update to new spec
980fa6