]> git.pld-linux.org Git - packages/OpenArena.git/commitdiff
- initial spec for OpenArena, (aka opensource-Q3), nfy.
authorPaweł Sikora <pluto@pld-linux.org>
Sat, 2 Feb 2008 20:23:25 +0000 (20:23 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    OpenArena.spec -> 1.1

OpenArena.spec [new file with mode: 0644]

diff --git a/OpenArena.spec b/OpenArena.spec
new file mode 100644 (file)
index 0000000..fb88bd1
--- /dev/null
@@ -0,0 +1,57 @@
+%define                _base_ver       0.7.0
+%define                _patch_ver      0.7.1
+Summary:       OpenArena - a completely free game for the foss Quake III engine
+Name:          OpenArena
+Version:       %{_patch_ver}
+Release:       0.1
+License:       GPL v2
+Group:         Applications/Games
+# precompiled archives can be downloaded from website.
+Source0:       oa%(echo %{_base_ver} | sed -e 's:\.::g').zip
+# Source0-md5: 739548bfc5dc1d129d20c0f67d54df48
+Source1:       oa%(echo %{_patch_ver} | sed -e 's:\.::g')-patch.zip
+# Source1-md5: 5fa31998009f8241ad3ded93eb81e701
+URL:           http://openarena.ws/
+BuildRequires: unzip
+Requires:      OpenGL
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _noautoreqdep   libGL.so.1 libGLU.so.1
+
+%ifarch %{x8664}
+# we provides *()(64bit) symbols, so skip harcoded reqs.
+%define                _noautoreqdep   libSDL-1.2.so.0 libogg.so.0 libopenal.so.0 libvorbis.so.0 libvorbisfile.so.3
+%endif
+
+%description
+OpenArena for Linux.
+
+%prep
+%define __unzip %{_bindir}/unzip -o
+%setup -q -n openarena-%{_base_ver} -b1
+
+%build
+cat << EOF > ioquake3
+#/bin/sh
+
+/opt/OpenArena/ioquake3
+EOF
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{/opt/OpenArena/baseoa,%{_bindir}}
+
+install baseoa/*.pk3 $RPM_BUILD_ROOT/opt/OpenArena/baseoa
+install ioquake3-smp.%{_target_base_arch} $RPM_BUILD_ROOT/opt/OpenArena/ioquake3
+install ioquake3 $RPM_BUILD_ROOT/%{_bindir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES CREDITS
+%attr(755,root,root) %{_bindir}/ioquake3
+%dir /opt/OpenArena
+%attr(755,root,root) /opt/OpenArena/ioquake3
+/opt/OpenArena/baseoa
This page took 0.09684 seconds and 4 git commands to generate.