# TODO
# - icons for desktop files
+# - (CVE-2006-1618) http://security.gentoo.org/glsa/glsa-200604-05.xml
Summary: jDoom, jHeretic and jHexen for Linux
Summary(pl): jDoom, jHeretic i jHexen dla Linuksa
Name: doomsday
-Version: 1.8.5
-Release: 0.4
+Version: 1.9.0
+Release: 0.beta3.1
License: GPL v2
Group: Applications/Games
-Source0: http://dl.sourceforge.net/deng/deng-%{version}.tar.gz
-# Source0-md5: 0e1f34ebddae77315765ce089e88a9f3
+Source0: http://dl.sourceforge.net/deng/deng-%{version}-beta3.tar.gz
+# Source0-md5: 581fefd6165dd4104b25656a6b9f31b4
Patch0: %{name}-ncurses.patch
Patch1: %{name}-runtimedir.patch
URL: http://www.doomsdayhq.com/
BuildRequires: SDL_net-devel
BuildRequires: autoconf
BuildRequires: automake
-BuildRequires: rpmbuild(macros) >= 1.194
+BuildRequires: rpmbuild(macros) >= 1.213
Requires(post): /sbin/ldconfig
Requires: TiMidity++
# it's FUBAR by storing pointers in int struct fields
-ExcludeArch: alpha amd64 ia64 ppc64 s390x sparc64
+ExcludeArch: %{x8664} alpha ia64 ppc64 s390x sparc64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoreqdep libGL.so.1 libGLU.so.1
jDoom, jHeretic i jHexen dla Linuksa.
%prep
-%setup -q -n deng-%{version}
+%setup -q -n deng-%{version}-beta3
%patch0 -p1
%patch1 -p1
#Icon=hexen.png
Terminal=false
Type=Application
-Category=Game;FPP;
+Categories=Game;FirstPersonGame;
Encoding=UTF-8
# vi: encoding=utf-8
EOF
#Icon=heretic.png
Terminal=false
Type=Application
-Category=Game;FPP;
+Categories=Game;FirstPersonGame;
Encoding=UTF-8
# vi: encoding=utf-8
EOF
#Icon=heretic.png
Terminal=false
Type=Application
-Category=Game;FPP;
+Categories=Game;FirstPersonGame;
Encoding=UTF-8
# vi: encoding=utf-8
EOF
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.a
+
%clean
rm -rf $RPM_BUILD_ROOT