From c5fd6417812872a2af19e252ad6ea4b2aa5fee13 Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Fri, 30 Dec 2022 23:45:43 -0500 Subject: [PATCH] many updates --- blisp.spec | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/blisp.spec b/blisp.spec index e59564b..9ff8af9 100644 --- a/blisp.spec +++ b/blisp.spec @@ -21,18 +21,32 @@ Open source tool and library for flashing Bouffalo RISC-V MCUs. %description %_description +%package devel +Summary: Development package that includes the blisp header files +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Header and development files for using blisp + %prep %autosetup -%cmake -DBLISP_BUILD_CLI=ON %build +%cmake -DBLISP_BUILD_CLI=ON %cmake_build %install %cmake_install %files -%doc README.md +%{_libdir}/libblisp.so* +%{_bindir}/blisp + +%files devel +%{_includedir}/blisp*.h +%{_libdir}/cmake/blisp/* + +%ldconfig_scriptlets %changelog * Thu Dec 29 2022 Neil Hanlon - 0.0.1-0