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
|
Name: openttd
|
||||||
Version: 1.10.3
|
Version: 1.11.1
|
||||||
Release: 1mamba
|
Release: 1mamba
|
||||||
Summary: An Open Source clone of Transport Tycoon Deluxe
|
Summary: An Open Source clone of Transport Tycoon Deluxe
|
||||||
Group: Graphical Desktop/Applications/Games
|
Group: Graphical Desktop/Applications/Games
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
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: 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: 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
|
#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
|
License: GPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libSDL2-devel
|
||||||
|
BuildRequires: liballegro4-devel
|
||||||
|
BuildRequires: libfluidsynth-devel
|
||||||
BuildRequires: libfontconfig-devel
|
BuildRequires: libfontconfig-devel
|
||||||
BuildRequires: libfreetype-devel
|
BuildRequires: libfreetype-devel
|
||||||
BuildRequires: libgcc
|
BuildRequires: libgcc
|
||||||
|
BuildRequires: libicu-devel
|
||||||
|
BuildRequires: liblzma-devel
|
||||||
|
BuildRequires: liblzo-devel
|
||||||
BuildRequires: libpng-devel
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libSDL-devel
|
|
||||||
BuildRequires: libstdc++6-devel
|
BuildRequires: libstdc++6-devel
|
||||||
BuildRequires: libz-devel
|
BuildRequires: libz-devel
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
@ -26,7 +31,6 @@ BuildRequires: liblzma-devel
|
|||||||
Requires: opengfx
|
Requires: opengfx
|
||||||
Requires: opensfx
|
Requires: opensfx
|
||||||
Requires: openttd-openmsx
|
Requires: openttd-openmsx
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
|
|
||||||
%description
|
%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.
|
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
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./configure --prefix-dir=%{_prefix} --install-dir=%{buildroot} --binary-dir=/bin
|
%cmake -d build \
|
||||||
|
-DCMAKE_INSTALL_BINDIR=%{_bindir}
|
||||||
|
|
||||||
%make
|
%make
|
||||||
|
|
||||||
%install
|
%install
|
||||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
%makeinstall
|
%makeinstall -C build
|
||||||
|
|
||||||
# create dummy sample.cat (see http://wiki.openttd.org/OpenGFX_Readme#Sample.cat_error)
|
# create dummy sample.cat (see http://wiki.openttd.org/OpenGFX_Readme#Sample.cat_error)
|
||||||
mkdir %{buildroot}%{_datadir}/games/openttd/data
|
mkdir %{buildroot}%{_datadir}/games/openttd/data
|
||||||
touch %{buildroot}%{_datadir}/games/openttd/data/sample.cat
|
touch %{buildroot}%{_datadir}/games/openttd/data/sample.cat
|
||||||
@ -58,11 +65,14 @@ touch %{buildroot}%{_datadir}/games/openttd/data/sample.cat
|
|||||||
%dir %{_datadir}/games/openttd
|
%dir %{_datadir}/games/openttd
|
||||||
%{_datadir}/games/openttd/*
|
%{_datadir}/games/openttd/*
|
||||||
%{_datadir}/icons/hicolor/*/apps/openttd.png
|
%{_datadir}/icons/hicolor/*/apps/openttd.png
|
||||||
%{_datadir}/pixmaps/openttd.32.xpm
|
%{_datadir}/pixmaps/openttd.*.xpm
|
||||||
%{_mandir}/man6/openttd.6*
|
%{_mandir}/man6/openttd.6*
|
||||||
%doc COPYING.md
|
%doc COPYING.md
|
||||||
|
|
||||||
%changelog
|
%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
|
* Tue Aug 11 2020 Automatic Build System <autodist@mambasoft.it> 1.10.3-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user