|
|
@ -10,6 +10,12 @@ Source0: https://github.com/paolostivanin/libcotp/archive/refs/tags/v%{version}. |
|
|
|
%description |
|
|
|
%description |
|
|
|
C library that generates TOTP and HOTP according to RFC-6238 |
|
|
|
C library that generates TOTP and HOTP according to RFC-6238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%package devel |
|
|
|
|
|
|
|
Requires: %{name}%{_isa} = %{version}-%{release} |
|
|
|
|
|
|
|
Summary: Development files for libcotp libraries |
|
|
|
|
|
|
|
%description devel |
|
|
|
|
|
|
|
Development files for libcotp libraries |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%prep |
|
|
|
%prep |
|
|
|
%setup -q -n libcotp-%{version} |
|
|
|
%setup -q -n libcotp-%{version} |
|
|
@ -25,6 +31,14 @@ C library that generates TOTP and HOTP according to RFC-6238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files |
|
|
|
%files |
|
|
|
|
|
|
|
%{_libdir}libcotp.so |
|
|
|
|
|
|
|
%{_libdir}libcotp.so.3 |
|
|
|
|
|
|
|
%{_libdir}/libcotp.so.3.0.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%files devel |
|
|
|
|
|
|
|
%{_includedir}/cotp.h |
|
|
|
|
|
|
|
%{_libdir}/pkgconfig/cotp.pc |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog |
|
|
|
%changelog |
|
|
|