Name: relspec Version: 1.0.42 Release: 1%{?dist} Summary: Database schema conversion and analysis tool License: MIT URL: https://git.warky.dev/wdevs/relspecgo Source0: %{name}-%{version}.tar.gz BuildRequires: golang >= 1.24 %global debug_package %{nil} %define _debugsource_packages 0 %define _debuginfo_subpackages 0 %description RelSpec provides bidirectional conversion between various database schema formats including PostgreSQL, MySQL, SQLite, Prisma, TypeORM, GORM, Drizzle, DBML, GraphQL, and more. %prep %autosetup %build export CGO_ENABLED=0 go build \ -trimpath \ -ldflags "-X git.warky.dev/wdevs/relspecgo/cmd/relspec.version=%{version}" \ -o %{name} ./cmd/relspec %install install -Dm755 %{name} %{buildroot}%{_bindir}/%{name} install -Dm644 LICENSE %{buildroot}%{_licensedir}/%{name}/LICENSE install -dm755 %{buildroot}%{_sysconfdir}/relspec %files %license LICENSE %{_bindir}/%{name} %dir %{_sysconfdir}/relspec %changelog * Wed Apr 08 2026 Hein (Warky Devs) - 1.0.42-1 - Initial package