[packages/quakespasm] new (version 0.93.2)
atler
atler at pld-linux.org
Wed Nov 25 19:05:39 CET 2020
commit ac1c753608837816b98d213b03d7e982fc70b317
Author: Jan Palus <atler at pld-linux.org>
Date: Wed Nov 25 19:04:27 2020 +0100
new (version 0.93.2)
quakespasm.spec | 52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)
---
diff --git a/quakespasm.spec b/quakespasm.spec
new file mode 100644
index 0000000..68337bd
--- /dev/null
+++ b/quakespasm.spec
@@ -0,0 +1,52 @@
+Summary: Modern Quake 1 engine based on FitzQuake
+Name: quakespasm
+Version: 0.93.2
+Release: 1
+License: GPL v2+
+Group: X11/Applications/Games
+Source0: http://downloads.sourceforge.net/quakespasm/%{name}-%{version}.tgz
+# Source0-md5: 62024f924d85afe7ffd7f96bd0b1b257
+URL: http://quakespasm.sourceforge.net/
+BuildRequires: OpenGL-devel
+BuildRequires: SDL2-devel
+BuildRequires: flac-devel
+BuildRequires: libmikmod-devel
+BuildRequires: libmpg123-devel
+BuildRequires: libogg-devel
+BuildRequires: libvorbis-devel
+BuildRequires: opusfile-devel
+BuildRequires: xorg-lib-libX11-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Modern Quake 1 engine based on FitzQuake.
+
+%prep
+%setup -q
+
+%build
+cd Quake
+%{__make} \
+ CC="%{__cc}" \
+ CPUFLAGS="%{rpmcflags}" \
+ LDFLAGS="%{rpmldflags}" \
+ STRIP=/bin/true \
+ DO_USERDIRS=1 \
+ MP3LIB=mpg123 \
+ USE_CODEC_FLAC=1 \
+ USE_CODEC_OPUS=1 \
+ USE_CODEC_MIKMOD=1 \
+ USE_SDL2=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_bindir}
+install -p Quake/quakespasm $RPM_BUILD_ROOT%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Quakespasm.txt Quakespasm-Music.txt
+%attr(755,root,root) %{_bindir}/quakespasm
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/quakespasm.git/commitdiff/ac1c753608837816b98d213b03d7e982fc70b317
More information about the pld-cvs-commit
mailing list