[packages/chocolate-doom: 1/2] new, version 2.2.0
glen
glen at pld-linux.org
Thu Mar 17 22:13:00 CET 2016
commit eb7783c01eba734b09597d000e46c7847285d81d
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Thu Mar 17 23:02:23 2016 +0200
new, version 2.2.0
based on fedora package, 758aaac
chocolate-doom.appdata.xml | 24 +++++++++++
chocolate-doom.spec | 99 ++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 123 insertions(+)
---
diff --git a/chocolate-doom.spec b/chocolate-doom.spec
new file mode 100644
index 0000000..af8f30f
--- /dev/null
+++ b/chocolate-doom.spec
@@ -0,0 +1,99 @@
+Summary: Historically compatible Doom engine
+Name: chocolate-doom
+Version: 2.2.0
+Release: 0.1
+License: GPL v2+
+Group: Applications/Games
+Source0: http://www.chocolate-doom.org/downloads/%{version}/%{name}-%{version}.tar.gz
+# Source0-md5: 8b32745d113f25fd0985a03a5d632ba5
+Source1: %{name}.appdata.xml
+URL: http://chocolate-doom.org/
+BuildRequires: %{__python}
+BuildRequires: SDL-devel
+BuildRequires: SDL_mixer-devel
+BuildRequires: SDL_net-devel
+BuildRequires: desktop-file-utils
+BuildRequires: libsamplerate-devel
+Provides: bundled(md5-plumb)
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Chocolate Doom is a game engine that aims to accurately reproduce the
+experience of playing vanilla Doom. It is a conservative, historically
+accurate Doom source port, which is compatible with the thousands of
+mods and levels that were made before the Doom source code was
+released. Rather than flashy new graphics, Chocolate Doom's main
+features are its accurate reproduction of the game as it was played in
+the 1990s.
+
+%prep
+%setup -q
+
+%build
+%configure \
+ --disable-silent-rules
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ iconsdir=%{_iconsdir}/hicolor/64x64/apps \
+ docdir=%{_docdir} \
+ DESTDIR=$RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/appdata}
+mv $RPM_BUILD_ROOT%{_prefix}/games/* $RPM_BUILD_ROOT%{_bindir}
+
+cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/chocolate-heretic.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/chocolate-hexen.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/chocolate-strife.desktop
+desktop-file-validate $RPM_BUILD_ROOT%{_desktopdir}/screensavers/chocolate-doom-screensaver.desktop
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog NEWS NOT-BUGS README
+%if 0
+%doc %{_docdir}/chocolate-heretic
+%doc %{_docdir}/chocolate-hexen
+%doc %{_docdir}/chocolate-strife
+%endif
+%attr(755,root,root) %{_bindir}/chocolate-doom
+%attr(755,root,root) %{_bindir}/chocolate-server
+%attr(755,root,root) %{_bindir}/chocolate-doom-setup
+%attr(755,root,root) %{_bindir}/chocolate-heretic
+%attr(755,root,root) %{_bindir}/chocolate-heretic-setup
+%attr(755,root,root) %{_bindir}/chocolate-hexen
+%attr(755,root,root) %{_bindir}/chocolate-hexen-setup
+%attr(755,root,root) %{_bindir}/chocolate-strife
+%attr(755,root,root) %{_bindir}/chocolate-strife-setup
+%{_datadir}/appdata/*.appdata.xml
+%{_desktopdir}/chocolate-doom.desktop
+%{_desktopdir}/chocolate-setup.desktop
+%{_desktopdir}/screensavers/chocolate-doom-screensaver.desktop
+%{_desktopdir}/chocolate-heretic.desktop
+%{_desktopdir}/chocolate-hexen.desktop
+%{_desktopdir}/chocolate-strife.desktop
+%{_iconsdir}/hicolor/64x64/apps/chocolate-doom.png
+%{_iconsdir}/hicolor/64x64/apps/chocolate-setup.png
+%{_mandir}/man5/chocolate-doom.cfg.5*
+%{_mandir}/man5/chocolate-heretic.cfg.5*
+%{_mandir}/man5/chocolate-hexen.cfg.5*
+%{_mandir}/man5/chocolate-strife.cfg.5*
+%{_mandir}/man5/default.cfg.5*
+%{_mandir}/man5/heretic.cfg.5*
+%{_mandir}/man5/hexen.cfg.5*
+%{_mandir}/man5/strife.cfg.5*
+%{_mandir}/man6/chocolate-doom.6*
+%{_mandir}/man6/chocolate-server.6*
+%{_mandir}/man6/chocolate-setup.6*
+%{_mandir}/man6/chocolate-doom-setup.6*
+%{_mandir}/man6/chocolate-heretic-setup.6*
+%{_mandir}/man6/chocolate-heretic.6*
+%{_mandir}/man6/chocolate-hexen-setup.6*
+%{_mandir}/man6/chocolate-hexen.6*
+%{_mandir}/man6/chocolate-strife-setup.6*
+%{_mandir}/man6/chocolate-strife.6*
diff --git a/chocolate-doom.appdata.xml b/chocolate-doom.appdata.xml
new file mode 100644
index 0000000..9322e73
--- /dev/null
+++ b/chocolate-doom.appdata.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!-- Copyright 2014 Ravi Srinivasan <ravishankar.srinivasan at gmail.com> -->
+<!--
+BugReportURL: https://github.com/chocolate-doom/chocolate-doom/issues/406
+SentUpstream: 2014-09-24
+-->
+<application>
+ <id type="desktop">chocolate-doom.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <summary>A clone of the popular DOS game DOOM</summary>
+ <description>
+ <p>
+ Chocolate Doom is an original source port of the popular DOOM game for the PC.
+ </p>
+ <p>
+ It accurately reproduces the playing experience of the original DOOM game
+ and is compatible with the numerous mods and levels designed for the original.
+ </p>
+ </description>
+ <url type="homepage">http://chocolate-doom.org/</url>
+ <screenshots>
+ <screenshot type="default">http://www.chocolate-doom.org/wiki/images/a/a7/Chocolate-doom.png</screenshot>
+ </screenshots>
+</application>
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/chocolate-doom.git/commitdiff/c87a608a443a57f0317973ec339d6beca44b1fb1
More information about the pld-cvs-commit
mailing list