Browse Source

add files and devel package

Signed-off-by: Toshaan Bharvani <toshaan@powerel.org>
master
Toshaan Bharvani 10 months ago
parent
commit
2fc62b2f91
  1. 14
      SPECS/libcotp.spec

14
SPECS/libcotp.spec

@ -10,6 +10,12 @@ Source0: https://github.com/paolostivanin/libcotp/archive/refs/tags/v%{version}. @@ -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 @@ -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

Loading…
Cancel
Save