update to 3.0.1 [release 3.0.1-1mamba;Sat May 07 2022]

This commit is contained in:
Silvan Calarco 2024-01-05 22:32:49 +01:00
parent e65f1f78dd
commit 7f305ba4b6

View File

@ -1,5 +1,5 @@
Name: freeciv
Version: 2.6.6
Version: 3.0.1
Release: 1mamba
Summary: Freeciv is a Free and Open Source empire-building strategy game
Group: Graphical Desktop/Applications/Games
@ -7,7 +7,7 @@ Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://freeciv.fandom.com/wiki/Main_Page
Source: http://downloads.sourceforge.net/sourceforge/freeciv/freeciv-%{version}.tar.bz2
Source: http://downloads.sourceforge.net/sourceforge/freeciv/freeciv-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -17,11 +17,8 @@ BuildRequires: libSDL2-devel
BuildRequires: libSM-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libXaw-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXmu-devel
BuildRequires: libXpm-devel
BuildRequires: libXt-devel
BuildRequires: libatk-devel
BuildRequires: libbrotli-devel
@ -30,7 +27,6 @@ BuildRequires: libbzip2-devel
BuildRequires: libcairo-devel
BuildRequires: libcares-devel
BuildRequires: libcurl-devel
BuildRequires: libe2fs-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
@ -44,12 +40,13 @@ BuildRequires: libgsasl-devel
BuildRequires: libgss-devel
BuildRequires: libgtk3-devel
BuildRequires: libharfbuzz-devel
BuildRequires: libicu-devel
BuildRequires: libidn-devel
BuildRequires: libidn2-devel
BuildRequires: libkrb5-devel
BuildRequires: liblcms2-devel
BuildRequires: liblqr-devel
BuildRequires: libltdl-devel
BuildRequires: liblua-devel
BuildRequires: liblzma-devel
BuildRequires: libnghttp2-devel
BuildRequires: libntlm-devel
@ -85,44 +82,33 @@ Freeciv is a Free and Open Source empire-building strategy game inspired by the
%setup -q
%build
%configure --enable-client=xaw
%configure --enable-client=qt
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%find_lang freeciv-nations
%find_lang freeciv-ruledit
cat freeciv-{nations,ruledit}.lang >> %{name}.lang
%find_lang %{name} --all-name
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
#%{_sysconfdir}/ggz.modules
%dir %{_sysconfdir}/freeciv
%{_sysconfdir}/freeciv/database.lua
%{_bindir}/freeciv-ruledit
%{_bindir}/freeciv-server
%{_bindir}/freeciv-xaw
%{_bindir}/freeciv-manual
%{_bindir}/freeciv-mp-gtk3
%{_bindir}/freeciv-*
%{_libdir}/libfreeciv-srv.a
%{_libdir}/libfreeciv-srv.la
%{_libdir}/libfreeciv.a
%{_libdir}/libfreeciv.la
%{_datadir}/appdata/freeciv-*.xml
%{_datadir}/applications/org.freeciv.mp.gtk3.desktop
%{_datadir}/applications/org.freeciv.ruledit.desktop
%{_datadir}/applications/org.freeciv.server.desktop
%{_datadir}/metainfo/freeciv-*.xml
%{_datadir}/applications/org.freeciv.*.desktop
%dir %{_datadir}/freeciv
%{_datadir}/freeciv/*
%{_datadir}/icons/hicolor/*/apps/freeciv-*.png
%{_datadir}/pixmaps/freeciv-client.png
%{_datadir}/pixmaps/freeciv-*.png
%dir %{_docdir}/freeciv
%{_docdir}/freeciv/*
%{_mandir}/man6/freeciv*.6*
@ -130,6 +116,9 @@ cat freeciv-{nations,ruledit}.lang >> %{name}.lang
#ChangeLog NEWS README
%changelog
* Sat May 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.1-1mamba
- update to 3.0.1
* Sat Dec 11 2021 Automatic Build System <autodist@mambasoft.it> 2.6.6-1mamba
- automatic version update by autodist