Files
packages/anda/devs/flow/flow-control-nightly.spec
T
madomado 7deca66506 chore(sync): frawhide -> f41 (#2867)
* chore(sync): frawhide -> f41

* maybe this

* confusion

* a

* i hate gha now
2025-01-03 14:03:31 -06:00

31 lines
701 B
RPMSpec

%global commit 233e881f95de8f6449e6d22904c55ec8e2192c24
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20241225
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