Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 1c648e6004bbb86af79d8c3aabf7f630 > files > 6

trophy-2.0.3-2.mga3.src.rpm

%define name trophy
%define version 2.0.3
%define release %mkrel 2
%define Summary A 2D car racing action game for Linux

Name: %{name}
Summary: %{Summary}
Version: %{version}
Release: %{release}
Source: http://heanet.dl.sourceforge.net/sourceforge/trophy/%{name}-%{version}.tar.gz
Source1: trophy-designer-manual.tar.bz2
Source10: %{name}.16.png
Source11: %{name}.32.png
Source12: %{name}.48.png
URL: http://trophy.sourceforge.net
License: GPLv2
Group: Games/Arcade
BuildRequires: clanlib0.8-devel	libclanlib-network libclanlib-sound libhermes-devel

%description
Trophy is a single-player racing game for Linux. Even though the goal is
basically to finish the laps as the first, Trophy is an action game which
offers much more than just a race. Lots of extras enable "unusual" features for
races such as shooting, putting mines and many others.

%prep
%setup -q -n %{name}-%{version} -a 1

%build
%configure2_5x --bindir=%{_gamesbindir} --datadir=%{_gamesdatadir}
%make

%install
%makeinstall_std

mkdir -p %{buildroot}%{_datadir}/applications
mv %{buildroot}%{_gamesdatadir}/applications/*.desktop %{buildroot}%{_datadir}/applications/

rm -f %{buildroot}%{_gamesdatadir}/icons/trophy.png

install -m644 %{SOURCE10} -D $RPM_BUILD_ROOT%{_miconsdir}/%{name}.png
install -m644 %{SOURCE11} -D $RPM_BUILD_ROOT%{_iconsdir}/%{name}.png
install -m644 %{SOURCE12} -D $RPM_BUILD_ROOT%{_liconsdir}/%{name}.png

%files
%defattr(-,root,root)
%doc AUTHORS COPYING README designer_manual_en
%{_gamesbindir}/*
%{_gamesdatadir}/trophy
%{_datadir}/applications/%{name}.desktop
%{_miconsdir}/%{name}.png
%{_iconsdir}/%{name}.png
%{_liconsdir}/%{name}.png
%{_mandir}/man6/trophy.*


%changelog

* Mon Jan 14 2013 umeabot <umeabot> 2.0.3-2.mga3
+ Revision: 384814
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Wed Jun 20 2012 fwang <fwang> 2.0.3-1.mga3
+ Revision: 262055
- update file list
- new version 2.0.3

* Sun Jul 10 2011 stormi <stormi> 1.1.7-2.mga2
+ Revision: 121922
- new version 1.1.7
- fix URL
- fix licence
- replace mageia with %%{_real_vendor}
- remove buildroot definition

* Mon Mar 28 2011 steletch <steletch> 1.1.5-7.mga1
+ Revision: 78626
- Clean spec file
- imported package trophy