Sophie

Sophie

distrib > Mageia > 5 > x86_64 > media > core-release-src > by-pkgid > c732106722672dbb049b907f1da4b81c > files > 3

lincity-ng-2.9-0.beta.4.mga5.src.rpm

%define	ver beta
%define rel 4

Summary:	Lincity - A City Simulation Game
Name:		lincity-ng
Version:	2.9
Release:	%mkrel -c %{ver} %{rel}
Source:		http://downloads.sourceforge.net/%{name}.berlios/%{name}-%{version}.%{ver}.tar.bz2
Patch0:		lincity-ng-2.0-mga-xsl.patch
License:	GPLv2+
URL:		http://lincity-ng.berlios.de/
Group:		Games/Strategy
BuildRequires:	imagemagick
BuildRequires:	jam
BuildRequires:	zlib-devel 
BuildRequires:	libxml2-devel
BuildRequires:	mesagl-devel
BuildRequires:	SDL-devel 
BuildRequires:	SDL_mixer-devel 
BuildRequires:	SDL_image-devel 
BuildRequires:	SDL_ttf-devel 
BuildRequires:	libSDL_gfx-devel 
BuildRequires:	libphysfs-devel 
BuildRequires:	desktop-file-utils
Obsoletes:	lincity
Provides:	lincity

%description
Lincity is a city simulation game. Build your city up from a primitive village
to an advanced civilization.  Build a sustainable economy, or build rockets to
escape from a pollution ridden and resource starved planet. 

LinCity-NG is a polished and improved version of the classic LinCity game with
a new iso-3D graphics engine, with a completely redone and modern GUI.

%prep
%setup -q -n %{name}-%{version}.%{ver}

%build
%configure2_5x	--bindir=%{_gamesbindir} \
		--datadir=%{_gamesdatadir} \
		--with-gzip \
		--with-svga \
		--with-x \
		--disable-rpath
jam %{_smp_mflags}

%install
DESTDIR=%{buildroot} jam install

%find_lang %{name}

mkdir -p %{buildroot}%{_iconsdir}/hicolor/128x128/apps/
install -Dm 0644 data/%{name}.png %{buildroot}%{_iconsdir}/hicolor/128x128/apps/

mkdir -p %{buildroot}%{_datadir}/applications
desktop-file-install --vendor="" --delete-original \
  --dir %{buildroot}%{_datadir}/applications %{buildroot}%{_gamesdatadir}/applications/*

mkdir -p %{buildroot}%{_datadir}/pixmaps
mv %{buildroot}%{_gamesdatadir}/pixmaps/* %{buildroot}%{_datadir}/pixmaps

rm -fr %{buildroot}%{_gamesdatadir}/doc

%files -f %{name}.lang
%doc COPYING* README RELNOTES TODO
%{_gamesbindir}/*
%{_datadir}/pixmaps/*
%{_iconsdir}/hicolor/*/apps/%{name}.png
%{_datadir}/applications/*
%{_gamesdatadir}/%{name}


%changelog
* Wed Oct 15 2014 umeabot <umeabot> 2.9-0.beta.4.mga5
+ Revision: 741018
- Second Mageia 5 Mass Rebuild

* Tue Sep 16 2014 umeabot <umeabot> 2.9-0.beta.3.mga5
+ Revision: 681942
- Mageia 5 Mass Rebuild

* Sat Feb 15 2014 luigiwalser <luigiwalser> 2.9-0.beta.2.mga5
+ Revision: 591733
- rebuild for SDL_gfx

* Tue Feb 11 2014 dams <dams> 2.9-0.beta.1.mga5
+ Revision: 589459
- new version 2.9beta

* Sat Oct 19 2013 umeabot <umeabot> 2.1-0.2.svn1712.mga4
+ Revision: 533634
- Mageia 4 Mass Rebuild

* Mon Sep 02 2013 joequant <joequant> 2.1-0.1.svn1712.mga4
+ Revision: 474236
- update xsl patch

* Sat Aug 31 2013 wally <wally> 2.0-9.svn1712.1.mga4
+ Revision: 473680
- fix release tag (add part we can bump)

* Sat Aug 31 2013 joequant <joequant> 2.0-9.svn1712.mga4
+ Revision: 473619
- update to latest

* Sat Jan 12 2013 umeabot <umeabot> 2.0-8.mga3
+ Revision: 358798
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Fri Jan 11 2013 fwang <fwang> 2.0-7.mga3
+ Revision: 345445
- rebuild for new SDL_gfx

  + malo <malo>
    - fix RPM group

* Thu Sep 29 2011 fwang <fwang> 2.0-6.mga3
+ Revision: 150170
- tighten br

* Sat Jul 09 2011 stormi <stormi> 2.0-5.mga2
+ Revision: 121424
- increase release so that it's higher to the one in mageia 1

* Tue Jan 11 2011 supp <supp> 2.0-4.mga2
+ Revision: 6434
- imported package lincity-ng


* Fri Dec 03 2010 Tomas Kindl <supp@mandriva.org> 2.0-4mdv2011.0
+ Revision: 606561
- rebuild

  + Thomas Backlund <tmb@mandriva.org>
    - fix missing space in Comment

* Sun Sep 27 2009 Funda Wang <fwang@mandriva.org> 2.0-3mdv2010.0
+ Revision: 449971
- rebuild for new SDL_gfx

* Wed May 13 2009 Samuel Verschelde <stormi@mandriva.org> 2.0-2mdv2010.0
+ Revision: 375063
- Change package group to Games/Other (fixes #49516)

* Tue Jan 27 2009 Funda Wang <fwang@mandriva.org> 2.0-1mdv2009.1
+ Revision: 334015
- fix str fmt
- New version 2.0

  + Oden Eriksson <oeriksson@mandriva.com>
    - lowercase ImageMagick

  + Pixel <pixel@mandriva.com>
    - rpm filetriggers deprecates update_menus/update_scrollkeeper/update_mime_database/update_icon_cache/update_desktop_database/post_install_gconf_schemas

  + Olivier Blin <oblin@mandriva.com>
    - restore BuildRoot

  + Thierry Vignaud <tv@mandriva.org>
    - kill re-definition of %%buildroot on Pixel's request
    - buildrequires X11-devel instead of XFree86-devel

* Tue Nov 06 2007 Funda Wang <fwang@mandriva.org> 1.1.2-1mdv2008.1
+ Revision: 106275
- fix desktop file
- New version 1.1.2

* Mon Aug 20 2007 Funda Wang <fwang@mandriva.org> 1.1.1-1mdv2008.0
+ Revision: 67195
- remove old doc files
- move common files into common dir rather games dir
- New version 1.1.1


* Thu Feb 22 2007 Tomasz Pawel Gajc <tpg@mandriva.org> 1.1.0-1mdv2007.0
+ Revision: 124728
- new version

* Wed Dec 20 2006 Götz Waschk <waschk@mandriva.org> 1.0.3-5mdv2007.1
+ Revision: 100703
- Import lincity-ng

* Wed Dec 20 2006 Götz Waschk <waschk@mandriva.org> 1.0.3-5
- Rebuild

* Wed Sep 13 2006 Emmanuel Andry <eandry@mandriva.org> 1.0.3-4mdv2007.0
- Game category repeated twice in desktop file (bug #25177)
- buildrequires desktop-file-utils

* Mon Aug 14 2006 Emmanuel Andry <eandry@mandriva.org> 1.0.3-3mdv2007.0
- rebuild

* Tue Aug 01 2006 Emmanuel Andry <eandry@mandriva.org> 1.0.3-2mdv2007.0
- xdg menu
- fix buildrequires

* Thu May 04 2006 Emmanuel Andry <eandry@free.fr> 1.0.3-1mdk
- New release 1.0.3

* Mon Jan 16 2006 Michael Scherer <misc@mandriva.org> 1.0.2-1mdk
- New release 1.0.2, thanks to Emmanuel Andry <eandry@free.fr> for testing
  and reporting

* Fri Aug 12 2005 Austin Acton <austin@mandriva.org> 1.0.1-1mdk
- move to lincity-ng, obsolete lincity
- source URL
- new URL
- convert icon on-the-fly

* Tue Aug 09 2005 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.12.1-2mdk
- fix %%{Summary} macro
- build with svga and gzip support
- %%mkrel
- convert icons to png
- move data to %%{_gamesdatadir}
- no .bz2 ending for man page
- clean out suckage!

* Fri Mar 11 2005 Austin Acton <austin@mandrake.org> 1.12.1-1mdk
- configure 2.5
- from Emmanuel Andry <eandry@free.fr> :
  - New release
  - Updated buildrequires
  - Updated menu
  - New source for icons (taken from 1.12-0.pre55)