Last active
January 6, 2023 05:49
-
-
Save topazus/17a6aa08b2ee70ffe172df10fcf5f569 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%global debug_package %{nil} | |
%global build_timestamp %{lua: print(os.date("%Y.%m.%d"))} | |
Name: pony-lang | |
Version: 0.52.5 | |
Release: 1%{?dist} | |
Summary: an open-source, actor-model, capabilities-secure, high performance programming language | |
License: MIT | |
URL: https://github.com/ponylang/ponyc | |
Source: https://github.com/ponylang/ponyc/archive/%{version}.tar.gz | |
BuildRequires: gcc make python cmake clang cmake libatomic libstdc++-static git | |
%description | |
an open-source, actor-model, capabilities-secure, high performance programming language | |
%prep | |
git clone --depth=1 https://github.com/ponylang/ponyc | |
%build | |
cd ponyc | |
make config=release arch=x86-64 libs build_flags="%{?_smp_mflags}" | |
make config=release arch=x86-64 configure | |
make config=release arch=x86-64 build build_flags="%{?_smp_mflags}" | |
%install | |
cd ponyc | |
make config=release arch=x86-64 install prefix=%{buildroot}/usr | |
%check | |
%files | |
%changelog |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment