Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37700837
en ru br
ALT Linux repos
S:2.9-alt0.2
4.1: 1.0.3-alt1
4.0: 1.0.3-alt1

Group :: Games/Strategy
RPM: lincity-ng

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

%define _compress_method none

Name:         lincity-ng
Version:      1.0.3
Release:      alt1
Summary:      LinCity-NG is a City Simulation Game. It is a polished and improved version of the classic LinCity game.
License:      GPL
Group:        Games/Strategy
URL:          http://lincity-ng.berlios.de
Packager:     Eugene A. Suchov <cityhawk at altlinux.ru>
Source:       %{name}-%{version}.tar.bz2


# Automatically added by buildreq on Thu Dec 01 2005

BuildRequires: esound freetype2 gcc-c++ jam libSDL-devel libSDL_gfx-devel libSDL_image-devel libSDL_mixer-devel libSDL_ttf-devel libstdc++-devel libxml2-devel physfs-devel pkg-config xorg-x11-devel xsltproc zlib-devel menu-devel libXft-devel

%description
LinCity-NG is a City Simulation Game. It is a polished and improved version of the classic LinCity  game.

%package data
Summary:    Data files for %name
Group:      Games/Strategy

%description data
Data files for %name

%prep
%setup
%__subst "s/\.la\"/\.so\"/g" configure
%__subst "s/Simulation/StrategyGame/g" lincity-ng.desktop

%build
%configure  
jam

%install

%__mkdir -p %{buildroot}%_datadir
%__mkdir -p %{buildroot}%_bindir
%__mkdir -p %{buildroot}%_iconsdir
cp -r data %{buildroot}%_datadir/%{name}
rm %{buildroot}%_datadir/%{name}/lincity-ng.png
cp data/lincity-ng.png %{buildroot}%_iconsdir/lincity-ng.png
install -D -m755 lincity-ng %{buildroot}%_bindir/lincity-ng
%__mkdir -p %{buildroot}/%_menudir
%__mkdir -p %{buildroot}%_datadir/applnk/Applications
install -D -m644 %{name}.desktop %{buildroot}%_datadir/applications/lincity-ng.desktop

%post
%update_menus

%postun
%clean_menus

%files
%doc COPYING COPYING-data.txt COPYING-fonts.txt README RELNOTES TODO    
%_bindir/%{name}
%_iconsdir/%{name}.png
%_datadir/applications/*.desktop


%files data

%_datadir/%{name}

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin