60 lines
1.3 KiB
RPMSpec
60 lines
1.3 KiB
RPMSpec
Name: blisp
|
|
Version: 0.0.1
|
|
Release: 2%{?dist}
|
|
Summary: Bouffalo Labs ISP tool/library for flashing Bouffalo RISC-V MCUs
|
|
URL: https://github.com/pine64/blisp
|
|
License: MIT
|
|
|
|
Source0: https://git.shrug.pw/api/packages/neil/generic/%{name}/%{version}/%{name}-%{version}.tar.gz
|
|
Patch0: 0001-Fix-cmake.patch
|
|
|
|
BuildRequires: gcc cmake make
|
|
BuildRequires: libserialport, libserialport-devel
|
|
BuildRequires: argtable3, argtable3-devel
|
|
|
|
Requires: libserialport, argtable3
|
|
|
|
%global _description %{expand:
|
|
Bouffalo Labs ISP tool & library
|
|
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 -p 1 -n blisp
|
|
|
|
%build
|
|
%cmake -DBLISP_BUILD_CLI=ON
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%{_libdir}/libblisp.so*
|
|
%{_bindir}/blisp
|
|
|
|
%files devel
|
|
%{_includedir}/blisp*.h
|
|
%{_libdir}/cmake/blisp/*
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
%changelog
|
|
* Fri Dec 30 2022 Neil Hanlon <neil@shrug.pw> - 0.0.1-2
|
|
- fix requires
|
|
|
|
* Fri Dec 30 2022 Neil Hanlon <neil@shrug.pw> - 0.0.1-1
|
|
- build using a patch instead of a patched source
|
|
|
|
* Thu Dec 29 2022 Neil Hanlon <neil@shrug.pw> - 0.0.1-0
|
|
- initial specfile
|