Sophie

Sophie

distrib > Mageia > 2 > x86_64 > media > core-release-src > by-pkgid > b18ea096cdcdf5c421c25a85117bd13c > files > 4

trigger-rally-0.6.0-2.mga2.src.rpm

Summary: Rally racing game
Name: trigger-rally
Version: 0.6.0
Release: %mkrel 2
Source0: http://downloads.sourceforge.net/trigger-rally/%{name}-%{version}-src.tar.bz2
Source1: %{name}.png
Patch0: trigger-0.5.2.1-nodoc.patch
License: GPL
Group: Games/Arcade
Url: http://sourceforge.net/projects/trigger-rally/
BuildRequires: automake1.8
BuildRequires: jam
BuildRequires: SDL-devel
BuildRequires: SDL_image-devel
BuildRequires: freealut-devel
BuildRequires: glew-devel mesagl-devel freeglut-devel mesaglu-devel
BuildRequires: openal-devel
BuildRequires: physfs-devel
Requires: %{name}-data

%description
Trigger is a fast-paced open source rally racing game.

%prep
%setup -q -n %{name}-%{version}-src
%patch0 -p1 -b .nodoc

%build
%configure2_5x --bindir=%{_gamesbindir} --datadir=%{_gamesdatadir}/trigger
jam

%install
DESTDIR=%{buildroot} jam install
# only contains .a files
rm -rf %{buildroot}%{_libdir}

install -D -m 644 %{SOURCE1} %{buildroot}%{_datadir}/icons/%{name}.png

install -d %{buildroot}%{_datadir}/applications
cat > %{buildroot}%{_datadir}/applications/%{_real_vendor}-%{name}.desktop << EOF
[Desktop Entry]
Name=Trigger Rally
Comment=%{Summary}
Exec=%{_gamesbindir}/trigger
Icon=%{name}
Terminal=false
Type=Application
Categories=Game;ArcadeGame;
EOF

%clean

%files
%defattr(-,root,root)
%{_gamesbindir}/trigger
%{_datadir}/icons/%{name}.png
%{_datadir}/applications/%{_real_vendor}-%{name}.desktop






%changelog

* Tue Mar 06 2012 zezinho <zezinho> 0.6.0-2.mga2
+ Revision: 220512
- remove soundwrapper from menu as it is not used anymore

* Sun Dec 11 2011 zezinho <zezinho> 0.6.0-1.mga2
+ Revision: 180786
- new version

* Wed Sep 28 2011 zezinho <zezinho> 0.5.2.1-5.mga2
+ Revision: 150056
- imported package trigger-rally


* Wed Sep 09 2009 Thierry Vignaud <tvignaud@mandriva.com> 0.5.2.1-5mdv2010.0
+ Revision: 434461
- rebuild

* Sun Aug 03 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.5.2.1-4mdv2009.0
+ Revision: 261649
- rebuild
- rebuild

* Fri Jan 04 2008 Thierry Vignaud <tvignaud@mandriva.com> 0.5.2.1-1mdv2008.1
+ Revision: 145563
- BR mesaglut-devel mesaglu-devel
- BR mesagl-devel
- kill re-definition of %%buildroot on Pixel's request
- kill desktop-file-validate's 'warning: key "Encoding" in group "Desktop Entry" is deprecated'

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot


* Tue Dec 05 2006 Olivier Blin <oblin@mandriva.com> 0.5.2.1-1mdv2007.0
+ Revision: 90847
- buildrequire SDL_image-devel
- initial Trigger Rally release
- Create trigger-rally