From ba5e835035d2e9d1dadc6c56ab3bc6ec0a8111cb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?= Date: Sat, 8 Feb 2014 20:57:44 +0100 Subject: [PATCH] clean up RPM macros, description, dependencies * bring back FreeType2 * also require SDL2 * don't depend on -devel packages * assigned packaging reponsibilities to myself --- packaging/linux/rpm/openra.spec | 27 +++++++++++++++------------ 1 file changed, 15 insertions(+), 12 deletions(-) diff --git a/packaging/linux/rpm/openra.spec b/packaging/linux/rpm/openra.spec index ed0c8b973f..c75e18049b 100644 --- a/packaging/linux/rpm/openra.spec +++ b/packaging/linux/rpm/openra.spec @@ -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 -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 +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