2022-12-30 04:43:02 +00:00
|
|
|
Name: blisp
|
2023-01-27 01:57:55 +00:00
|
|
|
Version: 0.0.3
|
2023-01-27 02:03:18 +00:00
|
|
|
Release: 0%{?dist}
|
2022-12-30 04:43:02 +00:00
|
|
|
Summary: Bouffalo Labs ISP tool/library for flashing Bouffalo RISC-V MCUs
|
|
|
|
URL: https://github.com/pine64/blisp
|
2023-01-12 19:32:01 +00:00
|
|
|
License: MIT, Apache
|
2022-12-30 04:43:02 +00:00
|
|
|
|
2023-01-12 19:32:01 +00:00
|
|
|
Source0: https://github.com/pine64/%{name}/archive/refs/tags/v%{version}.tar.gz
|
2022-12-31 04:56:06 +00:00
|
|
|
Patch0: 0001-Fix-cmake.patch
|
2022-12-30 04:43:02 +00:00
|
|
|
|
|
|
|
BuildRequires: gcc cmake make
|
2022-12-30 16:59:45 +00:00
|
|
|
BuildRequires: libserialport, libserialport-devel
|
|
|
|
BuildRequires: argtable3, argtable3-devel
|
|
|
|
|
2022-12-31 05:04:30 +00:00
|
|
|
Requires: libserialport, argtable3
|
2022-12-30 04:43:02 +00:00
|
|
|
|
|
|
|
%global _description %{expand:
|
|
|
|
Bouffalo Labs ISP tool & library
|
|
|
|
Open source tool and library for flashing Bouffalo RISC-V MCUs.
|
|
|
|
}
|
|
|
|
|
|
|
|
%description %_description
|
|
|
|
|
2022-12-31 04:45:43 +00:00
|
|
|
%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
|
|
|
|
|
2022-12-30 04:43:02 +00:00
|
|
|
%prep
|
2023-01-12 19:32:01 +00:00
|
|
|
%autosetup -p 1 -n %{name}-%{version}
|
|
|
|
rm -rv vendor/
|
2022-12-30 04:43:02 +00:00
|
|
|
|
|
|
|
%build
|
2022-12-31 04:45:43 +00:00
|
|
|
%cmake -DBLISP_BUILD_CLI=ON
|
2022-12-30 04:43:02 +00:00
|
|
|
%cmake_build
|
|
|
|
|
|
|
|
%install
|
|
|
|
%cmake_install
|
|
|
|
|
|
|
|
%files
|
2022-12-31 04:45:43 +00:00
|
|
|
%{_libdir}/libblisp.so*
|
|
|
|
%{_bindir}/blisp
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%{_includedir}/blisp*.h
|
2023-01-12 19:32:01 +00:00
|
|
|
%{_includedir}/bl?0x_eflash_loader.h
|
2022-12-31 04:45:43 +00:00
|
|
|
%{_libdir}/cmake/blisp/*
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
2022-12-30 04:43:02 +00:00
|
|
|
|
|
|
|
%changelog
|
2023-01-27 02:03:18 +00:00
|
|
|
* Thu Jan 26 2023 Neil Hanlon <neil@shrug.pw> - 0.0.3-0
|
|
|
|
- Update to upstream 0.0.3
|
|
|
|
|
|
|
|
* Thu Jan 12 2023 Neil Hanlon <neil@shrug.pw> - 0.0.2-0
|
|
|
|
- Update to upstream 0.0.2 and fix cmakelists patch
|
|
|
|
|
|
|
|
* 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
|