commit a27cb2dd25e77201bae6e63c25e0a8e759329f67 Author: Toshaan Bharvani Date: Mon Jan 15 16:32:19 2024 +0100 initial package creation Signed-off-by: Toshaan Bharvani diff --git a/SOURCES/.gitkeeper b/SOURCES/.gitkeeper new file mode 100644 index 0000000..e69de29 diff --git a/SPECS/libcotp.spec b/SPECS/libcotp.spec new file mode 100644 index 0000000..f356c82 --- /dev/null +++ b/SPECS/libcotp.spec @@ -0,0 +1,30 @@ +Name: libcotp +Summary: C library that generates TOTP and HOTP +Version: 3.0.0 +Release: 1%{?dist} +License: Apache v2 +Url: https://github.com/paolostivanin/libcotp +Source0: https://github.com/paolostivanin/libcotp/archive/refs/tags/v%{version}.tar.gz + + +%description +C library that generates TOTP and HOTP according to RFC-6238 + + +%prep +%setup -q -n libcotp-%{version} + + +%build +%cmake +%cmake_build + + +%install +%cmake_install + + +%files + + +%changelog