add: surge (#10098)

Signed-off-by: Owen-sz <owen@fyralabs.com>
This commit is contained in:
Owen Zimmerman
2026-02-26 13:46:45 -06:00
committed by GitHub
parent 8c6b35ac47
commit ef051e9838
3 changed files with 47 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project pkg {
rpm {
spec = "surge.spec"
}
}
+41
View File
@@ -0,0 +1,41 @@
%global goipath github.com/surge-downloader/surge
Version: 0.6.9
%gometa
Name: surge
Release: 1%?dist
Summary: Blazing fast TUI download manager built in Go for power users
License: MIT
URL: https://github.com/surge-downloader/Surge
Source0: %{url}/archive/refs/tags/v%{version}.tar.gz
Packager: Owen Zimmerman <owen@fyralabs.com>
BuildRequires: golang gcc go-rpm-macros
Requires: glibc
%description
%{summary}.
%gopkg
%prep
%autosetup -n Surge-%{version}
%build
%define gomodulesmode GO111MODULE=on
%gobuild -o %{gobuilddir}/bin/surge %{goipath}
%install
install -Dm755 %{gobuilddir}/bin/surge %{buildroot}%{_bindir}/surge
%files
%license LICENSE
%doc README.md
%{_bindir}/surge
%changelog
* Tue Feb 24 2026 Owen Zimmerman <owen@fyralabs.com>
- Initial commit
+1
View File
@@ -0,0 +1 @@
rpm.version(gh("surge-downloader/Surge"));