automatic version update by autodist [release 1.11.1-1mamba;Sat Apr 24 2021]
This commit is contained in:
parent
dd58593c4f
commit
78f5ebb547
24
openttd.spec
24
openttd.spec
@ -1,23 +1,28 @@
|
||||
Name: openttd
|
||||
Version: 1.10.3
|
||||
Version: 1.11.1
|
||||
Release: 1mamba
|
||||
Summary: An Open Source clone of Transport Tycoon Deluxe
|
||||
Group: Graphical Desktop/Applications/Games
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: http://www.openttd.org
|
||||
URL: https://www.openttd.org
|
||||
#Source: http://ftp.snt.utwente.nl/pub/games/openttd/binaries/releases/%{version}/openttd-%{version}-source.tar.xz
|
||||
Source: https://cdn.openttd.org/openttd-releases/%{version}/openttd-%{version}-source.tar.xz
|
||||
#Source: http://binahttps://cdn.openttd.org/openttd-releases/1.9.3/openttd-1.9.3-source.tar.xzries.openttd.org/releases/0.7.3/openttd-%{version}-source.tar.bz2
|
||||
License: GPL
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
BuildRequires: libSDL2-devel
|
||||
BuildRequires: liballegro4-devel
|
||||
BuildRequires: libfluidsynth-devel
|
||||
BuildRequires: libfontconfig-devel
|
||||
BuildRequires: libfreetype-devel
|
||||
BuildRequires: libgcc
|
||||
BuildRequires: libicu-devel
|
||||
BuildRequires: liblzma-devel
|
||||
BuildRequires: liblzo-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: libSDL-devel
|
||||
BuildRequires: libstdc++6-devel
|
||||
BuildRequires: libz-devel
|
||||
## AUTOBUILDREQ-END
|
||||
@ -26,7 +31,6 @@ BuildRequires: liblzma-devel
|
||||
Requires: opengfx
|
||||
Requires: opensfx
|
||||
Requires: openttd-openmsx
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
OpenTTD is an open source 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.
|
||||
@ -37,12 +41,15 @@ OpenTTD is an open source clone of the Microprose game "Transport Tycoon Deluxe"
|
||||
%setup -q
|
||||
|
||||
%build
|
||||
./configure --prefix-dir=%{_prefix} --install-dir=%{buildroot} --binary-dir=/bin
|
||||
%cmake -d build \
|
||||
-DCMAKE_INSTALL_BINDIR=%{_bindir}
|
||||
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
%makeinstall -C build
|
||||
|
||||
# create dummy sample.cat (see http://wiki.openttd.org/OpenGFX_Readme#Sample.cat_error)
|
||||
mkdir %{buildroot}%{_datadir}/games/openttd/data
|
||||
touch %{buildroot}%{_datadir}/games/openttd/data/sample.cat
|
||||
@ -58,11 +65,14 @@ touch %{buildroot}%{_datadir}/games/openttd/data/sample.cat
|
||||
%dir %{_datadir}/games/openttd
|
||||
%{_datadir}/games/openttd/*
|
||||
%{_datadir}/icons/hicolor/*/apps/openttd.png
|
||||
%{_datadir}/pixmaps/openttd.32.xpm
|
||||
%{_datadir}/pixmaps/openttd.*.xpm
|
||||
%{_mandir}/man6/openttd.6*
|
||||
%doc COPYING.md
|
||||
|
||||
%changelog
|
||||
* Sat Apr 24 2021 Automatic Build System <autodist@mambasoft.it> 1.11.1-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
* Tue Aug 11 2020 Automatic Build System <autodist@mambasoft.it> 1.10.3-1mamba
|
||||
- automatic version update by autodist
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user