File simutrans-pak128-OLD099.spec of Package simutrans-pak128-OLD099

Name:           simutrans-pak128-OLD099
Version:        0.1
BuildRequires:  zip unzip simutrans099
Release:        1
License:        Other
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Autoreqprov:    on
Requires:       simutrans099
Source0:        simubase128-1-4-2.tar.bz2
Source1:        128-neededpaks.zip
Source2:        128-buildings.zip
Source3:        128-industries.zip
Source4:        language_pack-pak128.zip
Source5:        128-newroadsigns.zip
Source6:        128-stations.zip
Source7:        128-uk-paks.zip
Source8:        128-vehicles.zip
Source9:        128-ways.zip
Source10:       futurepak0-4-1.zip
Source11:       newbetastuff.zip
Source12:       menuconf.tab
Source13:       speedbonus.tab
Patch0:         patch-simuconf128.tab
Group:          Amusements/Games/Strategy/Other
URL:            http://simutrans.com/
Summary:        Economic simulation

%description
This addon contains the OLD collection of pak128 created by Markus Rex.
It is loosely base around a 2007-version of pak128 plus lots of extra addons.

%prep
tar xfvji %{S:0} simutrans099/pak128/
cd simutrans099
unzip -o %{S:4} -d pak128/text
%patch0 -p 1
cd pak128
unzip -o %{S:1}
unzip -o %{S:2}
unzip -o %{S:3}
unzip -o %{S:5}
unzip -o %{S:6}
unzip -o %{S:7}
unzip -o %{S:8}
unzip -o %{S:9}
unzip -o %{S:10}
unzip -o %{S:11}
cp %{S:12} config/
cp %{S:13} config/
cd ..
mv pak128 pak128-OLD
chmod -R g-w *

%build

%install
mkdir -p $RPM_BUILD_ROOT%{_prefix}/share/games/
cp -a * $RPM_BUILD_ROOT%{_prefix}/share/games/
mkdir -p $RPM_BUILD_ROOT%{_prefix}/games/
cd $RPM_BUILD_ROOT%{_prefix}/games/
ln -sf simutrans099 simutrans099128-OLD

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_prefix}/share/games/simutrans099/
%{_prefix}/games/

%changelog -n simutrans-pak128-OLD099
* Fri Oct 31 2008 - msrex@suse.de
- fix dependency and renames
* Wed Jun 25 2008 - msrex@suse.de
- added new stuff for beta
* Thu Apr 10 2008 - msrex@suse.de
- new symbols added, reorg of zip files
* Sun Dec 30 2007 - msrex@suse.de
- added tramstop-symbol
* Tue Dec 18 2007 - msrex@suse.de
- added symlinks
* Tue Dec 11 2007 - msrex@suse.de
- updates languages
* Fri Nov 16 2007 - msrex@suse.de
- added all other old stuff
* Fri Nov 16 2007 - msrex@suse.de
- first version
openSUSE Build Service is sponsored by