Compare commits

..

2 commits

Author SHA1 Message Date
Kalev Lember
8f9ebef3bc Update to 1.14.11 2020-03-12 08:50:43 +01:00
Kalev Lember
392ab3c991 Update to 1.14.9 2019-11-10 17:17:51 +01:00
5 changed files with 150 additions and 483 deletions

67
.gitignore vendored
View file

@ -47,68 +47,5 @@ wesnoth-1.8.4.tar.bz2
/wesnoth-1.14.5.tar.bz2
/wesnoth-1.14.6.tar.bz2
/wesnoth-1.14.7.tar.bz2
/wesnoth-1.15.1.tar.bz2
/wesnoth-1.15.2.tar.bz2
/wesnoth-1.15.3.tar.bz2
/wesnoth-1.15.4.tar.bz2
/wesnoth-1.15.5.tar.bz2
/wesnoth-1.15.6.tar.bz2
/wesnoth-1.15.7.tar.bz2
/wesnoth-1.15.8.tar.bz2
/wesnoth-1.15.9.tar.bz2
/wesnoth-1.15.10.tar.bz2
/wesnoth-1.15.11.tar.bz2
/wesnoth-1.15.12.tar.bz2
/wesnoth-1.15.13.tar.bz2
/wesnoth-1.15.14.tar.bz2
/wesnoth-1.15.15.tar.bz2
/wesnoth-1.15.16.tar.bz2
/wesnoth-1.15.17.tar.bz2
/wesnoth-1.15.18.tar.bz2
/wesnoth-1.16.0.tar.bz2
/wesnoth-1.16.1.tar.bz2
/wesnoth-1.17.0.tar.bz2
/wesnoth-1.17.1.tar.bz2
/wesnoth-1.17.2.tar.bz2
/wesnoth-1.17.3.tar.bz2
/wesnoth-1.17.4.tar.bz2
/wesnoth-1.17.5.tar.bz2
/wesnoth-1.17.6.tar.bz2
/wesnoth-1.17.7.tar.bz2
/wesnoth-1.17.13.tar.bz2
/wesnoth-1.17.14.tar.bz2
/wesnoth-1.17.15.tar.bz2
/wesnoth-1.17.16.tar.bz2
/wesnoth-1.17.17.tar.bz2
/wesnoth-1.17.18.tar.bz2
/wesnoth-1.17.19.tar.bz2
/wesnoth-1.17.20.tar.bz2
/wesnoth-1.17.21.tar.bz2
/wesnoth-1.17.22.tar.bz2
/wesnoth-1.17.23.tar.bz2
/wesnoth-1.17.24.tar.bz2
/wesnoth-1.17.25.tar.bz2
/wesnoth-1.17.26.tar.bz2
/wesnoth-1.18.0.tar.bz2
/wesnoth-1.18.2.tar.bz2
/wesnoth-1.19.3.tar.bz2
/wesnoth-1.19.4.tar.bz2
/wesnoth-1.19.5.tar.bz2
/wesnoth-1.19.6.tar.bz2
/wesnoth-1.19.7.tar.bz2
/wesnoth-1.19.8.tar.bz2
/wesnoth-1.19.9.tar.bz2
/wesnoth-1.19.10.tar.bz2
/wesnoth-1.19.11.tar.bz2
/wesnoth-1.19.12.tar.bz2
/wesnoth-1.19.13.tar.bz2
/wesnoth-1.19.14.tar.bz2
/wesnoth-1.19.15.tar.bz2
/wesnoth-1.19.16.tar.bz2
/wesnoth-1.19.17.tar.bz2
/wesnoth-1.19.19.tar.bz2
/wesnoth-1.19.20.tar.bz2
/wesnoth-1.19.21.tar.bz2
/wesnoth-1.19.22.tar.bz2
/wesnoth-1.19.23.tar.bz2
/wesnoth-1.19.24.tar.bz2
/wesnoth-1.14.9.tar.bz2
/wesnoth-1.14.11.tar.bz2

View file

@ -1,41 +0,0 @@
--- SConstruct~ 2022-08-20 19:55:18.000000000 -0500
+++ SConstruct 2022-08-29 13:05:11.190269320 -0500
@@ -156,6 +156,8 @@
if term is not None:
env['ENV']['TERM'] = term
+env['ENV']['RPM_ARCH'] = os.environ.get('RPM_ARCH')
+
if env["PLATFORM"] == "win32":
env.Tool("mingw")
else:
--- SConstruct~ 2022-08-29 13:07:36.530924323 -0500
+++ SConstruct 2022-08-29 13:49:44.704642566 -0500
@@ -157,6 +157,7 @@
env['ENV']['TERM'] = term
env['ENV']['RPM_ARCH'] = os.environ.get('RPM_ARCH')
+env['ENV']['RPM_PACKAGE_RELEASE'] = os.environ.get('RPM_PACKAGE_RELEASE')
if env["PLATFORM"] == "win32":
env.Tool("mingw")
--- SConstruct~ 2022-08-29 13:51:15.051986273 -0500
+++ SConstruct 2022-08-29 14:37:04.799779582 -0500
@@ -158,6 +158,7 @@
env['ENV']['RPM_ARCH'] = os.environ.get('RPM_ARCH')
env['ENV']['RPM_PACKAGE_RELEASE'] = os.environ.get('RPM_PACKAGE_RELEASE')
+env['ENV']['RPM_PACKAGE_VERSION'] = os.environ.get('RPM_PACKAGE_VERSION')
if env["PLATFORM"] == "win32":
env.Tool("mingw")
--- SConstruct~ 2022-08-29 14:38:32.967011222 -0500
+++ SConstruct 2022-08-29 15:30:25.994786731 -0500
@@ -159,6 +159,7 @@
env['ENV']['RPM_ARCH'] = os.environ.get('RPM_ARCH')
env['ENV']['RPM_PACKAGE_RELEASE'] = os.environ.get('RPM_PACKAGE_RELEASE')
env['ENV']['RPM_PACKAGE_VERSION'] = os.environ.get('RPM_PACKAGE_VERSION')
+env['ENV']['RPM_PACKAGE_NAME'] = os.environ.get('RPM_PACKAGE_NAME')
if env["PLATFORM"] == "win32":
env.Tool("mingw")

View file

@ -1 +1 @@
SHA512 (wesnoth-1.19.24.tar.bz2) = c82b65d8ae74156bdf8fbb4ab7bcb7ffda0688d7d4cb5d12177a31f297a116288aae8cdc03abff0de80a1099561019ce44ff33d7f0f75953c23d12da74a7d6fb
SHA512 (wesnoth-1.14.11.tar.bz2) = f0c932a2623df35bdcae3d758f3c9ef583ab04bb886408d75b2fe3ee9600af0f55764448782d64561a44150b4628d6340050425d15fc140984e23d5c40769c66

View file

@ -1,14 +1,16 @@
%global _hardened_build 1
%global __os_install_post %(echo '%{__os_install_post}' | sed -e 's!/usr/lib[^[:space:]]*/brp-python-bytecompile[[:space:]].*$!!g')
Name: wesnoth
Version: 1.19.24
Release: 5%{?dist}
Version: 1.14.11
Release: 1%{?dist}
Summary: Turn-based strategy game with a fantasy theme
License: GPL-2.0-or-later
License: GPLv2+
URL: http://www.wesnoth.org
Source0: http://www.%{name}.org/files/%{name}-%{version}.tar.bz2
Source1: wesnothd.service
Source2: %{name}.sysconfig
Patch0: scons-env.patch
Requires: wesnoth-data = %{version}
BuildRequires: gcc-c++
@ -20,6 +22,7 @@ BuildRequires: dbus-devel
BuildRequires: freetype-devel
BuildRequires: libpng-devel
BuildRequires: fribidi-devel
BuildRequires: /usr/bin/python
BuildRequires: python%{python3_pkgversion}-devel
BuildRequires: desktop-file-utils
BuildRequires: gettext
@ -30,7 +33,6 @@ BuildRequires: readline-devel
BuildRequires: python3-scons
BuildRequires: openssl-devel
BuildRequires: libvorbis-devel
BuildRequires: libcurl-devel
BuildRequires: systemd
%description
@ -54,6 +56,10 @@ friends--or strangers--and fight multi-player epic fantasy battles.
%package server
Summary: %{summary}
Requires: %{name} = %{version}-%{release}
Requires(pre): /usr/sbin/useradd
Requires(post): systemd
Requires(preun): systemd
Requires(postun): systemd
%description server
This package contains the binaries for running a Wesnoth server
@ -80,13 +86,7 @@ This package contains the data files for Wesnoth.
##%endif
%prep
%autosetup -p0
# Create a sysusers.d config file.
# Upstream provides a file that we don't like.
cat >wesnoth-server.sysusers.conf <<EOF
u wesnothd - 'Wesnoth server' /run/wesnothd -
EOF
%autosetup -p1
%build
scons wesnoth wesnothd campaignd prefix=%{_prefix} \
@ -97,45 +97,25 @@ scons wesnoth wesnothd campaignd prefix=%{_prefix} \
localedirname=locale \
python_site_packages_dir=%{python3_sitelib}/wesnoth \
extra_flags_release="$RPM_OPT_FLAGS $RPM_LD_FLAGS" \
luadir=%{_includedir} \
fifodir=/run/wesnothd \
systemd=True \
%{?_smp_mflags}
%install
scons install install-pytools destdir=$RPM_BUILD_ROOT
#Workaround for BZ 1981728
sed -i "s|@FIFO_DIR@|\/run\/wesnothd|g" $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/wesnothd.tmpfiles.conf
#Correct user/group
sed -i "s/_wesnoth/wesnothd/g" $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/wesnothd.tmpfiles.conf
%if 0%{?flatpak}
# Fix install paths for flatpak builds where systemd prefix differs from wesnoth prefix
mkdir -p $RPM_BUILD_ROOT%{_unitdir}
mv $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system/wesnothd.service $RPM_BUILD_ROOT%{_unitdir}
mkdir -p $RPM_BUILD_ROOT%{_tmpfilesdir}
mv $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/wesnothd.tmpfiles.conf $RPM_BUILD_ROOT%{_tmpfilesdir}
%endif
# extra files we provide
install -Dpm 644 %{SOURCE1} $RPM_BUILD_ROOT%{_unitdir}/wesnothd.service
install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/wesnoth
# create this so we can %ghost it
mkdir -p ${RPM_BUILD_ROOT}/run/wesnothd/
touch ${RPM_BUILD_ROOT}/run/wesnothd/socket
touch ${RPM_BUILD_ROOT}/var/run/wesnothd/socket
%if "%{_sbindir}" != "%{_bindir}"
# move server stuff into sbindir
mkdir -p $RPM_BUILD_ROOT/%{_sbindir}
mv $RPM_BUILD_ROOT/%{_bindir}/wesnothd $RPM_BUILD_ROOT/%{_sbindir}
mv $RPM_BUILD_ROOT/%{_bindir}/campaignd $RPM_BUILD_ROOT/%{_sbindir}
%endif
# Wesnoth ships its own fonts, replace with Fedora packaged versions
for f in dejavu-sans-fonts/DejaVuSans-Bold.ttf dejavu-sans-mono-fonts/DejaVuSansMono-Bold.ttf dejavu-sans-mono-fonts/DejaVuSansMono.ttf dejavu-sans-fonts/DejaVuSans-Oblique.ttf dejavu-sans-fonts/DejaVuSans.ttf ; do
for f in dejavu/DejaVuSans-Bold.ttf dejavu/DejaVuSansMono-Bold.ttf dejavu/DejaVuSansMono.ttf dejavu/DejaVuSans-Oblique.ttf dejavu/DejaVuSans.ttf ; do
rm $RPM_BUILD_ROOT%{_datadir}/wesnoth/fonts/$(basename $f)
ln -s /usr/share/fonts/$f $RPM_BUILD_ROOT%{_datadir}/wesnoth/fonts/$(basename $f)
done
@ -143,7 +123,9 @@ done
# language stuff
%find_lang %{name} LANGFILES --with-man
install -m0644 -D wesnoth-server.sysusers.conf %{buildroot}%{_sysusersdir}/wesnoth-server.conf
%pre server
/usr/sbin/useradd -c "Wesnoth server" -s /sbin/nologin \
-r -d /var/run/wesnothd wesnothd 2> /dev/null || :
%post server
@ -168,362 +150,45 @@ install -m0644 -D wesnoth-server.sysusers.conf %{buildroot}%{_sysusersdir}/wesno
%{_bindir}/wml*
%{python3_sitelib}/wesnoth
%{_datadir}/wesnoth/data/tools
# Exclude Python 2 bits until ported, per upstream.
%exclude %{python3_sitelib}/wesnoth/wml*
%exclude %{_datadir}/wesnoth/data/tools/wmlflip
%exclude %{_datadir}/wesnoth/data/tools/scoutDefault.py
%exclude %{_datadir}/wesnoth/data/tools/journeylifter
%exclude %{_datadir}/wesnoth/data/tools/wmlvalidator
%exclude %{_datadir}/wesnoth/data/tools/rmtrans/rmtrans.py
%exclude %{_datadir}/wesnoth/data/tools/wesnoth/wmlparser2.py
%exclude %{_datadir}/wesnoth/data/tools/wesnoth/wmlgrammar.py
%exclude %{_datadir}/wesnoth/data/tools/wesnoth/wmldata.py
%exclude %{_datadir}/wesnoth/data/tools/wesnoth/wmltools.py
%exclude %{_datadir}/wesnoth/data/tools/wesnoth/wmliterator.py
%exclude %{_datadir}/wesnoth/data/tools/wesnoth/wmlparser.py
%exclude %{_datadir}/wesnoth/data/tools/trackplacer
%exclude %{_datadir}/wesnoth/data/tools/expand-terrain-macros.py
%files server
%{_unitdir}/wesnothd.service
%config(noreplace) %{_sysconfdir}/sysconfig/wesnoth
%{_sbindir}/wesnothd
%{_sbindir}/campaignd
%attr(0700,wesnothd,wesnothd) %dir /run/wesnothd/
%ghost /run/wesnothd/socket
%{_unitdir}/wesnothd.service
%{_tmpfilesdir}/wesnothd.tmpfiles.conf
%exclude %{_prefix}/lib/sysusers.d/wesnothd.sysusers.conf
%{_sysusersdir}/wesnoth-server.conf
%attr(0700,wesnothd,wesnothd) %dir /var/run/wesnothd/
%ghost /var/run/wesnothd/socket
%files data -f LANGFILES
%{_datadir}/applications/org.wesnoth.Wesnoth.desktop
%{_datadir}/applications/wesnoth.desktop
%{_datadir}/icons/*
%{_datadir}/metainfo/org.wesnoth.Wesnoth.appdata.xml
%{_datadir}/metainfo/wesnoth.appdata.xml
%{_datadir}/wesnoth/
%exclude %{_datadir}/wesnoth/data/tools
%{_mandir}/man6/wesnoth*.6*
%{_mandir}/*/man6/wesnoth*.6*
%changelog
* Wed Jul 22 2026 Python Maint <python-maint@redhat.com> - 1.19.24-5
- Rebuilt for Python 3.15.0b4 ABI change
* Thu Mar 12 2020 Kalev Lember <klember@redhat.com> - 1.14.11-1
- Update to 1.14.11
* Fri Jul 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.24-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
* Sat Jun 13 2026 Yaakov Selkowitz <yselkowi@redhat.com> - 1.19.24-3
- Rebuilt for openssl 4.0
* Thu Jun 04 2026 Python Maint <python-maint@redhat.com> - 1.19.24-2
- Rebuilt for Python 3.15
* Thu May 21 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.24-1
- 1.19.24
* Thu Apr 23 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.23-1
- 1.19.23
* Tue Mar 24 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.22-1
- 1.19.22
* Thu Feb 26 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.21-1
- 1.19.21
* Wed Jan 21 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.20-1
- 1.19.20
* Sat Jan 17 2026 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.19-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
* Thu Jan 15 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.19-2
- Patch for Boost 1.90.0
* Fri Jan 02 2026 Gwyn Ciesla <gwync@protonmail.com> - 1.19.19-1
- 1.19.19
* Tue Oct 21 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.17-1
- 1.19.17
* Mon Sep 22 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.16-1
- 1.19.16
* Fri Sep 19 2025 Python Maint <python-maint@redhat.com> - 1.19.15-2
- Rebuilt for Python 3.14.0rc3 bytecode
* Tue Aug 19 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.15-1
- 1.19.15
* Fri Aug 15 2025 Python Maint <python-maint@redhat.com> - 1.19.14-3
- Rebuilt for Python 3.14.0rc2 bytecode
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.14-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Mon Jul 21 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.14-1
- 1.19.14
* Mon Jun 16 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.13-1
- 1.19.13
* Tue Jun 03 2025 Python Maint <python-maint@redhat.com> - 1.19.12-2
- Rebuilt for Python 3.14
* Wed May 21 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.12-1
- 1.19.12
* Tue May 06 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.11-1
- 1.19.11
* Mon Mar 17 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.10-1
- 1.19.10
* Mon Mar 10 2025 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.19.9-2
- Add sysusers.d config file to allow rpm to create users/groups automatically
* Tue Feb 18 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.9-1
- 1.19.9
* Thu Jan 23 2025 Gwyn Ciesla <gwync@protonmail.com> - 1.19.8-1
- 1.19.8
* Sun Jan 19 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.19.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Dec 19 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.19.7-1
- 1.19.7
* Tue Nov 26 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.19.6-1
- 1.19.6
* Wed Oct 23 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.19.5-1
- 1.19.5
* Mon Sep 23 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.19.4-1
- 1.19.4
* Fri Aug 23 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.19.3-1
- 1.19.3
* Wed Jul 31 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.18.2-1
- 1.18.2
* Sat Jul 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.18.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Tue Jul 09 2024 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.18.0-3
- Rebuilt for the bin-sbin merge
* Sat Jun 08 2024 Python Maint <python-maint@redhat.com> - 1.18.0-2
- Rebuilt for Python 3.13
* Mon Mar 18 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.18.0-1
- 1.18.0
* Wed Feb 21 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.17.26-1
- 1.17.26
* Mon Jan 22 2024 Gwyn Ciesla <gwync@protonmail.com> - 1.17.25-1
- 1.17.25
* Thu Jan 18 2024 Jonathan Wakely <jwakely@redhat.com> - 1.17.24-2
- Rebuilt for Boost 1.83
* Mon Dec 18 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.24-1
- 1.17.24
* Tue Nov 28 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.23-1
- 1.17.23
* Wed Oct 18 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.22-1
- 1.17.22
* Tue Sep 19 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.21-1
- 1.17.21
* Wed Aug 23 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.20-1
- 1.17.20
* Sat Jul 22 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.19-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Mon Jul 17 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.19-1
- 1.17.19
* Mon Jun 26 2023 Python Maint <python-maint@redhat.com> - 1.17.18-2
- Rebuilt for Python 3.12
* Tue Jun 20 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.18-1
- 1.17.18
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.17.17-3
- Rebuilt for Python 3.12
* Thu May 25 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.17-2
- Workaround for BZ 1981728.
* Mon May 22 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.17-1
- 1.17.17
* Mon Apr 24 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.16-1
- 1.17.16
* Mon Apr 17 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.15-1
- 1.17.15
* Mon Mar 20 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.14-1
- 1.17.14
* Fri Mar 03 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.13-3
- migrated to SPDX license
* Thu Feb 23 2023 Kalev Lember <klember@redhat.com> - 1.17.13-2
- Rebuilt for Boost 1.81
* Tue Feb 21 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.17.13-1
- 1.17.13
* Mon Feb 20 2023 Jonathan Wakely <jwakely@redhat.com> - 1.17.7-3
- Rebuilt for Boost 1.81
* Sat Jan 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.7-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Mon Aug 22 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.7-1
- 1.17.7
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.6-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Wed Jul 20 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.6-1
- 1.17.6
* Tue Jun 21 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.5-1
- 1.17.5
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.17.4-2
- Rebuilt for Python 3.11
* Mon May 16 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.4-1
- 1.17.4
* Wed May 04 2022 Thomas Rodgers <trodgers@redhat.com> - 1.17.3-2
- Rebuilt for Boost 1.78
* Mon Apr 18 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.3-1
- 1.17.3
* Mon Mar 21 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.2-1
- 1.17.2
* Tue Feb 22 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.1-1
- 1.17.1
* Sat Jan 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.17.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Tue Jan 18 2022 Gwyn Ciesla <gwync@protonmail.com> - 1.17.0-1
- 1.17.0
* Tue Nov 09 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.16.1-1
- 1.16.1
* Fri Oct 29 2021 Kalev Lember <klember@redhat.com> - 1.16.0-2
- Remove Python 2 workarounds as everything has been ported to Python 3
- Drop post/preun/postun requires on systemd
* Sun Oct 24 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.16.0-1
- 1.16.0
* Mon Sep 27 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.18-1
- 1.15.18
* Tue Sep 14 2021 Sahana Prasad <sahana@redhat.com> - 1.15.17-2
- Rebuilt with OpenSSL 3.0.0
* Thu Sep 02 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.17-1
- 1.15.17
* Mon Aug 23 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.16-1
- 1.15.16
* Sat Aug 07 2021 Jonathan Wakely <jwakely@redhat.com> - 1.15.15-3
- Rebuilt for Boost 1.76
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.15-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Mon Jul 19 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.15-1
- 1.15.15
* Mon Jun 21 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.14-1
- 1.15.14
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.15.13-2
- Rebuilt for Python 3.10
* Mon May 17 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.13-1
- 1.15.13
* Mon Apr 19 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.12-1
- 1.15.12
* Tue Mar 30 2021 Jonathan Wakely <jwakely@redhat.com> - 1.15.11-2
- Rebuilt for removed libstdc++ symbol (#1937698)
* Mon Mar 22 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.5.11-1
- 1.5.11
* Tue Mar 02 2021 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.15.10-2
- Rebuilt for updated systemd-rpm-macros
See https://pagure.io/fesco/issue/2583.
* Mon Feb 22 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.10-1
- 1.15.10
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Fri Jan 22 2021 Jonathan Wakely <jwakely@redhat.com> - 1.15.9-2
- Rebuilt for Boost 1.75
* Tue Jan 19 2021 Gwyn Ciesla <gwync@protonmail.com> - 1.15.9-1
- 1.15.9
* Mon Dec 21 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.8-1
- 1.15.8
* Sun Dec 06 2020 Jeff Law <law@redhat.com> - 1.15.7-2
- Fix missing #include for gcc-11
* Mon Nov 23 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.7-1
- 1.15.7
* Mon Oct 19 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.6-1
- 1.15.6
* Mon Sep 21 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.5-1
- 1.15.5
* Wed Sep 02 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.4-2
- Upstream crash patch.
* Mon Aug 24 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.4-1
- 1.15.4
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Fri May 29 2020 Jonathan Wakely <jwakely@redhat.com> - 1.15.3-4
- Rebuilt for Boost 1.73
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.15.3-3
- Rebuilt for Python 3.9
* Mon May 18 2020 Gwyn Ciesla <gwync@protonmail.com> - 1.15.3-2
- Update dejavu font paths.
* Thu Mar 12 2020 Kalev Lember <klember@redhat.com> - 1.15.3-1
- 1.15.3
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.15.2-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Wed Oct 23 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.15.2-1
- 1.15.2
* Tue Sep 03 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.15.1-1
- 1.15.1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.14.7-6
- Rebuilt for Python 3.8
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.14.7-5
- Rebuilt for Python 3.8
* Sun Nov 10 2019 Kalev Lember <klember@redhat.com> - 1.14.9-1
- Update to 1.14.9
* Fri Aug 09 2019 Gwyn Ciesla <gwync@protonmail.com> - 1.14.7-4
- Exclude Python 2 tools per upstream.

106
wesnothd.init Executable file
View file

@ -0,0 +1,106 @@
#!/bin/sh
#
# wesnothd This shell script takes care of starting and stopping
# the Wesnoth game server.
#
# chkconfig: - 15 85
# description: The Wesnoth server supports playing networked \
# multi-player games.
# processname: wesnothd
# config: /etc/sysconfig/wesnothd
# pidfile: /var/run/wesnothd.pid
### BEGIN INIT INFO
# Provides: lsb-wesnothd
# Required-Start: $local_fs $network $remote_fs
# Required-Stop: $local_fs $network $remote_fs
# Default-Start:
# Default-Stop: 0 1 6
# Short-Description: start and stop Wesnoth server
# Description: wesnothd enables hosting online Wesnoth games
### END INIT INFO
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# Check that networking is up.
[ "$NETWORKING" = "no" ] && exit 0
exec="/usr/sbin/wesnothd"
prog=$(basename $exec)
pidfile=/var/run/$prog.pid
socketfile=/var/run/wesnothd/socket
[ -e /etc/sysconfig/$prog ] && . /etc/sysconfig/$prog
lockfile=/var/lock/subsys/$prog
start() {
echo -n $"Starting Wesnoth game server: "
if [ -n "`/sbin/pidof $prog`" ]; then
echo -n $"$prog already running"
failure
echo
return 1
fi
[ -p $socketfile ] && rm -f $socketfile
daemon --user wesnothd $exec --daemon $WESNOTHD_OPTIONS >/dev/null 2>&1
retval=$?
if [ $retval -eq 0 ]; then
success
touch $lockfile
pidofproc $prog > $pidfile
else
failure
fi
echo
return $retval
}
stop() {
echo -n $"Stopping Wesnoth game server: "
killproc $prog
retval=$?
echo
[ $retval -eq 0 ] && rm -f $lockfile
return $retval
}
restart() {
stop
start
}
reload() {
restart
}
force_reload() {
restart
}
fdr_status() {
status $prog
}
case "$1" in
start|stop|restart|reload)
$1
;;
force-reload)
force_reload
;;
status)
fdr_status
;;
condrestart|try-restart)
[ ! -f $lockfile ] || restart
;;
*)
echo $"Usage: $0 {start|stop|status|restart|try-restart|reload|force-reload}"
exit 2
esac