mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-11 13:10:45 +00:00
48 lines
11 KiB
RPMSpec
48 lines
11 KiB
RPMSpec
|
#
|
|||
|
# 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
|
|||
|
|
|||
|
|