A new user interface for you!

File freeciv.spec of Package freeciv-2.3.1

# spec file for package freeciv (Version 2.3.1)
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/

# norootforbuild

Name:           freeciv
Requires:	zlib imlib2 gtk2
BuildRequires:  audiofile-devel gtk2-devel readline-devel update-desktop-files
BuildRequires:  imlib2-devel
BuildRequires:  gcc-c++ python-devel
BuildRequires:  SDL_mixer-devel
BuildRequires:  glibc-devel
BuildRequires:  libbz2-devel
BuildRequires:  zlib-devel
BuildRequires:  automake libtool
Url:            http://www.freeciv.org
License:        GPL-2.0+
Group:          Amusements/Games/Strategy/Turn Based
AutoReqProv:    on
Summary:        Free Civilization Clone
Version:        2.3.1
Release:        1
Source0:        %{name}-%{version}.tar.bz2
Patch1:		freeciv-no-nb.diff

BuildRoot:      %{_tmppath}/%{name}-%{version}-build

A clone of the well known game Civilization by Microprose.

Every player is the leader of an imaginary nation. The aim of the game
can be to create a prospering civilization with commerce and knowledge
exchange or (more often) the extinction of all other civilizations.

To start a new game, first start the server 'freeciv-server,' then
start the client 'freeciv-gtk2'. Have fun!

    Allan Ove Kjeldbjerg <allan@daimi.aau.dk>
    Claus Leth Gregersen <leth@daimi.aau.dk>
    Peter Joachim Unold  <pjunold@daimi.aau.dk>

%setup -q -n %{name}-%{version}

echo "X-SuSE-translate=false" >> bootstrap/freeciv-server.desktop.in

CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" ./autogen.sh \
  --prefix=/usr \
  --libdir=%{_libdir} \
  --datadir=/usr/share \
  --datarootdir=/usr/share \
  --localedir=/usr/share/locale \
  --enable-client=gtk2 \
  --with-readline \

# icons
%suse_update_desktop_file -i %name Game StrategyGame
# make rpmlint happy
find doc -name "Makefile*" | xargs rm -f
find doc -name "*.orig" | xargs rm -f
%find_lang %name

%files -f %name.lang