# Generated by go2rpm 1.19.0 %bcond check 1 # https://github.com/andydotxyz/slashread %global goipath github.com/andydotxyz/slashread %global commit 9ea146d7da696cda5e1bc9340fa2bdd9135f42dd %gometa -L -f Name: slashread Version: 0 Release: 0.1%{?dist} Summary: A Slashdot reader created using Fyne and Apptrix.ai # Generated by go-vendor-tools License: Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND Unlicense AND Zlib AND (BSD-3-Clause OR Unlicense) URL: %{gourl} Source0: %{gosource} # Generated by go-vendor-tools Source1: %{archivename}-vendor.tar.bz2 Source2: go-vendor-tools.toml BuildRequires: go-vendor-tools BuildRequires: pkgconfig(gl) BuildRequires: pkgconfig(glfw3) BuildRequires: pkgconfig(xxf86vm) %description A Slashdot reader created using Fyne and Apptrix.ai. %prep %goprep -p1 tar -xf %{S:1} %generate_buildrequires %go_vendor_license_buildrequires -c %{S:2} %build %global gomodulesmode GO111MODULE=on %gobuild -o %{gobuilddir}/bin/%{name} %{name} %install %go_vendor_license_install -c %{S:2} install -m 0755 -vd %{buildroot}%{_bindir} install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/ %check %go_vendor_license_check -c %{S:2} %if %{with check} %gotest ./... %endif %files -f %{go_vendor_license_filelist} %doc README.md %{_bindir}/%{name} %changelog * Thu Mar 26 2026 Hazel Bunny - 0-0.1.20260326git9ea146d - Initial package