Name: libcotp Version: 3.0.0 Release: 1%{?dist} Summary: C library that generates TOTP and HOTP License: Apache-2.0 URL: https://github.com/paolostivanin/libcotp Source0: https://github.com/paolostivanin/libcotp/archive/libcotp-%{version}.tar.gz Patch0: libcotp-fedora.patch BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: libgcrypt-devel Requires: libgcrypt %description C library that generates TOTP and HOTP %package devel Summary: C library that generates TOTP and HOTP Requires: %{name} = %{version} %description devel C library that generates TOTP and HOTP %prep %autosetup %build %cmake %cmake_build %install rm -rf $RPM_BUILD_ROOT %cmake_install %files %{_libdir}/libcotp.so.%{version} %{_libdir}/libcotp.so.3 %license LICENSE %files devel %{_libdir}/libcotp.so %{_libdir}/pkgconfig/cotp.pc %{_includedir}/cotp.h %doc README.md %changelog * Wed Mar 27 2024 Thomas Sailer 3.0.0-1 - update to 3.0.0 * Fri Mar 17 2023 Thomas Sailer 2.0.0-1 - update to 2.0.0 * Mon Oct 10 2022 Thomas Sailer 1.2.6-1 - update to 1.2.6 * Tue Oct 05 2021 Thomas Sailer 1.2.3-1 - debuginfo, split into main and devel package * Sat Nov 14 2020 Detlef Graef 1.2.2-1 - Initial version