commit 57bb826c6d011ed1d238c0a80505e32a3f59d9a30092a45147784afba4c36311 Author: Pavol Rusnak Date: Thu May 1 23:53:04 2008 +0000 OBS-URL: https://build.opensuse.org/package/show/games/freedoom?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/freedoom-iwad-0.5.zip b/freedoom-iwad-0.5.zip new file mode 100644 index 0000000..8985e0f --- /dev/null +++ b/freedoom-iwad-0.5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae840c81cc6f8270e9555d8ea83364db5d188bbd9f76e809f750c26473c444dc +size 7162039 diff --git a/freedoom.changes b/freedoom.changes new file mode 100644 index 0000000..3efec80 --- /dev/null +++ b/freedoom.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Thu Nov 22 00:03:00 CET 2007 - claes.backstrom@fsfe.org + +- Initial package built from Fedora package (0.5-4) + diff --git a/freedoom.desktop b/freedoom.desktop new file mode 100644 index 0000000..1bb6e55 --- /dev/null +++ b/freedoom.desktop @@ -0,0 +1,11 @@ +[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 +Terminal=false +Type=Application +Categories=Game;ActionGame; +Version=1.0 diff --git a/freedoom.png b/freedoom.png new file mode 100644 index 0000000..fb2370b --- /dev/null +++ b/freedoom.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:114d2e63ed19fab0d749d4c95dc60a9e0f93dcb4433029493f675ce6fd132721 +size 4896 diff --git a/freedoom.spec b/freedoom.spec new file mode 100644 index 0000000..fdc3133 --- /dev/null +++ b/freedoom.spec @@ -0,0 +1,70 @@ +# norootforbuild + +%define waddir %{_datadir}/doom + +Name: freedoom + +Version: 0.5 +Release: 4 +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 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot + +BuildArch: noarch +BuildRequires: update-desktop-files +BuildRequires: unzip +%if 0%{?suse_version} > 1020 +BuildRequires: licenses +Requires: licenses +%endif +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 + +%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 + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%{waddir}/%{name}.wad +%{_datadir}/applications/*.desktop +%{_datadir}/pixmaps//*.png +%doc README COPYING CREDITS NEWS + + +%changelog +