2008-04-30 12:30:56 +00:00
|
|
|
#
|
2011-11-22 10:25:29 +00:00
|
|
|
# spec file for package freeciv
|
2008-04-30 12:30:56 +00:00
|
|
|
#
|
2023-02-06 08:19:25 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2008-04-30 12:30:56 +00:00
|
|
|
#
|
2008-09-11 14:06:12 +00:00
|
|
|
# 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.
|
|
|
|
|
2019-07-10 17:52:21 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2008-04-30 12:30:56 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: freeciv
|
2023-11-22 10:37:14 +00:00
|
|
|
Version: 3.0.9
|
2015-01-05 14:29:41 +00:00
|
|
|
Release: 0
|
|
|
|
Summary: Free Civilization Clone
|
2018-06-15 20:12:56 +00:00
|
|
|
License: GPL-2.0-or-later
|
2015-01-05 14:29:41 +00:00
|
|
|
Group: Amusements/Games/Strategy/Turn Based
|
2022-07-24 10:50:35 +00:00
|
|
|
URL: https://www.freeciv.org
|
|
|
|
Source0: https://files.freeciv.org/stable/%{name}-%{version}.tar.xz
|
2015-03-16 16:18:52 +00:00
|
|
|
Source1: freeciv-gtk3.desktop
|
2019-07-10 17:52:21 +00:00
|
|
|
Source2: freeciv-qt.desktop
|
2015-03-16 16:18:52 +00:00
|
|
|
Source3: freeciv.png
|
|
|
|
Source4: freeciv-manual
|
|
|
|
Source5: freeciv-manual.desktop
|
|
|
|
Source6: freeciv-manual.png
|
2012-04-02 06:08:30 +00:00
|
|
|
BuildRequires: audiofile-devel
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: automake
|
2014-08-13 06:43:16 +00:00
|
|
|
BuildRequires: curl-devel >= 7.9.7
|
2012-04-02 06:08:30 +00:00
|
|
|
BuildRequires: fdupes
|
|
|
|
BuildRequires: gcc-c++
|
2015-03-16 16:18:52 +00:00
|
|
|
BuildRequires: gtk3-devel
|
2013-12-20 19:33:45 +00:00
|
|
|
BuildRequires: libbz2-devel
|
2019-07-10 17:52:21 +00:00
|
|
|
BuildRequires: libqt5-qtbase-common-devel
|
|
|
|
BuildRequires: libqt5-qtbase-devel
|
2012-04-02 06:08:30 +00:00
|
|
|
BuildRequires: libtool
|
2020-03-28 12:11:08 +00:00
|
|
|
BuildRequires: pkgconfig
|
2012-04-02 06:08:30 +00:00
|
|
|
BuildRequires: readline-devel
|
|
|
|
BuildRequires: update-desktop-files
|
2013-12-20 19:33:45 +00:00
|
|
|
BuildRequires: xz-devel
|
2020-12-22 10:41:13 +00:00
|
|
|
BuildRequires: zlib-devel
|
2020-03-28 12:11:08 +00:00
|
|
|
BuildRequires: pkgconfig(SDL2_mixer)
|
|
|
|
BuildRequires: pkgconfig(sdl2)
|
2018-06-15 20:12:56 +00:00
|
|
|
Requires: freeciv_client-%{version}
|
2019-07-10 17:52:21 +00:00
|
|
|
Recommends: freeciv-lang
|
2008-04-30 12:30:56 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
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 'civserver,' then start the
|
|
|
|
client 'civclient'. Have fun!
|
|
|
|
|
2015-03-16 16:18:52 +00:00
|
|
|
%package qt
|
|
|
|
Summary: Qt client for freeciv
|
|
|
|
Group: Amusements/Games/Strategy/Turn Based
|
2018-06-15 20:12:56 +00:00
|
|
|
Requires: freeciv = %{version}
|
|
|
|
Provides: freeciv_client-%{version}
|
2015-03-16 16:18:52 +00:00
|
|
|
|
|
|
|
%description qt
|
|
|
|
Freeciv executable using Qt library
|
2019-07-10 17:52:21 +00:00
|
|
|
|
|
|
|
%package lang
|
|
|
|
Summary: Translation files for freeciv
|
|
|
|
Group: Amusements/Games/Strategy/Turn Based
|
|
|
|
Requires: freeciv = %{version}
|
2023-04-12 10:56:12 +00:00
|
|
|
BuildArch: noarch
|
2019-07-10 17:52:21 +00:00
|
|
|
|
|
|
|
%description lang
|
|
|
|
Translation files for freeciv main package and clients.
|
2015-03-16 16:18:52 +00:00
|
|
|
|
|
|
|
%package gtk3
|
|
|
|
Summary: Gtk3 client for freeciv
|
|
|
|
Group: Amusements/Games/Strategy/Turn Based
|
2018-06-15 20:12:56 +00:00
|
|
|
Requires: freeciv = %{version}
|
|
|
|
Provides: freeciv_client-%{version}
|
2015-03-16 16:18:52 +00:00
|
|
|
|
|
|
|
%description gtk3
|
|
|
|
Freeciv executable using Gtk3 library
|
|
|
|
|
2008-04-30 12:30:56 +00:00
|
|
|
%prep
|
2011-11-22 15:40:45 +00:00
|
|
|
%setup -q
|
2008-04-30 12:30:56 +00:00
|
|
|
|
|
|
|
%build
|
2015-03-16 16:18:52 +00:00
|
|
|
export MOCCMD="moc-qt5"
|
2008-04-30 12:30:56 +00:00
|
|
|
autoreconf -fi
|
2009-04-14 08:35:01 +00:00
|
|
|
%configure \
|
2015-03-16 16:18:52 +00:00
|
|
|
--enable-client=gtk3,qt \
|
2010-07-15 12:42:13 +00:00
|
|
|
--with-readline \
|
2013-12-20 19:33:45 +00:00
|
|
|
--disable-static \
|
|
|
|
--docdir=%{_docdir}/freeciv
|
2020-12-22 10:41:13 +00:00
|
|
|
%make_build
|
2008-04-30 12:30:56 +00:00
|
|
|
|
|
|
|
%install
|
2018-06-15 20:12:56 +00:00
|
|
|
%make_install
|
|
|
|
install -m 755 $RPM_SOURCE_DIR/freeciv-manual %{buildroot}%{_bindir}
|
2015-01-05 14:29:41 +00:00
|
|
|
mkdir -p %{buildroot}%{_datadir}/pixmaps/
|
|
|
|
install -m 644 $RPM_SOURCE_DIR/*.png %{buildroot}%{_datadir}/pixmaps
|
Accepting request 870153 from home:dirkmueller:branches:games
- update to 2.6.3:
* see http://www.freeciv.org/wiki/NEWS-2.6.3
* Fixed trouble when a new city is founded to the ruins of a former city,
and that new city establish a trade route with a player who had seen
former city, and is unaware that it had been destroyed HRM#871606
* Fixed a case where shared vision did not completely update
recipient's map HRM#846106
* Fixed a bug where one could paradrop to peaceful nation's territory
after continuing game from an old savegame HRM#879084
* Fixed a bug causing game sometimes to tell wrong reason of why an
action failed HRM#879880
* Cease fire no longer runs out with an already dead player, making his
former allies to hate the alive party of the treaty HRM#879055
* Made server not to end in a infinite loop after loading savegame with
too high phase number. Such a savegame was reported to be created
after spaceship was launched but game was still continued HRM#815196
* Unified writing of the city name Washington-on-the-Brazos
between rulesets, so it doesn't appear multiple times in the same
game in a bit different form HRM#867817
* Stealth units are no longer erroneously hidden even from allies
HRM#764976
* Placing initial units is now done in shuffled player order HRM#850656
* Corrupt worker tasks are cleared. Those can originate, e.g.,
from buggy pre-2.6.2.1 Qt-client, and live in old savegames HRM#901938
* In a ruleset, such as civ2civ3, where caravans can help building wonder
in a foreign city, refresh city info of the city owner when one does
HRM#907977
* Display of success probabilities for diplomats was off when targeting
stack of units instead of individual unit HRM#859761
* Fixed pillaging of extras that are caused by something else than
OBS-URL: https://build.opensuse.org/request/show/870153
OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=61
2021-02-08 14:09:38 +00:00
|
|
|
%suse_update_desktop_file -i org.freeciv.gtk3 Game StrategyGame
|
|
|
|
%suse_update_desktop_file -i org.freeciv.qt Game StrategyGame
|
2008-04-30 12:30:56 +00:00
|
|
|
%suse_update_desktop_file -i freeciv-manual Game StrategyGame
|
2019-07-10 17:52:21 +00:00
|
|
|
rm %{buildroot}%{_docdir}/freeciv/COPYING
|
2014-02-09 20:40:52 +00:00
|
|
|
|
2022-03-25 10:03:57 +00:00
|
|
|
%find_lang %{name}-core
|
2015-03-16 16:18:52 +00:00
|
|
|
%find_lang %{name}-nations
|
2019-07-10 17:52:21 +00:00
|
|
|
%find_lang %{name}-ruledit
|
2015-01-05 14:29:41 +00:00
|
|
|
%fdupes %{buildroot}/%{_datadir}/
|
2008-04-30 12:30:56 +00:00
|
|
|
|
2019-07-10 17:52:21 +00:00
|
|
|
%files
|
2013-12-20 19:33:45 +00:00
|
|
|
%doc %{_docdir}/freeciv
|
2019-07-10 17:52:21 +00:00
|
|
|
%doc README
|
|
|
|
%license COPYING
|
2013-12-20 19:33:45 +00:00
|
|
|
%exclude %{_docdir}/freeciv/INSTALL*
|
|
|
|
%exclude %{_libdir}/*.a
|
|
|
|
%exclude %{_libdir}/*.la
|
2021-07-19 07:45:46 +00:00
|
|
|
%{_mandir}/man6/freeciv.6%{?ext_man}
|
2018-06-15 20:12:56 +00:00
|
|
|
%{_mandir}/man6/freeciv-*.6%{?ext_man}
|
2013-12-20 19:33:45 +00:00
|
|
|
%dir %{_sysconfdir}/%{name}
|
|
|
|
%config %{_sysconfdir}/%{name}/database.lua
|
2019-07-10 17:52:21 +00:00
|
|
|
%{_bindir}/freeciv-ruledit
|
2022-03-25 10:03:57 +00:00
|
|
|
%{_bindir}/freeciv-ruleup
|
2010-07-15 12:42:13 +00:00
|
|
|
%{_bindir}/freeciv-server
|
2010-02-20 22:11:36 +00:00
|
|
|
%{_bindir}/freeciv-manual
|
|
|
|
%{_datadir}/applications/freeciv-manual.desktop
|
Accepting request 870153 from home:dirkmueller:branches:games
- update to 2.6.3:
* see http://www.freeciv.org/wiki/NEWS-2.6.3
* Fixed trouble when a new city is founded to the ruins of a former city,
and that new city establish a trade route with a player who had seen
former city, and is unaware that it had been destroyed HRM#871606
* Fixed a case where shared vision did not completely update
recipient's map HRM#846106
* Fixed a bug where one could paradrop to peaceful nation's territory
after continuing game from an old savegame HRM#879084
* Fixed a bug causing game sometimes to tell wrong reason of why an
action failed HRM#879880
* Cease fire no longer runs out with an already dead player, making his
former allies to hate the alive party of the treaty HRM#879055
* Made server not to end in a infinite loop after loading savegame with
too high phase number. Such a savegame was reported to be created
after spaceship was launched but game was still continued HRM#815196
* Unified writing of the city name Washington-on-the-Brazos
between rulesets, so it doesn't appear multiple times in the same
game in a bit different form HRM#867817
* Stealth units are no longer erroneously hidden even from allies
HRM#764976
* Placing initial units is now done in shuffled player order HRM#850656
* Corrupt worker tasks are cleared. Those can originate, e.g.,
from buggy pre-2.6.2.1 Qt-client, and live in old savegames HRM#901938
* In a ruleset, such as civ2civ3, where caravans can help building wonder
in a foreign city, refresh city info of the city owner when one does
HRM#907977
* Display of success probabilities for diplomats was off when targeting
stack of units instead of individual unit HRM#859761
* Fixed pillaging of extras that are caused by something else than
OBS-URL: https://build.opensuse.org/request/show/870153
OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=61
2021-02-08 14:09:38 +00:00
|
|
|
%{_datadir}/applications/org.freeciv.server.desktop
|
|
|
|
%{_datadir}/applications/org.freeciv.ruledit.desktop
|
2010-02-20 22:11:36 +00:00
|
|
|
%{_datadir}/freeciv/
|
2022-03-25 10:03:57 +00:00
|
|
|
%{_datadir}/icons/hicolor/*x*/apps/freeciv-client.png
|
|
|
|
%{_datadir}/icons/hicolor/*x*/apps/freeciv-server.png
|
|
|
|
%{_datadir}/icons/hicolor/*x*/apps/freeciv-modpack.png
|
|
|
|
%{_datadir}/icons/hicolor/*x*/apps/freeciv-ruledit.png
|
2010-02-20 22:11:36 +00:00
|
|
|
%{_datadir}/pixmaps/freeciv-client.png
|
|
|
|
%{_datadir}/pixmaps/freeciv-manual.png
|
2022-05-03 07:05:13 +00:00
|
|
|
%{_datadir}/pixmaps/freeciv-modpack.png
|
|
|
|
%{_datadir}/pixmaps/freeciv-ruledit.png
|
2015-01-05 14:29:41 +00:00
|
|
|
%{_datadir}/pixmaps/%{name}.png
|
2022-07-24 10:50:35 +00:00
|
|
|
%{_datadir}/metainfo/org.freeciv.server.appdata.xml
|
|
|
|
%{_datadir}/metainfo/org.freeciv.ruledit.appdata.xml
|
2019-07-10 17:52:21 +00:00
|
|
|
|
2022-03-25 10:03:57 +00:00
|
|
|
%files lang -f %{name}-core.lang -f %{name}-nations.lang -f %{name}-ruledit.lang
|
2008-04-30 12:30:56 +00:00
|
|
|
|
2015-03-16 16:18:52 +00:00
|
|
|
%files gtk3
|
|
|
|
%{_bindir}/freeciv-gtk3
|
|
|
|
%{_bindir}/freeciv-mp-gtk3
|
Accepting request 870153 from home:dirkmueller:branches:games
- update to 2.6.3:
* see http://www.freeciv.org/wiki/NEWS-2.6.3
* Fixed trouble when a new city is founded to the ruins of a former city,
and that new city establish a trade route with a player who had seen
former city, and is unaware that it had been destroyed HRM#871606
* Fixed a case where shared vision did not completely update
recipient's map HRM#846106
* Fixed a bug where one could paradrop to peaceful nation's territory
after continuing game from an old savegame HRM#879084
* Fixed a bug causing game sometimes to tell wrong reason of why an
action failed HRM#879880
* Cease fire no longer runs out with an already dead player, making his
former allies to hate the alive party of the treaty HRM#879055
* Made server not to end in a infinite loop after loading savegame with
too high phase number. Such a savegame was reported to be created
after spaceship was launched but game was still continued HRM#815196
* Unified writing of the city name Washington-on-the-Brazos
between rulesets, so it doesn't appear multiple times in the same
game in a bit different form HRM#867817
* Stealth units are no longer erroneously hidden even from allies
HRM#764976
* Placing initial units is now done in shuffled player order HRM#850656
* Corrupt worker tasks are cleared. Those can originate, e.g.,
from buggy pre-2.6.2.1 Qt-client, and live in old savegames HRM#901938
* In a ruleset, such as civ2civ3, where caravans can help building wonder
in a foreign city, refresh city info of the city owner when one does
HRM#907977
* Display of success probabilities for diplomats was off when targeting
stack of units instead of individual unit HRM#859761
* Fixed pillaging of extras that are caused by something else than
OBS-URL: https://build.opensuse.org/request/show/870153
OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=61
2021-02-08 14:09:38 +00:00
|
|
|
%{_datadir}/applications/org.freeciv.gtk3.desktop
|
2022-07-24 10:50:35 +00:00
|
|
|
%{_datadir}/metainfo/org.freeciv.gtk3.appdata.xml
|
Accepting request 870153 from home:dirkmueller:branches:games
- update to 2.6.3:
* see http://www.freeciv.org/wiki/NEWS-2.6.3
* Fixed trouble when a new city is founded to the ruins of a former city,
and that new city establish a trade route with a player who had seen
former city, and is unaware that it had been destroyed HRM#871606
* Fixed a case where shared vision did not completely update
recipient's map HRM#846106
* Fixed a bug where one could paradrop to peaceful nation's territory
after continuing game from an old savegame HRM#879084
* Fixed a bug causing game sometimes to tell wrong reason of why an
action failed HRM#879880
* Cease fire no longer runs out with an already dead player, making his
former allies to hate the alive party of the treaty HRM#879055
* Made server not to end in a infinite loop after loading savegame with
too high phase number. Such a savegame was reported to be created
after spaceship was launched but game was still continued HRM#815196
* Unified writing of the city name Washington-on-the-Brazos
between rulesets, so it doesn't appear multiple times in the same
game in a bit different form HRM#867817
* Stealth units are no longer erroneously hidden even from allies
HRM#764976
* Placing initial units is now done in shuffled player order HRM#850656
* Corrupt worker tasks are cleared. Those can originate, e.g.,
from buggy pre-2.6.2.1 Qt-client, and live in old savegames HRM#901938
* In a ruleset, such as civ2civ3, where caravans can help building wonder
in a foreign city, refresh city info of the city owner when one does
HRM#907977
* Display of success probabilities for diplomats was off when targeting
stack of units instead of individual unit HRM#859761
* Fixed pillaging of extras that are caused by something else than
OBS-URL: https://build.opensuse.org/request/show/870153
OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=61
2021-02-08 14:09:38 +00:00
|
|
|
%{_datadir}/applications/org.freeciv.mp.gtk3.desktop
|
2022-07-24 10:50:35 +00:00
|
|
|
%{_datadir}/metainfo/org.freeciv.mp.gtk3.appdata.xml
|
2015-03-16 16:18:52 +00:00
|
|
|
|
|
|
|
%files qt
|
|
|
|
%{_bindir}/freeciv-qt
|
Accepting request 870153 from home:dirkmueller:branches:games
- update to 2.6.3:
* see http://www.freeciv.org/wiki/NEWS-2.6.3
* Fixed trouble when a new city is founded to the ruins of a former city,
and that new city establish a trade route with a player who had seen
former city, and is unaware that it had been destroyed HRM#871606
* Fixed a case where shared vision did not completely update
recipient's map HRM#846106
* Fixed a bug where one could paradrop to peaceful nation's territory
after continuing game from an old savegame HRM#879084
* Fixed a bug causing game sometimes to tell wrong reason of why an
action failed HRM#879880
* Cease fire no longer runs out with an already dead player, making his
former allies to hate the alive party of the treaty HRM#879055
* Made server not to end in a infinite loop after loading savegame with
too high phase number. Such a savegame was reported to be created
after spaceship was launched but game was still continued HRM#815196
* Unified writing of the city name Washington-on-the-Brazos
between rulesets, so it doesn't appear multiple times in the same
game in a bit different form HRM#867817
* Stealth units are no longer erroneously hidden even from allies
HRM#764976
* Placing initial units is now done in shuffled player order HRM#850656
* Corrupt worker tasks are cleared. Those can originate, e.g.,
from buggy pre-2.6.2.1 Qt-client, and live in old savegames HRM#901938
* In a ruleset, such as civ2civ3, where caravans can help building wonder
in a foreign city, refresh city info of the city owner when one does
HRM#907977
* Display of success probabilities for diplomats was off when targeting
stack of units instead of individual unit HRM#859761
* Fixed pillaging of extras that are caused by something else than
OBS-URL: https://build.opensuse.org/request/show/870153
OBS-URL: https://build.opensuse.org/package/show/games/freeciv?expand=0&rev=61
2021-02-08 14:09:38 +00:00
|
|
|
%{_datadir}/applications/org.freeciv.qt.desktop
|
2022-07-24 10:50:35 +00:00
|
|
|
%{_datadir}/metainfo/org.freeciv.qt.appdata.xml
|
2015-03-16 16:18:52 +00:00
|
|
|
|
2008-04-30 12:30:56 +00:00
|
|
|
%changelog
|