initial commit
This commit is contained in:
commit
e99443e3e2
14
.copr/Makefile
Normal file
14
.copr/Makefile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
rpmbuild_src = $(shell rpmbuild --eval '%{_sourcedir}')
|
||||||
|
.PHONY: prepare srpm rpm
|
||||||
|
|
||||||
|
prepare:
|
||||||
|
dnf -y install rpmdevtools rpm-build
|
||||||
|
cp *.patch $(rpmbuild_src) || true
|
||||||
|
spectool -g -R $(spec)
|
||||||
|
|
||||||
|
|
||||||
|
srpm: prepare
|
||||||
|
rpmbuild -bs --define "_srcrpmdir $(outdir)" $(spec)
|
||||||
|
|
||||||
|
rpm: prepare
|
||||||
|
rpmbuild -bb --define "_rpmdir $(outdir)" $(spec)
|
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
*.tar.gz
|
||||||
|
rpmbuild
|
35
blisp.spec
Normal file
35
blisp.spec
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
Name: blisp
|
||||||
|
Version: 0.0.1
|
||||||
|
Release: 0%{?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
|
||||||
|
|
||||||
|
BuildRequires: gcc cmake make
|
||||||
|
|
||||||
|
%global _description %{expand:
|
||||||
|
Bouffalo Labs ISP tool & library
|
||||||
|
Open source tool and library for flashing Bouffalo RISC-V MCUs.
|
||||||
|
}
|
||||||
|
|
||||||
|
%description %_description
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup
|
||||||
|
%cmake -DBLISP_BUILD_CLI=ON
|
||||||
|
|
||||||
|
%build
|
||||||
|
%cmake_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
%cmake_install
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc README.md
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 29 2022 Neil Hanlon <neil@shrug.pw> - 0.0.1-0
|
||||||
|
- initial specfile
|
Loading…
Reference in New Issue
Block a user