2008-05-02 01:53:07 +02:00
|
|
|
# norootforbuild
|
|
|
|
|
|
|
|
%define waddir %{_datadir}/doom
|
|
|
|
|
|
|
|
Name: freedoom-freedm
|
2010-02-15 14:31:38 +01:00
|
|
|
Version: 0.6.4
|
2008-07-01 23:11:19 +02:00
|
|
|
Release: 1
|
2008-05-02 01:53:07 +02:00
|
|
|
Summary: Deathmatch levels for Doom
|
|
|
|
Group: Amusements/Games
|
|
|
|
License: BSD
|
|
|
|
URL: http://freedoom.sourceforge.net
|
2010-02-15 14:31:38 +01:00
|
|
|
Source0: http://mirror.lihnidos.org/GNU/savannah/freedoom/freedm/freedm-%{version}.zip
|
|
|
|
Source1: freedoom-freedm.desktop
|
2008-05-02 01:53:07 +02:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
|
2010-02-15 14:31:38 +01:00
|
|
|
BuildArch: noarch
|
2008-05-02 01:53:07 +02:00
|
|
|
BuildRequires: update-desktop-files
|
|
|
|
BuildRequires: unzip
|
2008-12-04 10:16:03 +01:00
|
|
|
BuildRequires: prboom freedoom
|
2008-05-02 01:53:07 +02:00
|
|
|
Requires: prboom freedoom
|
|
|
|
|
|
|
|
%description
|
|
|
|
A set of deathmatch levels for the DOOM game engine, based on the
|
|
|
|
freely redistributable Freedoom game files.
|
|
|
|
|
|
|
|
%prep
|
2008-07-01 23:11:19 +02:00
|
|
|
%setup -q -n freedm-%{version}
|
2008-05-02 01:53:07 +02:00
|
|
|
|
|
|
|
%build
|
|
|
|
# Game data files. Nothing to build!
|
|
|
|
|
|
|
|
%install
|
2010-02-15 14:31:38 +01:00
|
|
|
install -pD -m 0644 freedm.wad $RPM_BUILD_ROOT%{waddir}/freedm.wad
|
|
|
|
%suse_update_desktop_file -i %{name}
|
2008-05-02 01:53:07 +02:00
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
2010-02-15 14:31:38 +01:00
|
|
|
%doc README COPYING CREDITS NEWS
|
2008-05-02 01:53:07 +02:00
|
|
|
%{waddir}/freedm.wad
|
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
|
|
|
|
%changelog
|