Files
packages/anda/tools/gf/gf.spec
T
Raboneko 51fdba714c Remove gf patch (#13174) (#13178)
(cherry picked from commit 2128bde256)

Co-authored-by: metcya <134973769+metcya@users.noreply.github.com>
2026-06-19 17:59:45 -05:00

48 lines
921 B
RPMSpec

%global forgeurl https://github.com/nakst/gf
%global commit 1c04ed95d45d49fb4b06cbc620c61acd58818977
%global shortcommit %{sub %{commit} 0 7}
%global commitdate 20251231
%forgemeta
Name: gf
Version: 0^%{commitdate}.git%{shortcommit}
Release: 1%{?dist}
Summary: A GDB frontend for Linux
License: MIT
URL: %{forgeurl}
Source0: %{forgesource}
BuildRequires: gcc-c++
BuildRequires: freetype-devel
BuildRequires: libX11-devel
# the build script wants gdb to be installed when it's executed
BuildRequires: gdb
Requires: gdb
Packager: metcya <metcya@gmail.com>
%description
%{summary}.
%prep
%forgeautosetup -p1
%build
export extra_flags="%optflags"
./build.sh
%install
install -Dm 755 gf2 %{buildroot}%{_bindir}/gf2
%files
%license LICENSE
%doc README.md
%{_bindir}/gf2
%changelog
* Thu Feb 19 2026 metcya <metcya@gmail.com>
- Initial package