mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 09:31:58 +00:00
31 lines
701 B
RPMSpec
31 lines
701 B
RPMSpec
%global commit b831d99d1cb7c32489255be3872dce3503f1831c
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
%global commit_date 20240821
|
|
|
|
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
|