Name: libcotp Version: 3.1.0 Release: 1%{?dist} Summary: C library that generates TOTP and HOTP License: Apache License 2.0 URL: https://github.com/paolostivanin/libcotp Source0: https://github.com/paolostivanin/libcotp/archive/libcotp-%{version}.tar.gz BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: cmake BuildRequires: libgcrypt-devel Requires: libgcrypt %description C library that generates TOTP and HOTP %global debug_package %{nil} %prep %autosetup %build cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr . make %install rm -rf $RPM_BUILD_ROOT %make_install %files %{_libdir}/libcotp.so %{_libdir}/libcotp.so.3.1.0 %{_libdir}/libcotp.so.3 %{_libdir}/pkgconfig/cotp.pc %{_includedir}/cotp.h %license LICENSE %doc README.md %changelog * Tue Nov 5 2024 Detlef Graef 3.1.0-1 - Ver. 3.1.0 * Tue Jun 11 2024 Detlef Graef 3.0.0-1 - Ver. 3.0.0 * Sat Dec 9 2023 Detlef Graef 2.1.0-1 - Ver. 2.1.0 * Sat Jul 22 2023 Detlef Graef 2.0.1-1 - Ver. 2.0.1 * Mon 6 Jun 2022 Detlef Graef 1.2.6-1 - Ver. 1.2.6 * Sat Nov 14 2020 Detlef Graef 1.2.3-1 - Ver. 1.2.3 * Mon Aug 12 2019 Detlef Graef 1.2.2-1 - Initial version