Name: gmqcc Version: 0.3.0 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 %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. %package -n gmqpak Summary: Standalone Quake PAK file utility %description -n gmqpak Standalone Quake PAK file utility supporting the extraction of files, directories, or whole PAKs, as well as the opposite (creation of PAK files). %prep %setup -q 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 %{_mandir}/man1/gmqcc.1.gz %{_bindir}/gmqcc %files -n qcvm %doc LICENSE README AUTHORS CHANGES TODO %{_mandir}/man1/qcvm.1.gz %{_bindir}/qcvm %files -n gmqpak %doc LICENSE README AUTHORS CHANGES TODO %{_mandir}/man1/gmqpak.1.gz %{_bindir}/gmqpak %changelog * Fri Sep 20 2013 Igor Gnatenko - 0.3.0-1 - Update to 0.3.0 (improved new package: gmqpak) * Sat Jul 27 2013 Igor Gnatenko - 0.2.9-1 - Initial release