Merge pull request #4592 from Mailaender/rpm-sdl2

Cleaned up RPM macros, description, dependencies
This commit is contained in:
Paul Chote
2014-02-13 23:30:42 +13:00

View File

@@ -9,30 +9,33 @@ Version: %{version}
Release: 1
Summary: Open Source rebuild of the Red Alert game engine using Mono/OpenGL.
License: GPL-3.0
URL: http://open-ra.org
Url: http://open-ra.org
Group: Amusements/Games
Packager: Matthew Bowra-Dean <matthew@ijw.co.nz>
Requires: mono-core mono-devel SDL openal
# TODO: make both Fedora and the rest of the RPM world happy
#Requires: freetype
#Requires: freetype2
Packager: Matthias Mailänder <matthias@mailaender.name>
Requires: mono-core
Requires: mono-winforms
Requires: SDL
Requires: openal
Requires: libfreetype.so.6
Requires: libSDL2-2.0.so.0
Prefix: /usr
Source: %{name}-%{version}.tar.gz
BuildRoot: /tmp/openra
%description
A multiplayer reimplementation of the Command & Conquer: Red Alert game
engine in .NET/Mono, OpenGL, OpenAL and SDL. Has extensive modding support
and includes Command & Conquer: Tiberian Dawn as an official mod.
A reimplementation of the Command & Conquer: Red Alert game engine
using .NET/Mono, OpenGL, OpenAL and SDL. It includes reimagninations
of Command & Conquer: Red Alert, Command & Conquer: Tiberian Dawn
as well as Dune 2000.
%build
%install
rm -rf $RPM_BUILD_ROOT
cp -r %{root} $RPM_BUILD_ROOT
rm -rf %{buildroot}
cp -r %{root} %{buildroot}
%clean
rm -rf $RPM_BUILD_ROOT
rm -rf %{buildroot}
%files
/usr/bin/openra