initial commit

This commit is contained in:
Neil Hanlon 2022-12-29 23:43:02 -05:00
commit e99443e3e2
Signed by: neil
GPG Key ID: 705BC21EC3C70F34
3 changed files with 51 additions and 0 deletions

14
.copr/Makefile Normal file
View 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
View File

@ -0,0 +1,2 @@
*.tar.gz
rpmbuild

35
blisp.spec Normal file
View 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