2008-05-02 01:53:04 +02:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
%define waddir %{_datadir}/doom
|
|
|
|
|
|
|
|
Name: freedoom
|
2010-02-15 14:31:23 +01:00
|
|
|
Version: 0.6.4
|
2008-07-01 23:06:45 +02:00
|
|
|
Release: 1
|
2008-05-02 01:53:04 +02:00
|
|
|
Summary: Replacement game files for doom game engines
|
|
|
|
Group: Amusements/Games
|
|
|
|
License: BSD
|
2010-02-15 14:31:23 +01:00
|
|
|
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
|
2008-05-02 01:53:04 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
|
2010-02-15 14:31:23 +01:00
|
|
|
BuildArch: noarch
|
2008-05-02 01:53:04 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: unzip
|
|
|
|
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 -pD -m 0644 doom2.wad $RPM_BUILD_ROOT/%{waddir}/freedoom.wad
|
2010-02-15 14:31:23 +01:00
|
|
|
%suse_update_desktop_file -i %{name}
|
2008-05-02 01:53:04 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2010-02-15 14:31:23 +01:00
|
|
|
%doc COPYING CREDITS ChangeLog NEWS README README.html
|
|
|
|
%dir %{waddir}
|
2008-05-02 01:53:04 +02:00
|
|
|
%{waddir}/%{name}.wad
|
|
|
|
%{_datadir}/applications/*.desktop
|
2008-07-01 23:06:45 +02:00
|
|
|
%{_datadir}/pixmaps/*.png
|
2008-05-02 01:53:04 +02:00
|
|
|
|
|
|
|
%changelog
|