packages: doomsday/doomsday.spec - up to beta6.9 - enhanced desc

glen glen at pld-linux.org
Sat Jan 15 17:45:04 CET 2011


Author: glen                         Date: Sat Jan 15 16:45:04 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to beta6.9
- enhanced desc

---- Files affected:
packages/doomsday:
   doomsday.spec (1.26 -> 1.27) 

---- Diffs:

================================================================
Index: packages/doomsday/doomsday.spec
diff -u packages/doomsday/doomsday.spec:1.26 packages/doomsday/doomsday.spec:1.27
--- packages/doomsday/doomsday.spec:1.26	Sat Feb  6 23:16:43 2010
+++ packages/doomsday/doomsday.spec	Sat Jan 15 17:44:59 2011
@@ -1,9 +1,8 @@
 # $Revision$, $Date$
 # TODO
-# - icons for desktop files
-
-%define		subver	beta6.7
-%define		rel		2
+# - sync pl
+%define		subver	beta6.9
+%define		rel		1
 Summary:	jDoom, jHeretic and jHexen for Linux
 Summary(pl.UTF-8):	jDoom, jHeretic i jHexen dla Linuksa
 Name:		doomsday
@@ -11,15 +10,15 @@
 Release:	0.%{subver}.%{rel}
 License:	GPL v2 / CC 3.0 (icons)
 Group:		Applications/Games
-Source0:	http://dl.sourceforge.net/project/deng/Doomsday%20Engine/%{version}-%{subver}/deng-%{version}-%{subver}.tar.gz
-# Source0-md5:	9c706df9a3f078b9b62af842e09b088e
+Source0:	http://downloads.sourceforge.net/deng/deng-%{version}-%{subver}.tar.gz
+# Source0-md5:	907ef41b70e2dbf148ef7e4a0350c6bd
 Source1:	http://www.iconarchive.com/icons/3xhumed/mega-games-pack-26/Doom-1-48x48.png
-# Source1-md5:	b7b7a9389eba56679e5db65d95c06803
+# Source1-md5:	24783c4c52c9fdf762a73f70b6406e63
 Source2:	http://www.iconarchive.com/icons/3xhumed/mega-games-pack-23/Hexen-1-48x48.png
-# Source2-md5:	573845e6e747f68617ac67f3a87dc78e
+# Source2-md5:	24783c4c52c9fdf762a73f70b6406e63
 Source3:	http://www.iconarchive.com/icons/3xhumed/mega-games-pack-28/Heretic-I-1-48x48.png
-# Source3-md5:	c89e36c49eabe2846137f313a5250308
-URL:		http://www.doomsdayhq.com/
+# Source3-md5:	24783c4c52c9fdf762a73f70b6406e63
+URL:		http://www.dengine.net/
 BuildRequires:	OpenAL-devel
 BuildRequires:	OpenGL-GLU-devel
 BuildRequires:	OpenGL-devel
@@ -32,12 +31,14 @@
 BuildRequires:	ncurses-devel
 BuildRequires:	python
 BuildRequires:	python-modules
-BuildRequires:	rpmbuild(macros) >= 1.213
+BuildRequires:	rpmbuild(macros) >= 1.595
 Requires:	TiMidity++
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-jDoom, jHeretic and jHexen for Linux.
+The Doomsday Engine allows you to play the classic first-person
+shooters DOOM, Heretic, and Hexen using modern technology, with
+hardware accelerated 3D graphics, surround sound and much more.
 
 %description -l pl.UTF-8
 jDoom, jHeretic i jHexen dla Linuksa.
@@ -48,6 +49,7 @@
 %build
 install -d build
 cd build
+LDFLAGS="-lm"
 %cmake \
 	-DBUILDOPENAL=1 \
 	-DCMAKE_INSTALL_PREFIX=%{_prefix} \
@@ -59,7 +61,6 @@
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_desktopdir}
-
 %{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
@@ -78,7 +79,6 @@
 Type=Application
 Categories=Game;FirstPersonGame;
 Encoding=UTF-8
-# vi: encoding=utf-8
 EOF
 
 cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}-hexen.desktop
@@ -91,7 +91,6 @@
 Type=Application
 Categories=Game;FirstPersonGame;
 Encoding=UTF-8
-# vi: encoding=utf-8
 EOF
 
 cat <<EOF > $RPM_BUILD_ROOT%{_desktopdir}/%{name}-heretic.desktop
@@ -104,23 +103,20 @@
 Type=Application
 Categories=Game;FirstPersonGame;
 Encoding=UTF-8
-# vi: encoding=utf-8
 EOF
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %post
-if [ "$1" = "1" ]; then
-	%banner -e %{name} <<-EOF
-	To run doomsday you need some WAD file: either freedoom package
-	or some shareware or commercial WAD from Doom or Heretic:
-	Doom.wad, Doom1.wad, Doom2.wad, Tnt.wad, Plutonia.wad,
-	Heretic.wad or Heretic1.wad.
-	When you have them, run doomsday with:
-	doomsday -game [ jdoom | jheretic | jhexen ]
+%banner -o -e %{name} <<-EOF
+To run doomsday you need some WAD file: either freedoom package
+or some shareware or commercial WAD from Doom or Heretic:
+Doom.wad, Doom1.wad, Doom2.wad, Tnt.wad, Plutonia.wad,
+Heretic.wad or Heretic1.wad.
+When you have them, run doomsday with:
+doomsday -game [ jdoom | jheretic | jhexen ]
 EOF
-fi
 
 %files
 %defattr(644,root,root,755)
@@ -131,6 +127,7 @@
 %attr(755,root,root) %{_libdir}/libjdoom.so
 %attr(755,root,root) %{_libdir}/libjheretic.so
 %attr(755,root,root) %{_libdir}/libjhexen.so
+%attr(755,root,root) %{_libdir}/libdsopenal.so
 %{_datadir}/deng
 %{_desktopdir}/*.desktop
 %{_pixmapsdir}/*.png
@@ -141,6 +138,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.27  2011/01/15 16:44:59  glen
+- up to beta6.9
+- enhanced desc
+
 Revision 1.26  2010/02/06 22:16:43  sparky
 - dropped unused BR: zip
 - enabled OpenAL
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/doomsday/doomsday.spec?r1=1.26&r2=1.27&f=u



More information about the pld-cvs-commit mailing list