Compare commits

..

No commits in common. "rawhide" and "f38" have entirely different histories.

3 changed files with 7 additions and 146 deletions

22
.gitignore vendored
View file

@ -90,25 +90,3 @@ wesnoth-1.8.4.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

View file

@ -1 +1 @@
SHA512 (wesnoth-1.19.24.tar.bz2) = c82b65d8ae74156bdf8fbb4ab7bcb7ffda0688d7d4cb5d12177a31f297a116288aae8cdc03abff0de80a1099561019ce44ff33d7f0f75953c23d12da74a7d6fb
SHA512 (wesnoth-1.18.0.tar.bz2) = 7c7cd1021d9af2e790f3973ae258d7e401b665102cfcdb9e7fb400471d8488b7fa3f35a17a32c53b646d707dcc0508fef379ae6ce2dc79f1d675a7b2ec0e50c2

View file

@ -1,6 +1,6 @@
Name: wesnoth
Version: 1.19.24
Release: 5%{?dist}
Version: 1.18.0
Release: 1%{?dist}
Summary: Turn-based strategy game with a fantasy theme
License: GPL-2.0-or-later
@ -54,6 +54,7 @@ friends--or strangers--and fight multi-player epic fantasy battles.
%package server
Summary: %{summary}
Requires: %{name} = %{version}-%{release}
Requires(pre): /usr/sbin/useradd
%description server
This package contains the binaries for running a Wesnoth server
@ -82,12 +83,6 @@ This package contains the data files for Wesnoth.
%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
%build
scons wesnoth wesnothd campaignd prefix=%{_prefix} \
bindir=%{_bindir} \
@ -127,12 +122,10 @@ install -Dpm 644 %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/sysconfig/wesnoth
mkdir -p ${RPM_BUILD_ROOT}/run/wesnothd/
touch ${RPM_BUILD_ROOT}/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
@ -143,7 +136,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 /run/wesnothd wesnothd 2> /dev/null || :
%post server
@ -178,7 +173,6 @@ install -m0644 -D wesnoth-server.sysusers.conf %{buildroot}%{_sysusersdir}/wesno
%{_unitdir}/wesnothd.service
%{_tmpfilesdir}/wesnothd.tmpfiles.conf
%exclude %{_prefix}/lib/sysusers.d/wesnothd.sysusers.conf
%{_sysusersdir}/wesnoth-server.conf
%files data -f LANGFILES
%{_datadir}/applications/org.wesnoth.Wesnoth.desktop
@ -190,117 +184,6 @@ install -m0644 -D wesnoth-server.sysusers.conf %{buildroot}%{_sysusersdir}/wesno
%{_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
* 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