]> git.xonotic.org Git - xonotic/gmqcc.git/blob - distro/fedora/gmqcc-0.3.0.spec
Fedora spec files (0.2.9 and 0.3.0) + INSTALL documentation, thanks Igor Gnatenko.
[xonotic/gmqcc.git] / distro / fedora / gmqcc-0.3.0.spec
1 Name:           gmqcc
2 Version:        0.3.0
3 Release:        1%{?dist}
4 Summary:        Improved Quake C Compiler
5 License:        MIT
6 URL:            http://graphitemaster.github.io/gmqcc/
7 Source0:        https://github.com/graphitemaster/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
8
9 %description
10 Modern written-from-scratch compiler for the QuakeC language with
11 support for many common features found in other QC compilers.
12
13 %package -n qcvm
14 Summary:        Standalone QuakeC VM binary executor
15
16 %description -n qcvm
17 Executor for QuakeC VM binary files created using a QC compiler such
18 as gmqcc or fteqcc. It provides a small set of builtin functions, and
19 by default executes the main function if there is one. Some options
20 useful for debugging are available as well.
21
22 %prep
23 %setup -q
24
25 %build
26 make %{?_smp_mflags}
27
28 %install
29 %make_install PREFIX=%{_prefix}
30
31 %check
32 make check
33
34 %files
35 %doc LICENSE README AUTHORS CHANGES
36 %doc %{_mandir}/man1/gmqcc.1.gz
37 %{_bindir}/gmqcc
38
39 %files -n qcvm
40 %doc LICENSE README AUTHORS CHANGES
41 %doc %{_mandir}/man1/qcvm.1.gz
42 %{_bindir}/qcvm
43
44 %changelog
45 * Sat Jul 27 2013 Igor Gnatenko <i.gnatenko.brain@gmail.com> - 0.2.9-1
46 - Initial release