1
0
Pavol Rusnak 2010-02-15 13:31:38 +00:00 committed by Git OBS Bridge
parent a951954428
commit a484040060
5 changed files with 15 additions and 38 deletions

View File

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

3
freedm-0.6.4.zip Normal file
View File

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

View File

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

View File

@ -1,5 +1,4 @@
[Desktop Entry]
Encoding=UTF-8
Name=Freedoom Deathmatch
GenericName=Free Doom
Comment=A set of Doom Deathmatch levels

View File

@ -3,69 +3,42 @@
%define waddir %{_datadir}/doom
Name: freedoom-freedm
Version: 0.6.2
Version: 0.6.4
Release: 1
Summary: Deathmatch levels for Doom
Group: Amusements/Games
License: BSD
URL: http://freedoom.sourceforge.net
Source0: http://downloads.sourceforge.net/freedoom/freedm-%{version}.zip
Source0: http://mirror.lihnidos.org/GNU/savannah/freedoom/freedm/freedm-%{version}.zip
Source1: freedoom-freedm.desktop
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build
BuildArch: noarch
BuildRequires: update-desktop-files
BuildRequires: unzip
# Added BuildRequires in order to have a 'valid' desktop file as a result
BuildRequires: prboom freedoom
Requires: prboom freedoom
%if 0%{?suse_version} > 1020
BuildRequires: licenses
Requires: licenses
%endif
%description
A set of deathmatch levels for the DOOM game engine, based on the
freely redistributable Freedoom game files.
%prep
%setup -q -n freedm-%{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
#rm -rf $RPM_BUILD_ROOT
install -pD -m 0644 freedm.wad $RPM_BUILD_ROOT/%{waddir}/freedm.wad
%suse_update_desktop_file -i %{name} Game ActionGame
install -pD -m 0644 freedm.wad $RPM_BUILD_ROOT%{waddir}/freedm.wad
%suse_update_desktop_file -i %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc README COPYING CREDITS NEWS
%{waddir}/freedm.wad
%{_datadir}/applications/*.desktop
%doc README COPYING CREDITS NEWS
%changelog