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

#
# spec file for package simutrans pak128 britain
#
# Copyright (c) 2012-2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#


Name:           simutrans-pak128-britain
Version:        1.17
Release:        0
Summary:        Transport and Economic Simulation Game Assets
License:        Artistic-2.0
Group:          Amusements/Games/Strategy/Real Time
Url:            http://forum.simutrans.com/index.php?board=51.0
Source0:        pak128.Britain.1.17-120-1.zip
BuildRequires:  unzip
Requires:       simutrans >= 120.1
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Developed to give a British theme to Simutrans, this pakset
features a wide range of vehicles with emphasis on rail vehicles,
highly detailed stations, more accurate looking track for junctions,
and a more subdued graphical appearance than the brightly coloured
Pak128 from which it was originally derived.

%prep
%setup -c -n pak128.Britain.116
# delete all these unwanted ".svn" folders (see http://stackoverflow.com/questions/1294590/how-to-remove-all-svn-directories-from-my-application-directories):
find . -name .svn | xargs rm -fr

%build

%install
mkdir -p %{buildroot}%{_datadir}/simutrans
cp -a * %{buildroot}%{_datadir}/simutrans

%files
%defattr(-, root, root)
%{_datadir}/simutrans

%changelog