diff --git a/freedoom.spec b/freedoom.spec index 995c4ff..5e0f00e 100644 --- a/freedoom.spec +++ b/freedoom.spec @@ -1,21 +1,37 @@ -# norootforbuild +# +# 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: 1 +Release: 0 Summary: Replacement game files for doom game engines -Group: Amusements/Games/3D/Shoot License: BSD -URL: http://freedoom.sourceforge.net/ +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}-%{release}-buildroot +BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildArch: noarch -BuildRequires: update-desktop-files BuildRequires: unzip +BuildRequires: update-desktop-files Requires: prboom %description @@ -35,9 +51,6 @@ Doom-based game. install -D -m 0644 doom2.wad $RPM_BUILD_ROOT/%{waddir}/freedoom.wad %suse_update_desktop_file -i %{name} -%clean -rm -rf $RPM_BUILD_ROOT - %files %defattr(-,root,root) %doc COPYING CREDITS ChangeLog NEWS README README.html