From 23af0c02099472f8e09485ccb029d6900d224f62 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Sat, 27 Jul 2013 22:09:39 +0400 Subject: [PATCH] add updated spec and rename it Signed-off-by: Igor Gnatenko --- distro/fedora/{gmqcc-0.2.9.spec => gmqcc.spec} | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) rename distro/fedora/{gmqcc-0.2.9.spec => gmqcc.spec} (72%) diff --git a/distro/fedora/gmqcc-0.2.9.spec b/distro/fedora/gmqcc.spec similarity index 72% rename from distro/fedora/gmqcc-0.2.9.spec rename to distro/fedora/gmqcc.spec index 23e47f2..78ea18d 100644 --- a/distro/fedora/gmqcc-0.2.9.spec +++ b/distro/fedora/gmqcc.spec @@ -5,6 +5,8 @@ Summary: Improved Quake C Compiler License: MIT URL: http://graphitemaster.github.io/gmqcc/ 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 Modern written-from-scratch compiler for the QuakeC language with @@ -15,14 +17,20 @@ Summary: Standalone QuakeC VM binary executor %description -n qcvm 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 useful for debugging are available as well. +# TODO: add new package gmqpak after 0.3.0 release + %prep %setup -q +%patch0 -p1 +echo '#!/bin/sh' > ./configure +chmod +x ./configure %build +%configure make %{?_smp_mflags} %install @@ -32,12 +40,13 @@ make %{?_smp_mflags} make check %files -%doc LICENSE README AUTHORS CHANGES +%doc LICENSE README AUTHORS CHANGES TODO +%doc gmqcc.ini.example %doc %{_mandir}/man1/gmqcc.1.gz %{_bindir}/gmqcc %files -n qcvm -%doc LICENSE README AUTHORS CHANGES +%doc LICENSE README AUTHORS CHANGES TODO %doc %{_mandir}/man1/qcvm.1.gz %{_bindir}/qcvm -- 2.39.2