File openttd-opensfx.spec of Package openttd-opensfx

# spec file for package openttd-opensfx
# Copyright (c) 2012 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

Name:           openttd-opensfx
Version:        0.2.3
Release:        0
%define srcver  %{version}
Summary:        OpenSFX replacement sounds for OpenTTD
License:        SUSE-CC-Sampling-Plus-1.0
Group:          Amusements/Games/Strategy/Other

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

BuildRequires:  catcodec
Requires:       openttd-data

Provides:       opensfx

OpenSFX replacement sounds for OpenTTD. The last required step
to make OpenTTD independent.. 

%setup -qn opensfx-%{srcver}-source

make %{?_smp_mflags}

make install INSTALLDIR=%{buildroot}%{_datadir}/openttd/data

%doc docs/*.txt
%dir %{_datadir}/openttd
%dir %{_datadir}/openttd/data

openSUSE Build Service is sponsored by