[prboom-plus] Initial import (#1026517)

Jaromír Cápík jcapik at fedoraproject.org
Thu Nov 7 16:03:20 UTC 2013


commit 99bb8b490a8f8c871eed2514b1763c40c058d748
Author: Jaromir Capik <jcapik at redhat.com>
Date:   Thu Nov 7 17:03:33 2013 +0100

    Initial import (#1026517)

 .gitignore          |    1 +
 prboom-plus.desktop |    7 +++++
 prboom-plus.png     |  Bin 0 -> 3417 bytes
 prboom-plus.spec    |   68 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 5 files changed, 77 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..8a53e64 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/prboom-plus-2.5.1.3.tar.gz
diff --git a/prboom-plus.desktop b/prboom-plus.desktop
new file mode 100644
index 0000000..a46e29a
--- /dev/null
+++ b/prboom-plus.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=PrBoom+
+Exec=prboom-plus
+Icon=prboom-plus
+Terminal=false
+Type=Application
+Categories=Game;ActionGame;
diff --git a/prboom-plus.png b/prboom-plus.png
new file mode 100644
index 0000000..53bb1a6
Binary files /dev/null and b/prboom-plus.png differ
diff --git a/prboom-plus.spec b/prboom-plus.spec
new file mode 100644
index 0000000..7df1dea
--- /dev/null
+++ b/prboom-plus.spec
@@ -0,0 +1,68 @@
+
+Name:    prboom-plus
+Version: 2.5.1.3
+Release: 2%{?dist}
+Summary: Free enhanced DOOM engine
+Group:   Amusements/Games
+URL:     http://prboom-plus.sourceforge.net/
+License: GPLv2+ and MIT and Public Domain and BSD and LGPLv2+
+
+Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+Source1: %{name}.desktop
+Source2: %{name}.png
+
+Requires:      freedoom
+
+BuildRequires: dumb-devel fluidsynth-devel pcre-devel libpng-devel
+BuildRequires: SDL_image-devel SDL_mixer-devel SDL_net-devel libGLU-devel
+BuildRequires: desktop-file-utils
+
+%description
+Doom is a classic 3D shoot-em-up game.
+PrBoom+ is a Doom source port developed from the original PrBoom project
+by Andrey Budko.
+The target of the project is to extend the original port with features
+that are necessary or useful.
+
+
+%prep
+%setup -q
+
+# fixing the FSF address
+sed -i 's|59 Temple Place - Suite 330, Boston, MA  02111-1307, USA|51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA|' COPYING
+
+%build
+%configure --prefix=/usr \
+           --with-waddir=%{_datadir}/doom \
+           --disable-cpu-opt \
+           --enable-gl
+
+make %{?_smp_mflags}
+
+
+%install
+make DESTDIR=%{buildroot} docdir=%{_docdir}/%{name} install
+
+# fixing the bin path
+mv %{buildroot}/usr/games %{buildroot}%{_bindir}
+
+# desktop + icons
+desktop-file-install --dir=%{buildroot}%{_datadir}/applications %{SOURCE1}
+install -Dpm 644 %{SOURCE2} %{buildroot}%{_datadir}/pixmaps/%{name}.png
+
+
+%files
+%{_docdir}/*
+%{_bindir}/*
+%{_datadir}/doom/*
+%{_mandir}/man5/*
+%{_mandir}/man6/*
+%{_datadir}/applications/%{name}.desktop
+%{_datadir}/pixmaps/%{name}.png
+
+%changelog
+* Thu Nov 07 2013 Jaromir Capik <jcapik at redhat.com> - 2.5.1.3-2
+- Fixing the license tag
+
+* Mon Nov 04 2013 Jaromir Capik <jcapik at redhat.com> - 2.5.1.3-1
+- Initial package
diff --git a/sources b/sources
index e69de29..7b8deb3 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9401c48fb0aa0a1d2d78ef0008a25993  prboom-plus-2.5.1.3.tar.gz


More information about the scm-commits mailing list