Compare commits

..

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

7 changed files with 56 additions and 130 deletions

3
.gitignore vendored
View file

@ -1,3 +1,6 @@
oa081.zip
/openarena.png
/oa081.zip
/oa085p.zip
/oa088p.zip
/ws.openarena.OpenArena.png

View file

@ -1,30 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<component type="desktop">
<id type="desktop">openarena.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<project_license>GPL-2.0</project_license>
<summary>Free and open source first-person shooter</summary>
<description>
<p>
OpenArena is a free and open source first-person shooter game based
heavily on the Quake III Arena-style deathmatch.
Score frags to win the game using a balanced set of weapons each designed
for different situations.
Guns include a chaingun, rocket launcher, shotgun, and railgun.
</p>
<p>
OpenArena's style of play is very fast and requires skill to be played
successfully online.
Gameplay modes include Deathmatch, Team Deathmatch, Tournament, Capture
the Flag, Elimination, CTF Elimination, Last Man Standing and Double
Domination.
</p>
</description>
<url type="homepage">http://www.openarena.ws/</url>
<screenshots>
<screenshot type="default">http://www.openarena.ws/e107_images/custom/085-1.jpg</screenshot>
<screenshot>http://www.openarena.ws/e107_images/custom/085-6.jpg</screenshot>
<screenshot>http://www.openarena.ws/e107_images/custom/085-16.jpg</screenshot>
</screenshots>
<updatecontact>openarena-owner@fedoraproject.org</updatecontact>
</component>

View file

@ -5,5 +5,4 @@ Icon=openarena
Exec=openarena
Terminal=false
Type=Application
Categories=Game;ActionGame;AdventureGame;
PrefersNonDefaultGPU=true
Categories=Game;ActionGame;

View file

@ -22,10 +22,4 @@ else
checkDriOK openarena
fi
if [ ! -d ~/.openarena ]; then
mkdir -p ~/.openarena
fi
rsync -a /usr/share/openarena/* ~/.openarena/
exec /usr/bin/quake3 $CVARS "$@"

View file

@ -1,8 +1,9 @@
Name: openarena
Version: 0.8.8
Release: 35%{?dist}
Release: 12%{?dist}
Summary: Open source first person shooter
License: GPL-2.0-only AND CC0-1.0
Group: Amusements/Games
License: GPLv2 and CC0
URL: http://openarena.ws/
Source0: http://download.tuxfamily.org/openarena/rel/081/oa081.zip
Source10: http://download.tuxfamily.org/openarena/rel/085/oa085p.zip
@ -11,16 +12,11 @@ Source2: %{name}.sh
# From https://github.com/flathub/ws.openarena.OpenArena/blob/master/ws.openarena.OpenArena.png
Source3: ws.openarena.OpenArena.png
Source4: %{name}.desktop
Source5: %{name}.appdata.xml
# We need 1.36-11 or newer for the new standalone game and protocol cvars
Requires: quake3 >= 1.36-11
Requires: hicolor-icon-theme
Requires: opengl-games-utils
Requires: rsync
BuildRequires: ImageMagick
BuildRequires: desktop-file-utils
BuildRequires: libappstream-glib
Provides: openarena-data = %{version}-%{release}
Obsoletes: openarena-data < 0.7.1-4
BuildArch: noarch
@ -44,105 +40,68 @@ echo We build nothing
%install
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
mkdir -p $RPM_BUILD_ROOT%{_metainfodir}
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps
mkdir -p $RPM_BUILD_ROOT%{_bindir}
mkdir $RPM_BUILD_ROOT%{_datadir}/pixmaps
mkdir $RPM_BUILD_ROOT%{_bindir}
cp -pr %{name}-0.8.1/baseoa $RPM_BUILD_ROOT%{_datadir}/%{name}
install -p -m755 %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}
sed -i -e 's|/usr|%{_prefix}|' $RPM_BUILD_ROOT%{_bindir}/%{name}
ln -s %{name} $RPM_BUILD_ROOT%{_bindir}/%{name}_ded
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/128x128/apps/openarena.png
cp -p %{SOURCE3} $RPM_BUILD_ROOT%{_datadir}/pixmaps/openarena.png
chmod 644 $RPM_BUILD_ROOT%{_datadir}/%{name}/baseoa/*
desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE4}
desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/*
mkdir -p $RPM_BUILD_ROOT%{_metainfodir}
install -pm 644 %{SOURCE5} $RPM_BUILD_ROOT%{_metainfodir}/
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_metainfodir}/*.appdata.xml
# Register as an application to be visible in the software center
#
# NOTE: It would be *awesome* if this file was maintained by the upstream
# project, translated and installed into the right place during `make install`.
#
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
#
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <<EOF
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Richard Hughes <richard@hughsie.com> -->
<application>
<id type="desktop">openarena.desktop</id>
<metadata_license>CC0-1.0</metadata_license>
<summary>Free and open source first-person shooter</summary>
<description>
<p>
OpenArena is a free and open source first-person shooter game based
heavily on the Quake III Arena-style deathmatch.
Score frags to win the game using a balanced set of weapons each designed
for different situations.
Guns include a chaingun, rocket launcher, shotgun, and railgun.
</p>
<p>
OpenArena's style of play is very fast and requires skill to be played
successfully online.
Gameplay modes include Deathmatch, Team Deathmatch, Tournament, Capture
the Flag, Elimination, CTF Elimination, Last Man Standing and Double
Domination.
</p>
</description>
<url type="homepage">http://www.openarena.ws/</url>
<screenshots>
<screenshot type="default">http://www.openarena.ws/e107_images/custom/085-1.jpg</screenshot>
<screenshot>http://www.openarena.ws/e107_images/custom/085-6.jpg</screenshot>
<screenshot>http://www.openarena.ws/e107_images/custom/085-16.jpg</screenshot>
</screenshots>
<!-- FIXME: change this to an upstream email address for spec updates
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
-->
</application>
EOF
%files
%doc doc/CREDITS doc/README doc/CHANGES doc/*.txt
%license doc/COPYING
%doc doc/*
%{_bindir}/%{name}*
%{_datadir}/%{name}
%{_metainfodir}/%{name}.appdata.xml
%{_datadir}/appdata/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/128x128/apps/%{name}.png
%{_datadir}/pixmaps/%{name}.png
%changelog
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-35
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-34
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-33
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-32
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-31
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-30
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
* Wed Mar 08 2023 Gwyn Ciesla <gwync@protonmail.com> - 0.8.8-29
- migrated to SPDX license
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-28
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-27
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
* Thu Feb 24 2022 Daniel Rusek <mail@asciiwolf.com> - 0.8.8-26
- Set PrefersNonDefaultGPU to true
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-25
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-23
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
* Tue Jan 05 2021 Gwyn Ciesla <gwync@protonmail.com> - 0.8.8-22
- Desktop correction.
* Tue Jan 05 2021 Gwyn Ciesla <gwync@protonmail.com> - 0.8.8-21
- Source correction.
* Mon Jan 04 2021 Gwyn Ciesla <gwync@protonmail.com> - 0.8.8-20
- Fix 1912072.
* Sun Jan 03 2021 Antonio Trande <sagitter@fedoraproject.org> - 0.8.8-19
- Fix bugzilla #1912072
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-18
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-17
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
* Thu Jan 16 2020 Kalev Lember <klember@redhat.com> - 0.8.8-16
- Avoid hardcoding /usr prefix in the launcher shell script
- Install the app icon into hicolor icon theme
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-15
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.8.8-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Thu Jan 24 2019 Antonio Trande <sagitter@fedoraproject.org> - 0.8.8-13
- Reinstall license file
- Use metainfodir
- Update and validate appdata file
* Mon Oct 15 2018 Gwyn Ciesla <limburgher@gmail.com> - 0.8.8-12
- Alternate icon image, BZ 1609558.

View file

@ -1,3 +1,4 @@
SHA512 (oa081.zip) = 99371917c3987af2f7291b1786dc7371b617d36fd303a5f6f9dbc7721f42a875309298f9a44dc337b019e802462fd1d5f8956f25468b2a8a2cd0cf4df436eb34
SHA512 (oa085p.zip) = 35d1e54136e8e2f8ff55597dc326b19da8bfb6562d5134cdfab66f3ae8947958b76f9a3aac3c2cb6c9695ca18bb7fb202dc3a3241b65ab1d9130fce144cd53dd
SHA512 (oa088p.zip) = 753653596073782f5b243b673134f464da4f8a1fef961bec22215763faa633bae569b848b5c10a11e5645936931cb44e4f4f91e20e32b9f2b17cde2ce76b5b69
SHA512 (ws.openarena.OpenArena.png) = 40db0814fcc4f8ac765d57f4e7de83ffe077403debcda3b1c1ebbc541792cb34d31b934937dc5b1dfc60c1ee495ef6b5bbf43139c15ab0b6c71dbf5de780c97a

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB