Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions azin.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
%global debug_package %{nil}

Name: azin
Version: 0.2.2
Release: 1%{?dist}
Summary: A modern, high-performance systems programming language compiler

License: MIT
URL: https://azin-lang.org/

Source0: https://github.com/azin-lang/Azin/archive/refs/tags/v%{version}.tar.gz

BuildRequires: golang >= 1.22
BuildRequires: ca-certificates
Requires: gcc
Recommends: clang

%description
Azin is a modern, high-performance systems programming language compiler engineered for structural clarity, low-level execution control, and human readability.

%prep
%autosetup -n Azin-%{version}

%build
export CGO_ENABLED=0
go build -trimpath -ldflags="-s -w -X main.Version=%{version}" -o bin/azc ./cmd/azc

%install
install -D -m 0755 bin/azc %{buildroot}%{_bindir}/azc

%check
export CGO_ENABLED=0
export AZC=$(pwd)/bin/azc
go test ./...

%files
%license LICENSE
%doc README.md VERSIONING.md
%{_bindir}/azc

%changelog
* Fri Jul 31 2026 Azin Contributors <https://github.com/azin-lang/Azin> - 0.2.2-1
- Initial release for Copr