[gmqcc] Initial release
Igor Gnatenko
ignatenkobrain at fedoraproject.org
Sat Jul 27 18:45:16 UTC 2013
commit 370fed367fde0637997842a203207c156001d5e4
Author: Igor Gnatenko <i.gnatenko.brain at gmail.com>
Date: Sat Jul 27 22:44:42 2013 +0400
Initial release
Add spec and patch
Signed-off-by: Igor Gnatenko <i.gnatenko.brain at gmail.com>
.gitignore | 1 +
gmqcc.spec | 55 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0a72cb2 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/gmqcc-0.2.9.tar.gz
diff --git a/gmqcc.spec b/gmqcc.spec
new file mode 100644
index 0000000..78ea18d
--- /dev/null
+++ b/gmqcc.spec
@@ -0,0 +1,55 @@
+Name: gmqcc
+Version: 0.2.9
+Release: 1%{?dist}
+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
+support for many common features found in other QC compilers.
+
+%package -n qcvm
+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 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
+%make_install PREFIX=%{_prefix}
+
+%check
+make check
+
+%files
+%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 TODO
+%doc %{_mandir}/man1/qcvm.1.gz
+%{_bindir}/qcvm
+
+%changelog
+* Sat Jul 27 2013 Igor Gnatenko <i.gnatenko.brain at gmail.com> - 0.2.9-1
+- Initial release
diff --git a/sources b/sources
index e69de29..b1f9b4f 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+6a4bc757d40a8f4d106cadb42a2d5711 gmqcc-0.2.9.tar.gz
More information about the scm-commits
mailing list