Files
packages/anda/devs/flow/flow-control-nightly.spec
T
Raboneko ebf1811df0 add: flow-control-nightly (#1528) (#1532)
(cherry picked from commit 69e7e8b868)

Co-authored-by: madomado <madonuko@outlook.com>
2024-07-16 01:07:30 +08:00

31 lines
701 B
RPMSpec

%global commit 787bf3c6585701ec718c740ccb424794c39a2b43
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20240714
Name: flow-control-nightly
Version: %commit_date.%shortcommit
Release: 1%?dist
Summary: A programmer's text editor
License: MIT
URL: https://github.com/neurocyte/flow
Source0: %url/archive/%commit.tar.gz
BuildRequires: zig
Provides: flow = %version-%release
%description
%summary.
%prep
%autosetup -n flow-%commit
%build
zig build -Doptimize=ReleaseFast --release=fast
%install
install -Dpm755 zig-out/bin/flow %buildroot%_bindir/flow
%files
%doc README.md help.md
%license LICENSE
%_bindir/flow