Pavol Rusnak 2010-02-15 13:31:23 +00:00 committed by Git OBS Bridge
parent 917fe41eac
commit 9b4a57bcd3
5 changed files with 18 additions and 36 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:70ee4b5502c65c77a59ac40b3a86a4904d2f78c2edf058503d1c35ae6a75dcd6
size 7462224

3
freedoom-iwad-0.6.4.zip Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c88bc90dd898e032f53f8427b97a0cf15ef9f58f39c87e1a2e2279683ae29ec3
size 7522814

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Mon Feb 15 14:29:51 CET 2010 - prusnak@suse.cz
- updated to 0.6.4
-------------------------------------------------------------------
Tue Jul 1 23:05:52 CEST 2008 - claes.backstrom@fsfe.org

View File

@ -1,10 +1,9 @@
[Desktop Entry]
Encoding=UTF-8
Name=Freedoom
GenericName=Free Doom
Comment=A new set of Doom levels
Exec=prboom -iwad /usr/share/doom/freedoom.wad
Icon=freedoom.png
Icon=freedoom
Terminal=false
Type=Application
Categories=Game;ActionGame;

View File

@ -3,26 +3,19 @@
%define waddir %{_datadir}/doom
Name: freedoom
Version: 0.6.2
Version: 0.6.4
Release: 1
Summary: Replacement game files for doom game engines
Group: Amusements/Games
License: BSD
URL: http://freedoom.sourceforge.net
Source0: http://downloads.sourceforge.net/freedoom/freedoom-iwad-%{version}.zip
Source1: freedoom.desktop
Source2: freedoom.png
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
BuildArch: noarch
BuildArch: noarch
BuildRequires: update-desktop-files
BuildRequires: unzip
%if 0%{?suse_version} > 1020
BuildRequires: licenses
Requires: licenses
%endif
Requires: prboom
%description
@ -32,40 +25,25 @@ 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
%if 0%{?suse_version} > 1020
for FILE in COPYING ; do
MD5SUM=$(md5sum $FILE | sed 's/ .*//')
if test -f /usr/share/doc/licenses/md5/$MD5SUM ; then
ln -sf /usr/share/doc/licenses/md5/$MD5SUM $FILE
fi
done
%endif
install -pD -m 0644 doom2.wad $RPM_BUILD_ROOT/%{waddir}/freedoom.wad
%suse_update_desktop_file -i %{name} Game ActionGame
%suse_update_desktop_file -i %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%ghost %{waddir}
%doc COPYING CREDITS ChangeLog NEWS README README.html
%dir %{waddir}
%{waddir}/%{name}.wad
%{_datadir}/applications/*.desktop
%{_datadir}/pixmaps/*.png
%doc README COPYING CREDITS NEWS
%changelog