4 Summary: Improved Quake C Compiler
6 URL: http://graphitemaster.github.io/gmqcc/
7 Source0: https://github.com/graphitemaster/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
9 # tests fail on big endians
10 ExclusiveArch: %{ix86} x86_64 %{arm}
13 Modern written-from-scratch compiler for the QuakeC language with
14 support for many common features found in other QC compilers.
17 Summary: Standalone QuakeC VM binary executor
20 Executor for QuakeC VM binary files created using a QC compiler such
21 as gmqcc or fteqcc. It provides a small set of built-in functions, and
22 by default executes the main function if there is one. Some options
23 useful for debugging are available as well.
26 Summary: Standalone Quake PAK file utility
28 %description -n gmqpak
29 Standalone Quake PAK file utility supporting the extraction of files,
30 directories, or whole PAKs, as well as the opposite (creation of PAK files).
34 echo '#!/bin/sh' > ./configure
37 # and for all for all of those switches they increase the runtime of the compile
38 # making compiles of code slower
40 # we don't need compile time buffer protection, we test with clang's address
41 # sanatizer and valgrind before releases
42 %global optflags %(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2 //')
43 # there is no exceptions in C
44 %global optflags %(echo %{optflags} | sed 's/-fexceptions //')
45 # same with clangs address sanatizer and valgrind testing
46 %global optflags %(echo %{optflags} | sed 's/-fstack-protector-strong //')
47 # buffer overflow protection is unrequired since most (if not all) allocations
48 # happen dynamically and we have our own memory allocator which checks this
49 # (with valgrind integration), also clang's address santatizer cathes it as
50 # for grecord-gcc-switches, that just adds pointless information to the binary
52 %global optflags %(echo %{optflags} | sed 's/--param=ssp-buffer-size=4 //')
59 %make_install PREFIX=%{_prefix}
65 %doc LICENSE README AUTHORS CHANGES TODO
66 %doc gmqcc.ini.example
67 %{_mandir}/man1/gmqcc.1*
71 %doc LICENSE README AUTHORS CHANGES TODO
72 %{_mandir}/man1/qcvm.1*
76 %doc LICENSE README AUTHORS CHANGES TODO
77 %{_mandir}/man1/gmqpak.1*
81 * Sat Nov 16 2013 Dan HorĂ¡k <dan[at]danny.cz> - 0.3.5-2
82 - fix build on big endian arches
83 - use the standard wildcarded filename for man pages
84 - and make it Exclusive for little endians because tests fail on big endians
86 * Thu Nov 14 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3.5-1
87 - 0.3.5 upstream release
89 * Thu Sep 26 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3.0-2
90 - Optimizing compile flags
92 * Fri Sep 20 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.3.0-1
93 - Update to 0.3.0 (improved new package: gmqpak)
95 * Sat Jul 27 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.2.9-1