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