83 lines
2.4 KiB
RPMSpec
83 lines
2.4 KiB
RPMSpec
Name: lincity-ng
|
|
Version: 2.9.0
|
|
Release: 1mamba
|
|
Summary: A City Simulation Game
|
|
Group: Graphical Desktop/Applications/Games
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
URL: https://github.com/lincity-ng/lincity-ng
|
|
Source: https://github.com/lincity-ng/lincity-ng/archive/refs/tags/lincity-ng-%{version}.tar.gz
|
|
License: GPL
|
|
## AUTOBUILDREQ-BEGIN
|
|
BuildRequires: glibc-devel
|
|
BuildRequires: libSDL2-devel
|
|
BuildRequires: libgcc
|
|
BuildRequires: libglvnd-devel
|
|
BuildRequires: libphysfs-devel
|
|
BuildRequires: libsdl2_gfx-devel
|
|
BuildRequires: libsdl2_image-devel
|
|
BuildRequires: libsdl2_mixer-devel
|
|
BuildRequires: libsdl2_ttf-devel
|
|
BuildRequires: libstdc++6-devel
|
|
BuildRequires: libxml2-devel
|
|
BuildRequires: libz-devel
|
|
## AUTOBUILDREQ-END
|
|
BuildRequires: ftjam
|
|
|
|
%description
|
|
LinCity-NG is a City Simulation Game. It is a polished and improved version of the classic LinCity game. Within the scope of the GoTM project at happypenguin we have created a new iso-3D graphics engine, with a completely redone and modern GUI.
|
|
|
|
%debug_package
|
|
|
|
%prep
|
|
%setup -q -n %{name}-%{name}-%{version}
|
|
# Fixes jam install
|
|
touch CREDITS
|
|
./autogen.sh
|
|
|
|
%build
|
|
%configure
|
|
jam
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
jam install DESTDIR=%{buildroot}
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%{_bindir}/lincity-ng
|
|
%{_datadir}/applications/lincity-ng.desktop
|
|
%{_datadir}/pixmaps/lincity-ng.png
|
|
%dir %{_datadir}/lincity-ng
|
|
%{_datadir}/lincity-ng/*
|
|
%dir %{_docdir}/lincity-ng-%{version}
|
|
%{_docdir}/lincity-ng-%{version}/*
|
|
%doc COPYING
|
|
#README TODO
|
|
|
|
%changelog
|
|
* Sat Feb 24 2024 Automatic Build System <autodist@openmamba.org> 2.9.0-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Fri Dec 31 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-4mamba
|
|
- rebuilt with libSDL_gfx 2.0.26
|
|
|
|
* Mon Jul 15 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-3mamba
|
|
- rebuilt with libSDL_gfx 2.0.24
|
|
|
|
* Fri Dec 16 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-2mamba
|
|
- rebuilt with libSDL_gfx-2.0.23
|
|
|
|
* Sat Jan 31 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0-1mamba
|
|
- automatic update by autodist
|
|
|
|
* Mon Jul 14 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-2mamba
|
|
- rebuild against new libSDL_gfx
|
|
|
|
* Thu Dec 06 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.1.2-1mamba
|
|
- package created by autospec
|