X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=doomsday.spec;h=c06eb4300a03c8aac1a83c77e0b4f3fe45996144;hb=8755e7932efac37b0e5e4d7b2a6d9390e2af3427;hp=c6fbdfdbbff38dc7a64a163b54eb97c95ed9d89a;hpb=2a1961bdab8d44a5474f3e0622485e2c6291372a;p=packages%2Fdoomsday.git diff --git a/doomsday.spec b/doomsday.spec index c6fbdfd..c06eb43 100644 --- a/doomsday.spec +++ b/doomsday.spec @@ -1,18 +1,23 @@ # TODO # - icons for desktop files -# - (CVE-2006-1618) http://security.gentoo.org/glsa/glsa-200604-05.xml -%define subver beta6.4 -%define rel 0.1 +%define subver beta6.7 +%define rel 1 Summary: jDoom, jHeretic and jHexen for Linux Summary(pl.UTF-8): jDoom, jHeretic i jHexen dla Linuksa Name: doomsday Version: 1.9.0 Release: 0.%{subver}.%{rel} -License: GPL v2 +License: GPL v2 / CC 3.0 (icons) Group: Applications/Games -Source0: http://dl.sourceforge.net/deng/deng-%{version}-%{subver}.tar.gz -# Source0-md5: 63fdbc11f0473535f7206f62952a1e2e +Source0: http://dl.sourceforge.net/project/deng/Doomsday%20Engine/%{version}-%{subver}/deng-%{version}-%{subver}.tar.gz +# Source0-md5: 9c706df9a3f078b9b62af842e09b088e +Source1: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-26/Doom-1-48x48.png +# Source1-md5: b7b7a9389eba56679e5db65d95c06803 +Source2: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-23/Hexen-1-48x48.png +# Source2-md5: 573845e6e747f68617ac67f3a87dc78e +Source3: http://www.iconarchive.com/icons/3xhumed/mega-games-pack-28/Heretic-I-1-48x48.png +# Source3-md5: c89e36c49eabe2846137f313a5250308 URL: http://www.doomsdayhq.com/ BuildRequires: OpenAL-devel BuildRequires: OpenGL-GLU-devel @@ -20,10 +25,12 @@ BuildRequires: OpenGL-devel BuildRequires: SDL-devel >= 1.2.0 BuildRequires: SDL_mixer-devel BuildRequires: SDL_net-devel -BuildRequires: autoconf -BuildRequires: automake BuildRequires: cmake >= 2.4 BuildRequires: curl-devel +BuildRequires: libpng-devel +BuildRequires: ncurses-devel +BuildRequires: python +BuildRequires: python-modules BuildRequires: rpmbuild(macros) >= 1.213 BuildRequires: zip Requires: TiMidity++ @@ -55,12 +62,17 @@ install -d $RPM_BUILD_ROOT%{_desktopdir} %{__make} -C build install \ DESTDIR=$RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_pixmapsdir} +cp -a %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/doom.png +cp -a %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}/hexen.png +cp -a %{SOURCE3} $RPM_BUILD_ROOT%{_pixmapsdir}/heretic.png + cat < $RPM_BUILD_ROOT%{_desktopdir}/%{name}-doom.desktop [Desktop Entry] Name=Doom Comment=Doom for linux Exec=doomsday -game jdoom -#Icon=hexen.png +Icon=doom.png Terminal=false Type=Application Categories=Game;FirstPersonGame; @@ -73,7 +85,7 @@ cat < $RPM_BUILD_ROOT%{_desktopdir}/%{name}-hexen.desktop Name=Hexen Comment=Hexen for linux Exec=doomsday -game jhexen -#Icon=heretic.png +Icon=hexen.png Terminal=false Type=Application Categories=Game;FirstPersonGame; @@ -86,7 +98,7 @@ cat < $RPM_BUILD_ROOT%{_desktopdir}/%{name}-heretic.desktop Name=Heretic Comment=Heretic for linux Exec=doomsday -game jheretic -#Icon=heretic.png +Icon=heretic.png Terminal=false Type=Application Categories=Game;FirstPersonGame; @@ -111,6 +123,7 @@ fi %files %defattr(644,root,root,755) +%doc doomsday/build/README %attr(755,root,root) %{_bindir}/doomsday %attr(755,root,root) %{_libdir}/libdpdehread.so %attr(755,root,root) %{_libdir}/libdpwadmapconverter.so @@ -119,3 +132,4 @@ fi %attr(755,root,root) %{_libdir}/libjhexen.so %{_datadir}/deng %{_desktopdir}/*.desktop +%{_pixmapsdir}/*.png