Jan Engelhardt
5a956038a3
OBS-URL: https://build.opensuse.org/package/show/games/freedoom?expand=0&rev=11
64 lines
2.0 KiB
RPMSpec
64 lines
2.0 KiB
RPMSpec
#
|
|
# spec file for package freedoom
|
|
#
|
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
#
|
|
%define waddir %{_datadir}/doom
|
|
|
|
Name: freedoom
|
|
Version: 0.7
|
|
Release: 0
|
|
Summary: Replacement game files for doom game engines
|
|
License: BSD-3-Clause
|
|
Group: Amusements/Games/3D/Shoot
|
|
Url: http://freedoom.sourceforge.net/
|
|
Source0: http://mirror.lihnidos.org/GNU/savannah/freedoom/freedoom-iwad/freedoom-iwad-%{version}.zip
|
|
Source1: freedoom.desktop
|
|
Source2: freedoom.png
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
BuildArch: noarch
|
|
BuildRequires: unzip
|
|
BuildRequires: update-desktop-files
|
|
Requires: prboom
|
|
|
|
%description
|
|
A set of game resources for the DOOM game engine. While the Doom source code
|
|
is Free, you currently still need one of the proprietary IWAD files from id in
|
|
order to play Doom. Freedoom aims to create a Free alternative. Combined with
|
|
the GPL-licensed Doom source code this will result in a completely Free
|
|
Doom-based game.
|
|
|
|
%prep
|
|
%setup -q -n freedoom-iwad-%{version}
|
|
|
|
%build
|
|
# Game data files. Nothing to build!
|
|
|
|
%install
|
|
install -D -m 0644 doom2.wad $RPM_BUILD_ROOT/%{waddir}/freedoom.wad
|
|
%suse_update_desktop_file -i %{name}
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc COPYING CREDITS ChangeLog NEWS README README.html
|
|
%dir %{waddir}
|
|
%{waddir}/%{name}.wad
|
|
%{_datadir}/applications/*.desktop
|
|
%{_datadir}/pixmaps/*.png
|
|
|
|
%changelog
|