mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2025-01-19 23:00:59 +00:00
add updated spec and rename it
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
This commit is contained in:
parent
bee93f28b3
commit
23af0c0209
1 changed files with 12 additions and 3 deletions
|
@ -5,6 +5,8 @@ Summary: Improved Quake C Compiler
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://graphitemaster.github.io/gmqcc/
|
URL: http://graphitemaster.github.io/gmqcc/
|
||||||
Source0: https://github.com/graphitemaster/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source0: https://github.com/graphitemaster/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
|
# Downstream patch. TODO: drop it in 0.3.0 release.
|
||||||
|
Patch0: build_fix.patch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Modern written-from-scratch compiler for the QuakeC language with
|
Modern written-from-scratch compiler for the QuakeC language with
|
||||||
|
@ -15,14 +17,20 @@ Summary: Standalone QuakeC VM binary executor
|
||||||
|
|
||||||
%description -n qcvm
|
%description -n qcvm
|
||||||
Executor for QuakeC VM binary files created using a QC compiler such
|
Executor for QuakeC VM binary files created using a QC compiler such
|
||||||
as gmqcc or fteqcc. It provides a small set of builtin functions, and
|
as gmqcc or fteqcc. It provides a small set of built-in functions, and
|
||||||
by default executes the main function if there is one. Some options
|
by default executes the main function if there is one. Some options
|
||||||
useful for debugging are available as well.
|
useful for debugging are available as well.
|
||||||
|
|
||||||
|
# TODO: add new package gmqpak after 0.3.0 release
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
echo '#!/bin/sh' > ./configure
|
||||||
|
chmod +x ./configure
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%configure
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
@ -32,12 +40,13 @@ make %{?_smp_mflags}
|
||||||
make check
|
make check
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc LICENSE README AUTHORS CHANGES
|
%doc LICENSE README AUTHORS CHANGES TODO
|
||||||
|
%doc gmqcc.ini.example
|
||||||
%doc %{_mandir}/man1/gmqcc.1.gz
|
%doc %{_mandir}/man1/gmqcc.1.gz
|
||||||
%{_bindir}/gmqcc
|
%{_bindir}/gmqcc
|
||||||
|
|
||||||
%files -n qcvm
|
%files -n qcvm
|
||||||
%doc LICENSE README AUTHORS CHANGES
|
%doc LICENSE README AUTHORS CHANGES TODO
|
||||||
%doc %{_mandir}/man1/qcvm.1.gz
|
%doc %{_mandir}/man1/qcvm.1.gz
|
||||||
%{_bindir}/qcvm
|
%{_bindir}/qcvm
|
||||||
|
|
Loading…
Reference in a new issue