File simutrans099.spec of Package simutrans099
Name: simutrans099
Version: 0.99.17.1
Release: 4
License: Other
BuildRequires: unzip zip
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
Obsoletes: simutrans64 simutrans128
Source0: simulinux-99-17-1.zip
Source1: pak128-143-99-17-1.zip
Source2: simutrans099
Source3: rail_signals.all.zip
Source4: pak64-99-17-1.zip
Source5: simworld.cfg
Source6: language_pack-pak128.zip
Source7: language_pack-pak64.zip
Source8: language_pack-Base+texts.zip
Source9: pak64-addon-food-99-17-1.zip
Source10: simupak64-waste-99-13.zip
Source11: newbetastuff.zip
Source12: factories.all.zip
Source13: menuconf.tab
Source14: speedbonus.tab
Patch0: patch-simuconf.tab
Patch1: patch-simuconf64.tab
Patch2: patch-simuconf128.tab
Group: Amusements/Games/Strategy/Other
URL: http://simutrans.com/
Summary: Economic simulation
%description
Simutrans is a transport and economic simulation with some ecological
aspects. The goal of the game is to build an infrastructure which
allows you to transport goods between the various industries and towns,
and to support the towns with water and energy. A second goal is to
become as rich as possible, but you will have to reinvest a good part
of your earned money to expand your infrastructure network. Your
competition will not sleep!
%prep
%setup -n simutrans
unzip -o %{S:1} -d ..
unzip -o %{S:3} -d pak128
unzip -o %{S:12} -d pak128
unzip -o %{S:4} -d ..
unzip -o %{S:9} -d ..
unzip -o %{S:10} -d ..
rm -f text/*.tab
unzip -o %{S:8} -d text/
rm -f pak/text/*.tab
unzip -o %{S:7} -d pak/text/
rm -f pak128/text/*.tab
unzip -o %{S:6} -d pak128/text
mv pak pak64
%patch0 -p 1
%patch1 -p 1
%patch2 -p 1
rm config/*.orig
unzip -o %{S:11} -d pak64
unzip -o %{S:11} -d pak128
unzip -o %{S:12} -d pak128
cp %{S:13} pak64/config/
cp %{S:13} pak128/config/
cp %{S:14} pak64/config/
cp %{S:14} pak128/config/
chmod -R g-w *
%build
%install
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/games/%{name}/
cp -a * $RPM_BUILD_ROOT%{_prefix}/share/games/%{name}/
mkdir -p $RPM_BUILD_ROOT%{_prefix}/games
cp %{SOURCE2} $RPM_BUILD_ROOT%{_prefix}/games
cp %{SOURCE5} $RPM_BUILD_ROOT%{_prefix}/share/games/%{name}/simworld.cfg
cd $RPM_BUILD_ROOT%{_prefix}/games
ln -s simutrans099 simutrans099128
ln -s simutrans099 simutrans09964
%clean
rm -rf "$RPM_BUILD_ROOT"
%files
%defattr(-,root,root)
%attr(755,root,root) %{_prefix}/share/games/%{name}/simutrans
%attr(755,root,root) %{_prefix}/games/%{name}
%{_prefix}/share/games/%{name}/
%{_prefix}/games/
%changelog -n simutrans099
* Fri Oct 31 2008 - msrex@suse.de
- renamed package from simutrans to simutrans099
* Wed Jun 25 2008 - msrex@suse.de
- reenabled translations, added stuff for new betas
* Mon Apr 22 2008 - msrex@suse.de
- updates pak128 1.4.3, disabled translation update for pak128 for testing
* Wed Apr 02 2008 - msrex@suse.de
- added new cursor symbols
* Sat Dec 29 2007 - msrex@suse.de
- added symbol.TramStop.pak
* Sat Dec 22 2007 - msrex@suse.de
- update to 0.99.17 - waste-addon re-added for pak64
* Tue Dec 11 2007 - msrex@suse.de
- update to 0.99.16 - new patch stuff
* Fri Nov 16 2007 - msrex@suse.de
- update to 0.99.15 - new structure
* Fri Nov 16 2007 - msrex@suse.de
- BuildRequires
* Tue Jul 31 2007 - msrex@suse.de
- update to 0.99.14
* Wed Jul 04 2007 - msrex@suse.de
- update to 0.99.13, update for pak64-waste, added new fonts for pak128
* Fri Jun 15 2007 - msrex@suse.de
- added endofchoose signals
* Mon Jun 11 2007 - msrex@suse.de
- update to 0.99.12, remove new city conf, add new crossings for pak128
* Sat May 5 2007 - msrex@suse.de
- update to 0.99.11
* Tue May 1 2007 - msrex@suse.de
- new cityrules, fix patch for simuconf.tab pak128
* Tue Apr 17 2007 - msrex@suse.de
- update to 99.10, added food chain for pak64, changed simuconf.tab for pak128
* Tue Mar 27 2007 - msrex@suse.de
- update to 99.09.3, added waste chain for pak64
* Tue Mar 13 2007 - msrex@suse.de
- update to 99.09.2, enabled language files again
* Tue Mar 06 2007 - msrex@suse.de
- New simubase128, new simutrans, new pak64, disabled language files
* Tue Feb 13 2007 - msrex@suse.de
- New simubase128, clean up, changed simuconf.tab
* Tue Feb 06 2007 - msrex@suse.de
- Initial package - combination of simutrans64+128 with new texts