You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OpenTTD-patches/os/suse/openttd.spec

48 lines
11 KiB
Plaintext

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

#
# spec file for package openttd (trunk)
#
# Copyright (c) 2007 The OpenTTD team.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself
#
Name: openttd
Version: svn
Release: head
Group: Amusements/Games/Other
Source: openttd-svn-head.tar.gz
License: GPL
URL: http://www.openttd.org
Packager: Celestar <celestar@openttd.org>
Summary: OpenTTD is an Open Source close of Chris Sawyer's Transport Tycoon Deluxe
Requires: SDL zlib libpng freetype2 fontconfig
BuildRequires: gcc SDL-devel zlib-devel libpng-devel freetype2-devel fontconfig-devel
%Description
OpenTTD is a clone of the Microprose game "Transport Tycoon Deluxe", a popular game originally written by Chris Sawyer. It attempts to mimic the original game as closely as possible while extending it with new features.
OpenTTD is licensed under the GNU General Public License version 2.0. For more information, see the file 'COPYING' included with every release and source download of the game.
%define _datadir /usr/share/games/%name
%prep
%setup
%build
./configure --prefix-dir=/usr --binary-dir=bin --enable-install
make
%install
make install
%clean
rm -Rf "%BuildRoot";
%files
%defattr(644, root, games, 755)
%attr(755, root, games ) %_bindir/%name
%dir %_datadir/lang
%dir %_datadir/data
%dir %_datadir/gm