packages: prboom-plus/prboom-plus.spec (NEW) - init, based on prboom.spec

lisu lisu at pld-linux.org
Tue Aug 24 09:14:49 CEST 2010


Author: lisu                         Date: Tue Aug 24 07:14:49 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- init, based on prboom.spec

---- Files affected:
packages/prboom-plus:
   prboom-plus.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/prboom-plus/prboom-plus.spec
diff -u /dev/null packages/prboom-plus/prboom-plus.spec:1.1
--- /dev/null	Tue Aug 24 09:14:49 2010
+++ packages/prboom-plus/prboom-plus.spec	Tue Aug 24 09:14:44 2010
@@ -0,0 +1,75 @@
+# $Revision$, $Date$
+Summary:	PrBoom-Plus - a modified PrBoom port
+Name:		prboom-plus
+Version:	2.5.0.7
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications/Games
+Source0:	http://downloads.sourceforge.net/prboom-plus/%{name}-%{version}.tar.gz
+# Source0-md5:	d07c477664b6cb69e8c90d5aafca8aa4
+Source1:	%{name}.desktop
+Source2:	%{name}.png
+URL:		http://prboom-plus.sourceforge.net/
+BuildRequires:	OpenGL-GLU-devel
+BuildRequires:	SDL-devel >= 1.2.0
+BuildRequires:	SDL_mixer-devel >= 1.2.0
+BuildRequires:	SDL_net-devel >= 1.2.0
+BuildRequires:	autoconf
+BuildRequires:	automake
+BuildRequires:	smpeg-devel
+Obsoletes:	lsdldoom
+Obsoletes:	lxdoom
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+PrBoom-Plus is a modified PrBoom port with uncapped framerate,
+variable gamespeed, re-record, walkcam, chasecam, full mouselook, FOV,
+and other features without loss of compatibility with the original
+Doom.
+
+Note that some orignal game files are required to use PrBoom-Plus.
+
+%prep
+%setup -q
+
+%build
+cp -f /usr/share/automake/config.* autotools
+%{__aclocal} -I autotools
+%{__autoconf}
+%{__automake}
+%configure \
+	--disable-cpu-opt
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_pixmapsdir},%{_desktopdir}}
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	gamesdir=%{_bindir}
+
+install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
+install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS NEWS README TODO doc/{*.txt,README*}
+%attr(755,root,root) %{_bindir}/*
+%{_datadir}/games/doom
+%{_pixmapsdir}/%{name}.png
+%{_desktopdir}/%{name}.desktop
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2010/08/24 07:14:44  lisu
+- init, based on prboom.spec
+
================================================================


More information about the pld-cvs-commit mailing list