Blame SPECS/libfido2.spec

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