Andy Southgate 045b7d9
Summary:        Action game in four spatial dimensions
Andy Southgate 045b7d9
Name:           adanaxisgpl
Andy Southgate 48a949e
Version:        1.2.5
c53998b
Release:        34%{?dist}
Andy Southgate 045b7d9
License:        GPLv2
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
Igor Gnatenko 2550c2f
BuildRequires:  gcc
c120c42
BuildRequires:  gcc-c++
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
%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
c53998b
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-34
c53998b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c53998b
c1712d7
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-33
c1712d7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c1712d7
5f3d63d
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-32
5f3d63d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
5f3d63d
8e4d2e5
* Mon Jan 14 2019 Björn Esser <besser82@fedoraproject.org> - 1.2.5-31
8e4d2e5
- Rebuilt for libcrypt.so.2 (#1666033)
8e4d2e5
9cc8fa9
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-30
9cc8fa9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
9cc8fa9
a560c2f
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-29
a560c2f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
a560c2f
fcceb48
* Sat Jan 20 2018 Björn Esser <besser82@fedoraproject.org> - 1.2.5-28
fcceb48
- Rebuilt for switch to libxcrypt
fcceb48
52035d0
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.2.5-27
52035d0
- Remove obsolete scriptlets
52035d0
1654b73
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-26
1654b73
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
1654b73
3e4a526
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-25
3e4a526
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
3e4a526
e5c479d
* Mon May 15 2017 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-24
e5c479d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_27_Mass_Rebuild
e5c479d
dcb0393
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-23
dcb0393
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
dcb0393
1619329
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.5-22
1619329
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
1619329
293fe80
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-21
293fe80
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
293fe80
0935dca
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.2.5-20
0935dca
- Rebuilt for GCC 5 C++11 ABI change
0935dca
0174df6
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-19
0174df6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
0174df6
5ab9f54
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.5-18
5ab9f54
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
5ab9f54
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