|
Andy Southgate |
045b7d9 |
Summary: Action game in four spatial dimensions
|
|
Andy Southgate |
045b7d9 |
Name: adanaxisgpl
|
|
Andy Southgate |
48a949e |
Version: 1.2.5
|
|
|
7c98997 |
Release: 17%{?dist}
|
|
Andy Southgate |
045b7d9 |
License: GPLv2
|
|
Andy Southgate |
045b7d9 |
Group: Amusements/Games
|
|
Andy Southgate |
045b7d9 |
URL: http://www.mushware.com/
|
|
Andy Southgate |
48a949e |
Source0: http://www.mushware.com/files/%{name}-1.2.5.tar.gz
|
|
|
1ada623 |
Patch0: adanaxisgpl-1.2.5-const.patch
|
|
|
6a4a992 |
Patch1: adanaxisgpl-1.2.5-gcc47.patch
|
|
|
2fc5f6c |
Patch2: adanaxisgpl-1.2.5-xdg-open.patch
|
|
|
6a4a992 |
BuildRequires: desktop-file-utils
|
|
|
6a4a992 |
BuildRequires: freeglut-devel
|
|
|
6a4a992 |
BuildRequires: expat-devel
|
|
|
6a4a992 |
BuildRequires: libjpeg-devel
|
|
|
6a4a992 |
BuildRequires: libtiff-devel
|
|
|
6a4a992 |
BuildRequires: libvorbis-devel
|
|
|
6a4a992 |
BuildRequires: pcre-devel
|
|
|
6a4a992 |
BuildRequires: SDL_mixer-devel
|
|
|
1ada623 |
|
|
Andy Southgate |
045b7d9 |
%description
|
|
Andy Southgate |
045b7d9 |
Adanaxis is a fast-moving first person shooter set in deep space, where the
|
|
Andy Southgate |
045b7d9 |
fundamentals of space itself are changed. By adding another dimension to
|
|
Andy Southgate |
045b7d9 |
space this game provides an environment with movement in four directions
|
|
Andy Southgate |
045b7d9 |
and six planes of rotation. Initially the game explains the 4D control
|
|
Andy Southgate |
045b7d9 |
system via a graphical sequence, before moving on to 30 levels of gameplay
|
|
Andy Southgate |
045b7d9 |
with numerous enemy, ally, weapon and mission types. Features include
|
|
Andy Southgate |
045b7d9 |
simulated 4D texturing, mouse and joystick control, and original music.
|
|
Andy Southgate |
045b7d9 |
Screenshots, movies and further information are available at
|
|
Andy Southgate |
045b7d9 |
http://www.mushware.com/.
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
Hardware-accelerated 3D is recommended, ideally with support for OpenGL
|
|
Andy Southgate |
045b7d9 |
Shading Language.
|
|
Andy Southgate |
045b7d9 |
|
|
|
6a4a992 |
|
|
Andy Southgate |
045b7d9 |
%prep
|
|
Andy Southgate |
045b7d9 |
%setup -q
|
|
|
6a4a992 |
%patch0 -p1
|
|
|
6a4a992 |
%patch1 -p1
|
|
|
2fc5f6c |
%patch2 -p1
|
|
|
6a4a992 |
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
%build
|
|
Andy Southgate |
045b7d9 |
%configure
|
|
Andy Southgate |
045b7d9 |
make %{?_smp_mflags}
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
# Build .desktop files
|
|
Andy Southgate |
045b7d9 |
cat > %{name}.desktop <
|
|
Andy Southgate |
045b7d9 |
[Desktop Entry]
|
|
|
6a4a992 |
Name=Adanaxis GPL
|
|
|
6a4a992 |
Comment=An action game in four spatial dimensions
|
|
|
dda9472 |
Exec=%{name}
|
|
Andy Southgate |
045b7d9 |
Icon=%{name}
|
|
Andy Southgate |
045b7d9 |
Terminal=false
|
|
Andy Southgate |
045b7d9 |
Type=Application
|
|
Andy Southgate |
045b7d9 |
StartupNotify=false
|
|
Andy Southgate |
045b7d9 |
Categories=Game;ActionGame;
|
|
Andy Southgate |
045b7d9 |
EOF
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
|
|
|
6a4a992 |
%install
|
|
|
dda9472 |
%make_install INSTALL="install -p" CPPROG="cp -p"
|
|
|
6a4a992 |
|
|
|
6a4a992 |
# Install desktop files
|
|
Andy Southgate |
045b7d9 |
mkdir -p %{buildroot}%{_datadir}/applications
|
|
|
dda9472 |
desktop-file-install \
|
|
Andy Southgate |
045b7d9 |
--dir %{buildroot}%{_datadir}/applications \
|
|
|
dda9472 |
%if 0%{?fedora} && 0%{?fedora} < 19
|
|
|
dda9472 |
--vendor=mushware \
|
|
|
dda9472 |
%endif
|
|
Andy Southgate |
045b7d9 |
%{name}.desktop
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
# Icons
|
|
Andy Southgate |
045b7d9 |
mkdir -p -m 755 %{buildroot}%{_datadir}/icons/hicolor/16x16/apps
|
|
Andy Southgate |
045b7d9 |
mkdir -p -m 755 %{buildroot}%{_datadir}/icons/hicolor/32x32/apps
|
|
Andy Southgate |
045b7d9 |
mkdir -p -m 755 %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
|
Andy Southgate |
045b7d9 |
install -p -m 644 x11/icons/%{name}-16.png %{buildroot}%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
|
Andy Southgate |
045b7d9 |
install -p -m 644 x11/icons/%{name}-32.png %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
Andy Southgate |
045b7d9 |
install -p -m 644 x11/icons/%{name}-48.png %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
Andy Southgate |
045b7d9 |
|
|
|
6a4a992 |
|
|
Andy Southgate |
045b7d9 |
%post
|
|
|
6a4a992 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
%postun
|
|
|
6a4a992 |
if [ $1 -eq 0 ] ; then
|
|
|
6a4a992 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
6a4a992 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
Andy Southgate |
045b7d9 |
fi
|
|
Andy Southgate |
045b7d9 |
|
|
|
6a4a992 |
%posttrans
|
|
|
6a4a992 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
6a4a992 |
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
%files
|
|
|
6a4a992 |
%doc COPYING README ChangeLog AUTHORS
|
|
|
dda9472 |
%{_bindir}/%{name}
|
|
|
6a4a992 |
%{_datadir}/%{name}
|
|
|
dda9472 |
%{_datadir}/applications/*%{name}.desktop
|
|
Andy Southgate |
045b7d9 |
%{_datadir}/icons/hicolor/16x16/apps/%{name}.png
|
|
Andy Southgate |
045b7d9 |
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
Andy Southgate |
045b7d9 |
%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
|
|
|
6a4a992 |
%{_mandir}/man6/%{name}*.6*
|
|
|
6a4a992 |
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
%changelog
|
|
|
7c98997 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-17
|
|
|
7c98997 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
7c98997 |
|
|
|
dda9472 |
* Fri May 10 2013 Hans de Goede <hdegoede@redhat.com> - 1.2.5-16
|
|
|
dda9472 |
- Remove no longer needed autoreconf call, %%configure from redhat-rpm-config
|
|
|
dda9472 |
>= 9.1.0-42 updates config.guess and config.sub for new architecture support
|
|
|
dda9472 |
- Remove vendor prefix from desktop files in F19+
|
|
|
dda9472 |
- Drop recovery .desktop file, this just clutters the menu, and can be done
|
|
|
dda9472 |
from the cmdline if needed
|
|
|
dda9472 |
|
|
|
2fc5f6c |
* Mon Apr 29 2013 Hans de Goede <hdegoede@redhat.com> - 1.2.5-15
|
|
|
2fc5f6c |
- Run autoreconf for aarch64 support (rhbz#924970)
|
|
|
2fc5f6c |
- Use xdg-open to open game manual
|
|
|
2fc5f6c |
|
|
|
4d15800 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-14
|
|
|
4d15800 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
4d15800 |
|
|
|
167a604 |
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 1.2.5-13
|
|
|
167a604 |
- rebuild due to "jpeg8-ABI" feature drop
|
|
|
167a604 |
|
|
|
5a99deb |
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 1.2.5-12
|
|
|
5a99deb |
- rebuild against new libjpeg
|
|
|
5a99deb |
|
|
|
1841626 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-11
|
|
|
1841626 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
1841626 |
|
|
|
aefc4fa |
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1.2.5-10
|
|
|
aefc4fa |
- Rebuild against PCRE 8.30
|
|
|
aefc4fa |
|
|
|
584a57c |
* Fri Feb 10 2012 Petr Pisar <ppisar@redhat.com> - 1.2.5-9
|
|
|
584a57c |
- Rebuild against PCRE 8.30
|
|
|
584a57c |
|
|
|
6a4a992 |
* Thu Jan 12 2012 Hans de Goede <hdegoede@redhat.com> - 1.2.5-8
|
|
|
6a4a992 |
- Various specfile cleanups
|
|
|
6a4a992 |
- Fix building with gcc-4.7
|
|
|
6a4a992 |
|
|
|
8445d15 |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-7
|
|
|
8445d15 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8445d15 |
|
|
|
787c208 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-6
|
|
|
787c208 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
787c208 |
|
|
|
dde9b1e |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-5
|
|
|
dde9b1e |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
dde9b1e |
|
|
|
1ada623 |
* Mon Mar 02 2009 Caolán McNamara <caolanm@redhat.com> - 1.2.5-4
|
|
|
1ada623 |
- constify strchr
|
|
|
1ada623 |
|
|
|
4275c75 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-3
|
|
|
4275c75 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
4275c75 |
|
|
|
2cf281a |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.5-2
|
|
|
2cf281a |
- Autorebuild for GCC 4.3
|
|
|
2cf281a |
|
|
Andy Southgate |
48a949e |
* Sun Feb 17 2008 Andy Southgate <andy.southgate@mushware.com> 1.2.5-1
|
|
Andy Southgate |
48a949e |
- Sync to upstream to pick up gcc 4.3 compatibility fixes
|
|
Andy Southgate |
48a949e |
|
|
Andy Southgate |
045b7d9 |
* Thu Oct 25 2007 Andy Southgate <andy.southgate@mushware.com> 1.2.4-1
|
|
Andy Southgate |
045b7d9 |
- Updates following further review (bugzilla #309061)
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
* Wed Oct 17 2007 Andy Southgate <andy.southgate@mushware.com> 1.2.3-1
|
|
Andy Southgate |
045b7d9 |
- Updates following review (bugzilla #309061)
|
|
Andy Southgate |
045b7d9 |
|
|
Andy Southgate |
045b7d9 |
* Thu Sep 27 2007 Andy Southgate <andy.southgate@mushware.com> 1.2.1-1
|
|
Andy Southgate |
045b7d9 |
- Created from Mandriva .spec
|