From 2fc62b2f9182df63a80aad6d1a02fe9e69e1b576 Mon Sep 17 00:00:00 2001 From: Toshaan Bharvani Date: Mon, 15 Jan 2024 16:36:24 +0100 Subject: [PATCH] add files and devel package Signed-off-by: Toshaan Bharvani --- SPECS/libcotp.spec | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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