diff --git a/SPECS/libcotp.spec b/SPECS/libcotp.spec index f356c82..142f6ac 100644 --- a/SPECS/libcotp.spec +++ b/SPECS/libcotp.spec @@ -10,6 +10,12 @@ Source0: https://github.com/paolostivanin/libcotp/archive/refs/tags/v%{version}. %description 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 %setup -q -n libcotp-%{version} @@ -25,6 +31,14 @@ C library that generates TOTP and HOTP according to RFC-6238 %files +%{_libdir}libcotp.so +%{_libdir}libcotp.so.3 +%{_libdir}/libcotp.so.3.0.0 + + +%files devel +%{_includedir}/cotp.h +%{_libdir}/pkgconfig/cotp.pc %changelog