lincity-ng/lincity-ng.spec

71 lines
2.1 KiB
RPMSpec

Name: lincity-ng
Version: 2.0
Release: 3mamba
Summary: A City Simulation Game
Group: Graphical Desktop/Applications/Games
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://lincity-ng.berlios.de
Source: http://download.berlios.de/lincity-ng/lincity-ng-%{version}.tar.bz2
License: GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libSDL-devel
BuildRequires: libSDL_gfx-devel
BuildRequires: libSDL_image-devel
BuildRequires: libSDL_mixer-devel
BuildRequires: libSDL_ttf-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
#libphysfs.so.1: library not reported by ldconfig
## AUTOBUILDREQ-END
BuildRequires: libphysfs-devel
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.
%prep
%setup -q
%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/*
%doc COPYING README TODO
%changelog
* 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