Name: smallerc Version: 0.0.git.318.c5e81741 Release: 1%{?dist} Summary: simple and small single-pass C compiler Group: Development/Languages License: BSD URL: https://github.com/alexfru/SmallerC VCS: git+https://github.com/stsp/SmallerC.git#c5e817413e57995f62271608428416a7c0d906ef: Source0: SmallerC-c5e81741.tar.gz BuildRequires: gcc BuildRequires: make BuildRequires: nasm Requires: nasm %description Smaller C is a simple and small single-pass C compiler, currently supporting most of the C language common between C89/ANSI C and C99 (minus some C89 and plus some C99 features). %prep %setup -T -b 0 -q -n SmallerC %build make prefix=%{_prefix} %check %define __arch_install_post export NO_BRP_STRIP_DEBUG=true %define debug_package %{nil} %define __strip /bin/true %install make DESTDIR=%{buildroot} prefix=%{_prefix} install %files %defattr(-,root,root) %{_bindir}/* %{_prefix}/smlrc %changelog