Sophie

Sophie

distrib > Mageia > 1 > i586 > media > core-updates-src > by-pkgid > e88518f3c5a6d12b1eba35778ed1bd58 > files > 3

prboom-plus-2.5.1.3-1.3.mga1.src.rpm

%define		Werror_cflags %nil
%define		subrel 3

Name:		prboom-plus
Version:	2.5.1.3
Release:	%mkrel 1
Summary:	Open source port of the DOOM game engine
Group:		Games/Arcade
License:	GPLv2+
URL:		http://prboom-plus.sourceforge.net/
Source0:	%{name}-%{version}.tar.gz
Source1:	%{name}.png
BuildRequires:	GL-devel
BuildRequires:	fluidsynth-devel
BuildRequires:	libSDL_image-devel
BuildRequires:	libSDL_mixer-devel
BuildRequires:	libSDL_net-devel
BuildRequires:	libvorbis-devel
BuildRequires:	libpng-devel
BuildRequires:	pcre-devel
BuildRequires:	portmidi-devel
BuildRequires:	libmad-devel
BuildRequires:	dumb-devel
Suggests:	doom-iwad
Provides:       doom-engine
Provides:       prboom+ = %{version}-%{release}
Provides:       prboomplus = %{version}-%{release}

%description
PrBoom+ is a Doom source port developed from the original PrBoom
project.

PrBoom is an open-source port of Doom, the classic 3D first-person
shooter game. It totally outclassed any 3D world games that preceded
it, with amazing speed, flexibility, and outstanding gameplay. The
specs to the game were released, and thousands of extra levels were
written by fans of the game; even today new levels are written for
Doom faster then any one person could play them.

The target of the PrBoom+ project is to extend the original port
with features that are necessary or useful to the developers and all
those interested in their work. It is worth noting that all changes
introduced in no way break PrBoom's compatibility with the original
Doom/Doom2 engines, and it is possible to be confident this will
never happen in the future since compatibility is as important.

%prep
%setup -q

%build
./bootstrap;
# rpm has its own optimizations, so turn off shipped defaults
%configure --enable-gl --disable-cpu-opt --program-prefix='' \
	--with-waddir=%{_gamesdatadir}/doom
make %{?_smp_mflags}

%install

make install DESTDIR=%{buildroot};
# Will manually package docs (see %%files)
rm -Rf %{buildroot}/%{_gamesdatadir}/doc;
mkdir -p %{buildroot}/%{_gamesbindir};
mkdir -p %{buildroot}%{_datadir}/applications/
mkdir -p %{buildroot}%{_iconsdir}/hicolor/48x48/apps

install -m644 %{SOURCE1} -D %{buildroot}%{_iconsdir}/hicolor/48x48/apps/%{name}.png

cat << EOF > %{buildroot}%{_datadir}/applications/%{name}.desktop
[Desktop Entry]
Type=Application
Categories=Game;ArcadeGame;
Name=PrBoom+
Comment=%{Summary}
Icon=%{name}
Exec=%{name}
EOF

%files
%doc NEWS AUTHORS README
%doc doc/MBF.txt doc/MBFFAQ.txt doc/README.compat doc/README.demos doc/boom.txt
%{_gamesbindir}/*
%{_gamesdatadir}/doom
%{_mandir}/*/*
%{_docdir}/%{name}-%{version}/*
%{_datadir}/applications/%{name}.desktop
%{_iconsdir}/hicolor/*/apps/%{name}.png


%changelog

* Mon Aug 13 2012 dams <dams> 2.5.1.3-1.3.mga1
+ Revision: 281114
- add a provide on doom-engine
- fix description
- remove prboom as a require (spotted by stormi)
- Import prboom-plus from 2 to 1 as requested in mga#6535
- fix buildrequires
- add icon file
- add .desktop file
- Import as requested on mga#6535

* Fri Jul 20 2012 dams <dams> 2.5.1.3-1.mga3
+ Revision: 272875
- update SOURCES
- remove uneeded patchs
- clean specfile
- add 'Suggests' as requested in mga#6535
- imported package prboom-plus


* Fri Jan 27 2012 Zombie Ryushu <ryushu@mandriva.org> 2.5.1.3-1mdv2010.1
+ Revision: 769267
- First PrBoom Plus Package
- imported package prboom-plus


* Wed Aug  3 2011 jengelh@medozas.de
- Enable missing USE_GLU_TESS for the self-referencing sector hack
  to be rendered.
* Mon Jun 20 2011 jengelh@medozas.de
- Update to new upstream release 2.5.1.1:
  * Support was added for sound fonts, OPL2 emulation, mouse wheel,
  changing resolution on the fly, interpolation of automap, and the
  "use GL surface for software mode" video option for the ability
  to use hardware vsync in software mode.
* Tue Nov 16 2010 jengelh@medozas.de
- Update to new upstream release 2.5.0.8a:
  * Support for textured automap was added. Compatibility with Doom
  1.2 was improved. New HUDs and bugs were fixed.
* Mon Aug 23 2010 jengelh@medozas.de
- Update to new upstream release 2.5.0.7:
  * A lot of compatibility and improvements, many bug fixes, and
  several new features were added, including support for DeePBSP and
  uncompressed ZDBSP nodes and dynamic music changing... through the
  new MUSINFO lump. On the GLBoom+ front, there is support for GZDoom
  skyboxes, custom detail texture definitions, and blending of
  animated flats and wall textures.