Compare commits
29 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4a1dd0120a | ||
|
|
ec3f4b7c23 | ||
|
|
a2b4d37d43 | ||
|
|
b1f72f53d6 | ||
|
|
f636c7dcd6 | ||
|
|
63875831f0 | ||
|
|
0536ab1e55 | ||
|
|
977df4b91f | ||
|
|
1a0ca12715 | ||
|
|
2a45147268 | ||
|
|
08618b1663 | ||
|
|
2bcad95b80 | ||
|
|
3137bfd2d2 | ||
|
|
4dcb62ca2a | ||
|
|
0aa2a579b6 | ||
|
|
67aaaa8491 | ||
|
|
237ddaeb6a | ||
|
|
132d4182b5 | ||
|
|
bfeddb643c | ||
|
|
aedd9268da |
||
|
|
891b6267ec | ||
|
|
e27cdceea8 | ||
|
|
7944249e06 | ||
|
|
105751ead3 | ||
|
|
8c7f375be1 | ||
|
|
22ce668305 | ||
|
|
376f4db6c3 | ||
|
|
eb3556ff81 | ||
|
|
63f784b8b7 |
7 changed files with 164 additions and 63 deletions
|
|
@ -1,10 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Rise of the Triad (Registered)
|
||||
Comment=RotT Registered launch script, this requires the registered data files
|
||||
Exec=rott-registered
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=rott.png
|
||||
Icon=rott
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=game;fps;first;person;shooter;rise;triad;rott;
|
||||
|
|
|
|||
13
rott-registered.metainfo.xml
Normal file
13
rott-registered.metainfo.xml
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="addon">
|
||||
<id>rott-registered.desktop</id>
|
||||
<extends>rott-shareware.desktop</extends>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+</project_license>
|
||||
<name>Engine for Rise of the Triad registered</name>
|
||||
<summary>
|
||||
Place the registered Rise of the Triad datafiles under /usr/share/rott/
|
||||
</summary>
|
||||
<url type="homepage">http://icculus.org/rott/</url>
|
||||
<updatecontact>jwrdegoede_at_gmail.com</updatecontact>
|
||||
</component>
|
||||
|
|
@ -2,6 +2,11 @@
|
|||
|
||||
set -e
|
||||
|
||||
if [ -f /usr/share/rott/DARKWAR.WAD ]; then
|
||||
cd /usr/share/rott
|
||||
exec rott-registered.bin "$@"
|
||||
fi
|
||||
|
||||
if [ ! -f ~/.rott/registered/*.WAD -a ! -f ~/.rott/registered/*.wad ]; then
|
||||
zenity --info --text='In order to play the registered version of Rise of the Triad (ROTT), An Apogee Game, the original registered ROTT datafiles are needed.
|
||||
|
||||
|
|
|
|||
32
rott-shareware.appdata.xml
Normal file
32
rott-shareware.appdata.xml
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<component type="desktop">
|
||||
<id>rott-shareware.desktop</id>
|
||||
<metadata_license>CC0-1.0</metadata_license>
|
||||
<project_license>GPL-2.0+</project_license>
|
||||
<name>Rise of the Triad</name>
|
||||
<summary>Apogee's classic 3d first person shooter Rise of the Triad</summary>
|
||||
<description>
|
||||
<p>
|
||||
This is the icculus.org Linux port of Apogee's classic 3d shooter Rise of
|
||||
the Triad (RotT), which has been released under the GPL by Apogee. This
|
||||
version is enhanced with the "high" resolution rendering from the winrott
|
||||
port.
|
||||
</p>
|
||||
<p>
|
||||
This package contains the engine for the shareware version of RotT.
|
||||
In order to play the shareware version, you will need the shareware
|
||||
datafiles. Which can be freely downloaded from Apogee/3DRealms, but
|
||||
cannot be distributed as a part of Fedora. When you start RotT for the
|
||||
first time it will offer to download the datafiles for you.
|
||||
</p>
|
||||
</description>
|
||||
<url type="homepage">https://icculus.org/rott/</url>
|
||||
<screenshots>
|
||||
<screenshot type="default">http://image.dosgamesarchive.com/screenshots/risetriad6.gif</screenshot>
|
||||
<screenshot>http://image.dosgamesarchive.com/screenshots/risetriad1.gif</screenshot>
|
||||
<screenshot>http://image.dosgamesarchive.com/screenshots/risetriad2.gif</screenshot>
|
||||
<screenshot>http://image.dosgamesarchive.com/screenshots/risetriad3.gif</screenshot>
|
||||
<screenshot>http://image.dosgamesarchive.com/screenshots/risetriad5.gif</screenshot>
|
||||
</screenshots>
|
||||
<updatecontact>jwrdegoede_at_fedoraproject.org</updatecontact>
|
||||
</component>
|
||||
|
|
@ -1,10 +1,10 @@
|
|||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Name=Rise of the Triad
|
||||
Comment=RotT Shareware launcher, will automatically download the needed data-files
|
||||
Exec=rott-shareware
|
||||
StartupNotify=false
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=rott.png
|
||||
Icon=rott
|
||||
Categories=Game;ActionGame;
|
||||
Keywords=game;fps;first;person;shooter;rise;triad;rott;
|
||||
|
|
|
|||
|
|
@ -2,6 +2,12 @@
|
|||
|
||||
set -e
|
||||
|
||||
# game assets installed with game-data-packager
|
||||
if [ -f /usr/share/rott/REMOTE1.RTS ]; then
|
||||
cd /usr/share/rott
|
||||
exec /usr/bin/rott-shareware.bin "$@"
|
||||
fi
|
||||
|
||||
mkdir -p $HOME/.rott
|
||||
cd $HOME/.rott
|
||||
|
||||
|
|
|
|||
163
rott.spec
163
rott.spec
|
|
@ -1,9 +1,9 @@
|
|||
Name: rott
|
||||
Version: 1.1.2
|
||||
Release: 2%{?dist}
|
||||
Release: 28%{?dist}
|
||||
Summary: Rise of the Triad
|
||||
Group: Amusements/Games
|
||||
License: GPLv2+
|
||||
# Automatically converted from old format: GPLv2+ - review is highly recommended.
|
||||
License: GPL-2.0-or-later
|
||||
URL: http://icculus.org/rott/
|
||||
Source0: http://icculus.org/rott/releases/rott-%{version}.tar.gz
|
||||
Source1: rott-shareware.sh
|
||||
|
|
@ -11,11 +11,15 @@ Source2: rott-registered.sh
|
|||
Source3: rott.autodlrc
|
||||
Source4: rott-shareware.desktop
|
||||
Source5: rott-registered.desktop
|
||||
Source6: rott-shareware.appdata.xml
|
||||
Source7: rott-registered.metainfo.xml
|
||||
# Notice this is made from an edited screenshot and thus derived from the non-
|
||||
# free datafiles. I believe this constitues fair-use. If anyone disagrees let
|
||||
# free datafiles. I believe this constitutes fair-use. If anyone disagrees let
|
||||
# me know and I'll remove it
|
||||
Source6: rott.png
|
||||
BuildRequires: SDL_mixer-devel desktop-file-utils
|
||||
Source8: rott.png
|
||||
BuildRequires: make
|
||||
BuildRequires: gcc
|
||||
BuildRequires: SDL_mixer-devel desktop-file-utils libappstream-glib
|
||||
|
||||
%description
|
||||
This is the icculus.org Linux port of Apogee's classic 3d shooter Rise of the
|
||||
|
|
@ -25,8 +29,7 @@ enhanced with the "high" resolution rendering from the winrott port.
|
|||
|
||||
%package shareware
|
||||
Summary: Rise of the Triad shareware version
|
||||
Group: Amusements/Games
|
||||
Requires: hicolor-icon-theme autodownloader
|
||||
Requires: hicolor-icon-theme autodownloader unzip
|
||||
|
||||
%description shareware
|
||||
This is the icculus.org Linux port of Apogee's classic 3d shooter Rise of the
|
||||
|
|
@ -42,7 +45,6 @@ the datafiles for you.
|
|||
|
||||
%package registered
|
||||
Summary: Rise of the Triad registered version
|
||||
Group: Amusements/Games
|
||||
Requires: hicolor-icon-theme zenity
|
||||
|
||||
%description registered
|
||||
|
|
@ -93,75 +95,118 @@ install -p -m 644 %{name}-registered.6 $RPM_BUILD_ROOT%{_mandir}/man6
|
|||
|
||||
# below is the desktop file and icon stuff.
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
||||
desktop-file-install \
|
||||
%if 0%{?fedora} && 0%{?fedora} < 19
|
||||
--vendor fedora \
|
||||
%endif
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
%{SOURCE4}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
||||
desktop-file-install \
|
||||
%if 0%{?fedora} && 0%{?fedora} < 19
|
||||
--vendor fedora \
|
||||
%endif
|
||||
--dir $RPM_BUILD_ROOT%{_datadir}/applications \
|
||||
%{SOURCE5}
|
||||
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE4}
|
||||
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE5}
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
install -p -m 644 %{SOURCE6} %{SOURCE7} $RPM_BUILD_ROOT%{_datadir}/appdata
|
||||
appstream-util validate-relax --nonet $RPM_BUILD_ROOT%{_datadir}/appdata/*.xml
|
||||
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps
|
||||
install -p -m 644 %{SOURCE6} \
|
||||
install -p -m 644 %{SOURCE8} \
|
||||
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/64x64/apps/
|
||||
|
||||
|
||||
%post shareware
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
fi
|
||||
|
||||
%postun shareware
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
fi
|
||||
|
||||
%post registered
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
fi
|
||||
|
||||
%postun registered
|
||||
touch --no-create %{_datadir}/icons/hicolor || :
|
||||
if [ -x %{_bindir}/gtk-update-icon-cache ]; then
|
||||
%{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
|
||||
fi
|
||||
|
||||
|
||||
%files shareware
|
||||
%doc README COPYING doc/*.txt
|
||||
%doc README doc/*.txt
|
||||
%license COPYING
|
||||
%{_bindir}/rott-shareware*
|
||||
%{_mandir}/man6/%{name}-shareware.6*
|
||||
%{_datadir}/%{name}
|
||||
%if 0%{?fedora} && 0%{?fedora} < 19
|
||||
%{_datadir}/applications/fedora-%{name}-shareware.desktop
|
||||
%else
|
||||
%{_datadir}/appdata/%{name}-shareware.appdata.xml
|
||||
%{_datadir}/applications/%{name}-shareware.desktop
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
|
||||
|
||||
|
||||
%files registered
|
||||
%doc README COPYING doc/*.txt
|
||||
%doc README doc/*.txt
|
||||
%license COPYING
|
||||
%{_bindir}/rott-registered*
|
||||
%{_mandir}/man6/%{name}-registered.6*
|
||||
%if 0%{?fedora} && 0%{?fedora} < 19
|
||||
%{_datadir}/applications/fedora-%{name}-registered.desktop
|
||||
%else
|
||||
%{_datadir}/appdata/%{name}-registered.metainfo.xml
|
||||
%{_datadir}/applications/%{name}-registered.desktop
|
||||
%endif
|
||||
%{_datadir}/icons/hicolor/64x64/apps/%{name}.png
|
||||
|
||||
|
||||
%changelog
|
||||
* Fri Jul 25 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-28
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-27
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2024 Miroslav Suchý <msuchy@redhat.com> - 1.1.2-26
|
||||
- convert license to SPDX
|
||||
|
||||
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-25
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-24
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-23
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-22
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-21
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-20
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-19
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-18
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-16
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-15
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-14
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-13
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-12
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
* Sat Jul 14 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-11
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
||||
|
||||
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-10
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
||||
|
||||
* Thu Jan 18 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.1.2-9
|
||||
- Remove obsolete scriptlets
|
||||
|
||||
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
||||
|
||||
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-7
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
||||
|
||||
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
||||
|
||||
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.2-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
||||
|
||||
* Sat Jan 16 2016 Hans de Goede <hdegoede@redhat.com> - 1.1.2-4
|
||||
- Add support for game-data-packager provided assets (rhbz#1295511)
|
||||
- Add appdata files
|
||||
- Modernize spec a bit
|
||||
|
||||
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
* Mon Aug 18 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue