From 84ff34e12ac8838dbcfe7af69e62fd61d003386b2414824b9f62b3417785593f Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Thu, 1 May 2008 23:53:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/games/freedoom-freedm?expand=0&rev=1 --- .gitattributes | 23 ++++++++++++++ .gitignore | 1 + freedoom-freedm-0.5.zip | 3 ++ freedoom-freedm.changes | 5 +++ freedoom-freedm.desktop | 11 +++++++ freedoom-freedm.spec | 69 +++++++++++++++++++++++++++++++++++++++++ 6 files changed, 112 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 freedoom-freedm-0.5.zip create mode 100644 freedoom-freedm.changes create mode 100644 freedoom-freedm.desktop create mode 100644 freedoom-freedm.spec 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-freedm-0.5.zip b/freedoom-freedm-0.5.zip new file mode 100644 index 0000000..2d32b06 --- /dev/null +++ b/freedoom-freedm-0.5.zip @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e4d421438b7ee281e58246ee7ef9499018c089ea3eec71432e5aa19cac95a966 +size 4073853 diff --git a/freedoom-freedm.changes b/freedoom-freedm.changes new file mode 100644 index 0000000..3efec80 --- /dev/null +++ b/freedoom-freedm.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-freedm.desktop b/freedoom-freedm.desktop new file mode 100644 index 0000000..0b9e79f --- /dev/null +++ b/freedoom-freedm.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=Freedoom Deathmatch +GenericName=Free Doom +Comment=A set of Doom Deathmatch levels +Exec=prboom -iwad /usr/share/doom/freedm.wad +Icon=freedoom.png +Terminal=false +Type=Application +Categories=Game;ActionGame; +Version=1.0 diff --git a/freedoom-freedm.spec b/freedoom-freedm.spec new file mode 100644 index 0000000..6f8effe --- /dev/null +++ b/freedoom-freedm.spec @@ -0,0 +1,69 @@ +# norootforbuild + +%define waddir %{_datadir}/doom + +Name: freedoom-freedm + +Version: 0.5 +Release: 5 +Summary: Deathmatch levels for Doom + +Group: Amusements/Games +License: BSD +URL: http://freedoom.sourceforge.net +Source0: http://downloads.sourceforge.net/freedoom/freedoom-freedm-%{version}.zip +Source1: freedoom-freedm.desktop +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-build + +BuildArch: noarch +BuildRequires: update-desktop-files +BuildRequires: unzip +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 + + +%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 + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%{waddir}/freedm.wad +%{_datadir}/applications/*.desktop +%doc README COPYING CREDITS NEWS + + + +%changelog +