[packages/yamagi-quake2] new (version 7.45)

atler atler at pld-linux.org
Wed Dec 2 20:36:35 CET 2020


commit f05b998b0d39e19ea2b79925e587affc684b7d7b
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Dec 2 20:35:41 2020 +0100

    new (version 7.45)

 yamagi-quake2.spec | 68 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 68 insertions(+)
---
diff --git a/yamagi-quake2.spec b/yamagi-quake2.spec
new file mode 100644
index 0000000..9319b83
--- /dev/null
+++ b/yamagi-quake2.spec
@@ -0,0 +1,68 @@
+Summary:	Yamagi Quake II client
+Name:		yamagi-quake2
+Version:	7.45
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications/Games
+Source0:	https://deponie.yamagi.org/quake2/quake2-%{version}.tar.xz
+# Source0-md5:	b1fd8ad59d8f4ad7aec87926fe0731e1
+URL:		https://www.yamagi.org/quake2/
+BuildRequires:	OpenAL-devel
+BuildRequires:	OpenGL-devel
+BuildRequires:	SDL2-devel
+BuildRequires:	cmake >= 3.0
+BuildRequires:	curl-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		gamedir		%{_libdir}/%{name}
+
+%description
+Yamagi Quake II is an enhanced client for id Software's Quake II with
+focus on offline and coop gameplay. Both the gameplay and the graphics
+are unchanged, but many bugs in the last official release were fixed
+and some nice to have features like widescreen support and a modern
+OpenGL 3.2 renderer were added. Unlike most other Quake II source
+ports Yamagi Quake II is fully 64-bit clean. It works perfectly on
+modern processors and operating systems.
+
+%prep
+%setup -q -n quake2-%{version}
+
+%build
+mkdir -p build
+cd build
+%cmake .. \
+	-DSYSTEMWIDE_SUPPORT=ON
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{gamedir}/baseq2}
+
+cd build/release
+install -p q2ded quake2 *.so $RPM_BUILD_ROOT%{gamedir}
+install -p baseq2/*.so $RPM_BUILD_ROOT%{gamedir}/baseq2
+ln -s %{gamedir}/quake2 $RPM_BUILD_ROOT%{_bindir}/yamagi-quake2
+ln -s %{gamedir}/q2ded $RPM_BUILD_ROOT%{_bindir}/yamagi-q2ded
+
+cd ../../stuff
+install -p yq2.cfg $RPM_BUILD_ROOT%{gamedir}/baseq2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc/*.md
+%{_bindir}/yamagi-quake2
+%{_bindir}/yamagi-q2ded
+%dir %{gamedir}
+%attr(755,root,root) %{gamedir}/quake2
+%attr(755,root,root) %{gamedir}/q2ded
+%attr(755,root,root) %{gamedir}/ref_gl1.so
+%attr(755,root,root) %{gamedir}/ref_gl3.so
+%attr(755,root,root) %{gamedir}/ref_soft.so
+%dir %{gamedir}/baseq2
+%attr(755,root,root) %{gamedir}/baseq2/game.so
+%{gamedir}/baseq2/yq2.cfg
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yamagi-quake2.git/commitdiff/f05b998b0d39e19ea2b79925e587affc684b7d7b



More information about the pld-cvs-commit mailing list