clean up RPM macros, description, dependencies

* bring back FreeType2
* also require SDL2
* don't depend on -devel packages
* assigned packaging reponsibilities to myself
This commit is contained in:
Matthias Mailänder
2014-02-08 20:57:44 +01:00
parent 9dcf5c3dbb
commit ba5e835035

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