|
|
6a1ab9f |
Name: atanks
|
|
|
53965e4 |
Version: 6.5
|
|
|
b793809 |
Release: 10%{?dist}
|
|
|
6a1ab9f |
Summary: Remake of a classic DOS game "Scorched Earth"
|
|
|
6a1ab9f |
|
|
|
997ed23 |
License: GPLv2+
|
|
|
6a1ab9f |
URL: http://atanks.sourceforge.net/
|
|
|
c1a5386 |
Source0: http://download.sourceforge.net/atanks/atanks-%{version}.tar.gz
|
|
Marcin Juszkiewicz |
e67b99d |
|
|
Marcin Juszkiewicz |
e67b99d |
# atanks upstream adds "-march=native -O2" to CXXFLAGS which may affect Fedora
|
|
Marcin Juszkiewicz |
e67b99d |
# optimization flags. Also not every platform has -march=native option.
|
|
Marcin Juszkiewicz |
e67b99d |
Patch0: atanks-remove-cxxflags-mangling.patch
|
|
Marcin Juszkiewicz |
e67b99d |
|
|
|
6a1ab9f |
|
|
|
cfc42c9 |
BuildRequires: allegro-devel, desktop-file-utils, gcc-c++
|
|
|
7cf5171 |
Requires: hicolor-icon-theme
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
%description
|
|
|
6a1ab9f |
Atomic Tanks is a game in which you control an overly-powerful
|
|
|
6a1ab9f |
tank and attempt to blow up other highly powerful tanks. Players
|
|
|
6a1ab9f |
get to select a number of weapons and defensive items and then
|
|
|
6a1ab9f |
attack each other in a turn-based manner. The last tank standing
|
|
|
6a1ab9f |
is the winner.
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
%prep
|
|
|
1fc0592 |
%setup -q
|
|
Marcin Juszkiewicz |
e67b99d |
%patch0 -p1
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
%build
|
|
|
809023e |
PREFIX=%{_prefix} CXXFLAGS="%{optflags}" LDFLAGS="$RPM_LD_FLAGS" make %{?_smp_mflags} DEBUG=NO
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
%install
|
|
|
6a1ab9f |
rm -rf $RPM_BUILD_ROOT
|
|
|
6a1ab9f |
mkdir -p -m 0755 \
|
|
|
6a1ab9f |
$RPM_BUILD_ROOT%{_datadir}/games/atanks \
|
|
|
6a1ab9f |
$RPM_BUILD_ROOT%{_bindir} \
|
|
|
6a1ab9f |
$RPM_BUILD_ROOT%{_datadir}/pixmaps \
|
|
|
6a1ab9f |
$RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
c1a5386 |
install -p -m 0644 *.txt $RPM_BUILD_ROOT%{_datadir}/games/atanks/
|
|
|
80dd146 |
install -p -m 0644 unicode.dat $RPM_BUILD_ROOT%{_datadir}/games/atanks/
|
|
|
bf3cc76 |
install -p -m 0755 atanks $RPM_BUILD_ROOT%{_bindir}/atanks
|
|
|
cb0cde0 |
install -p -m 0644 atanks.png $RPM_BUILD_ROOT%{_datadir}/pixmaps/
|
|
|
74ab645 |
mkdir -p %{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
|
|
74ab645 |
install -p -m 644 atanks.png \
|
|
|
74ab645 |
%{buildroot}%{_datadir}/icons/hicolor/48x48/apps
|
|
|
74ab645 |
|
|
|
80dd146 |
cp -pr button exporter misc missile sound stock tank tankgun text title $RPM_BUILD_ROOT%{_datadir}/games/atanks/
|
|
|
6a1ab9f |
desktop-file-install \
|
|
|
6a1ab9f |
--mode 0644 \
|
|
|
6a1ab9f |
--dir $RPM_BUILD_ROOT%{_datadir}/applications/ \
|
|
|
7cf5171 |
--add-category StrategyGame \
|
|
|
1fc0592 |
atanks.desktop
|
|
|
6a1ab9f |
|
|
Richard Hughes |
d0e3a9e |
# Register as an application to be visible in the software center
|
|
Richard Hughes |
d0e3a9e |
#
|
|
Richard Hughes |
d0e3a9e |
# NOTE: It would be *awesome* if this file was maintained by the upstream
|
|
Richard Hughes |
d0e3a9e |
# project, translated and installed into the right place during `make install`.
|
|
Richard Hughes |
d0e3a9e |
#
|
|
Richard Hughes |
d0e3a9e |
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
|
|
Richard Hughes |
d0e3a9e |
#
|
|
Richard Hughes |
d0e3a9e |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
|
|
Richard Hughes |
d0e3a9e |
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
|
|
Richard Hughes |
d0e3a9e |
|
|
Richard Hughes |
d0e3a9e |
|
|
Richard Hughes |
d0e3a9e |
|
|
Richard Hughes |
d0e3a9e |
BugReportURL: jessefrgsmith@yahoo.ca
|
|
Richard Hughes |
d0e3a9e |
SentUpstream: 2014-09-17
|
|
Richard Hughes |
d0e3a9e |
-->
|
|
Richard Hughes |
d0e3a9e |
<application>
|
|
Richard Hughes |
d0e3a9e |
<id type="desktop">atanks.desktop</id>
|
|
Richard Hughes |
d0e3a9e |
<metadata_license>CC0-1.0</metadata_license>
|
|
Richard Hughes |
d0e3a9e |
<summary>Turn-based artillery strategy game</summary>
|
|
Richard Hughes |
d0e3a9e |
<description>
|
|
Richard Hughes |
d0e3a9e |
|
|
Richard Hughes |
d0e3a9e |
Atomic Tanks is a turn based artillery strategy game where opponents
|
|
Richard Hughes |
d0e3a9e |
take turns to bombard each other with a wide array of different weapons.
|
|
Richard Hughes |
d0e3a9e |
To make things more interesting, Atomic Tanks also features desctructable
|
|
Richard Hughes |
d0e3a9e |
landscapes, teleporting, parachutes and different weather conditions.
|
|
Richard Hughes |
d0e3a9e |
|
|
Richard Hughes |
d0e3a9e |
</description>
|
|
Richard Hughes |
d0e3a9e |
<url type="homepage">http://atanks.sourceforge.net/index.html</url>
|
|
Richard Hughes |
d0e3a9e |
<screenshots>
|
|
Richard Hughes |
d0e3a9e |
<screenshot type="default">http://atanks.sourceforge.net/Screenshots/scrnshot29.png</screenshot>
|
|
Richard Hughes |
d0e3a9e |
</screenshots>
|
|
Richard Hughes |
d0e3a9e |
|
|
Richard Hughes |
d0e3a9e |
<updatecontact>someone_who_cares@upstream_project.org</updatecontact>
|
|
Richard Hughes |
d0e3a9e |
-->
|
|
Richard Hughes |
d0e3a9e |
</application>
|
|
Richard Hughes |
d0e3a9e |
EOF
|
|
Richard Hughes |
d0e3a9e |
|
|
|
6a1ab9f |
%files
|
|
|
e96a1cb |
%license COPYING
|
|
|
e96a1cb |
%doc Changelog README TODO
|
|
|
80dd146 |
%dir %{_datadir}/games/atanks
|
|
|
80dd146 |
%{_datadir}/games/atanks/*
|
|
|
6a1ab9f |
%{_datadir}/pixmaps/*
|
|
|
74ab645 |
%{_datadir}/icons/hicolor/48x48/apps/*
|
|
Richard Hughes |
d0e3a9e |
%{_datadir}/appdata/*.appdata.xml
|
|
|
6a1ab9f |
%{_datadir}/applications/*
|
|
|
bf3cc76 |
%{_bindir}/atanks
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
|
|
|
6a1ab9f |
%changelog
|
|
|
b793809 |
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-10
|
|
|
b793809 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
b793809 |
|
|
|
a11b2ef |
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-9
|
|
|
a11b2ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
a11b2ef |
|
|
|
77997dc |
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-8
|
|
|
77997dc |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
77997dc |
|
|
|
12f4547 |
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-7
|
|
|
12f4547 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
12f4547 |
|
|
|
32d79c1 |
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-6
|
|
|
32d79c1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
32d79c1 |
|
|
|
7658326 |
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 6.5-5
|
|
|
7658326 |
- Remove obsolete scriptlets
|
|
|
7658326 |
|
|
|
8df554b |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-4
|
|
|
8df554b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
8df554b |
|
|
|
af9ffc0 |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-3
|
|
|
af9ffc0 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
af9ffc0 |
|
|
|
7b591ef |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 6.5-2
|
|
|
7b591ef |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
7b591ef |
|
|
|
53965e4 |
* Thu Nov 03 2016 Jonathan Ciesla <limburgher@gmail.com> - 6.5-1
|
|
|
53965e4 |
- 6.5
|
|
|
53965e4 |
|
|
|
bf3cc76 |
* Wed Apr 27 2016 Jonathan Ciesla <limburgher@gmail.com> - 6.4-3
|
|
|
bf3cc76 |
- Drop atanks.sh, not longer needed, and spec cleanup.
|
|
|
bf3cc76 |
|
|
|
b016b12 |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 6.4-2
|
|
|
b016b12 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
b016b12 |
|
|
|
2e8ceaf |
* Wed Dec 23 2015 Jonathan Ciesla <limburgher@gmail.com> - 6.4-1
|
|
|
2e8ceaf |
- Latest upstream.
|
|
|
2e8ceaf |
|
|
|
cfc42c9 |
* Wed Dec 02 2015 Jonathan Ciesla <limburgher@gmail.com> - 6.3-4
|
|
|
cfc42c9 |
- BR fix, BZ 1230470.
|
|
|
cfc42c9 |
|
|
Marcin Juszkiewicz |
e67b99d |
* Thu Sep 24 2015 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 6.3-3
|
|
Marcin Juszkiewicz |
e67b99d |
- removed upstream mangling of CXXFLAGS to build on secondary archs - rhbz#1251422
|
|
Marcin Juszkiewicz |
e67b99d |
|
|
|
f7404c7 |
* Wed Aug 12 2015 Ville Skyttä <ville.skytta@iki.fi> - 6.3-2
|
|
|
e96a1cb |
- Build with $RPM_OPT/LD_FLAGS again, mark COPYING as %%license
|
|
|
e96a1cb |
|
|
|
1302e83 |
* Tue Aug 04 2015 Jonathan Ciesla <limburgher@gmail.com> - 6.3-1
|
|
|
1302e83 |
- 6.3
|
|
|
1302e83 |
|
|
|
3abbbff |
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.2-3
|
|
|
3abbbff |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3abbbff |
|
|
|
63e7600 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 6.2-2
|
|
|
63e7600 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
63e7600 |
|
|
|
2bc3ac4 |
* Mon Apr 06 2015 Jonathan Ciesla <limburgher@gmail.com> - 6.2-1
|
|
|
2bc3ac4 |
- 6.2
|
|
|
2bc3ac4 |
- Fixed atanks.sh --nothread flag.
|
|
|
2bc3ac4 |
|
|
Richard Hughes |
d0e3a9e |
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 6.1-2
|
|
Richard Hughes |
d0e3a9e |
- Add an AppData file for the software center
|
|
Richard Hughes |
d0e3a9e |
|
|
|
14f3773 |
* Fri Dec 19 2014 Jonathan Ciesla <limburgher@gmail.com> - 6.1-1
|
|
|
14f3773 |
- 6.1
|
|
|
14f3773 |
|
|
|
f63f284 |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-3
|
|
|
f63f284 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
f63f284 |
|
|
|
76ff03f |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 6.0-2
|
|
|
76ff03f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
76ff03f |
|
|
|
520bd51 |
* Mon Jun 02 2014 Jonathan Ciesla <limburgher@gmail.com> - 6.0-1
|
|
|
520bd51 |
- 6.0
|
|
|
520bd51 |
|
|
|
52acec2 |
* Mon Mar 31 2014 Jonathan Ciesla <limburgher@gmail.com> - 5.9-1
|
|
|
52acec2 |
- 5.9
|
|
|
52acec2 |
|
|
|
36cec79 |
* Mon Jan 27 2014 Jonathan Ciesla <limburgher@gmail.com> - 5.8-1
|
|
|
36cec79 |
- 5.8, fixes for some gcc-specific crashes.
|
|
|
36cec79 |
|
|
|
9fd0c17 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7-3
|
|
|
9fd0c17 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
9fd0c17 |
|
|
|
a0a28f9 |
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.7-2
|
|
|
a0a28f9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
a0a28f9 |
|
|
|
f70e3f4 |
* Fri Oct 26 2012 Jonathan Ciesla <limburgher@gmail.com> - 5.7-1
|
|
|
f70e3f4 |
- New upstream, fix for Options crash.
|
|
|
f70e3f4 |
|
|
|
11e30fd |
* Thu Oct 04 2012 Jonathan Ciesla <limburgher@gmail.com> - 5.6-1
|
|
|
11e30fd |
- Minor upstream bugfix.
|
|
|
11e30fd |
|
|
|
e151910 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.5-2
|
|
|
e151910 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
e151910 |
|
|
|
26b4600 |
* Tue May 22 2012 Jonathan Ciesla <limburgher@gmail.com> - 5.5-1
|
|
|
26b4600 |
- Minor upstream bugfix.
|
|
|
26b4600 |
|
|
|
4870157 |
* Mon Apr 23 2012 Jonathan Ciesla <limburgher@gmail.com> - 5.4-2
|
|
|
4870157 |
- Fix OPTFLAGS, BZ 815393.
|
|
|
4870157 |
|
|
|
6b8c178 |
* Tue Apr 10 2012 Jonathan Ciesla <limburgher@gmail.com> - 5.4-1
|
|
|
6b8c178 |
- New upstream.
|
|
|
d7c62d7 |
- pthread patch upstreamed.
|
|
|
6b8c178 |
|
|
|
8232042 |
* Mon Mar 12 2012 Jonathan Ciesla <limburgher@gmail.com> - 5.3-1
|
|
|
8232042 |
- New upstream.
|
|
|
8232042 |
|
|
|
0b44048 |
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-3
|
|
|
0b44048 |
- Rebuilt for c++ ABI breakage
|
|
|
0b44048 |
|
|
|
8c94d6d |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.2-2
|
|
|
8c94d6d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
8c94d6d |
|
|
Jon Ciesla |
e8a7828 |
* Tue Oct 18 2011 Jon Ciesla <limb@jcomserv.net> - 5.2-1
|
|
Jon Ciesla |
e8a7828 |
- New upstream.
|
|
Jon Ciesla |
e8a7828 |
|
|
Nikola Pajkovsky |
ab5079e |
* Thu Jul 14 2011 Nikola Pajkovsky <npajkovs@redhat.com> - 5.1-1
|
|
Nikola Pajkovsky |
ab5079e |
- new upstream version
|
|
Nikola Pajkovsky |
ab5079e |
|
|
|
5c82dbf |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 4.7-3
|
|
|
5c82dbf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
5c82dbf |
|
|
Jesse Keating |
931224d |
* Wed Sep 29 2010 jkeating - 4.7-2
|
|
Jesse Keating |
931224d |
- Rebuilt for gcc bug 634757
|
|
Jesse Keating |
931224d |
|
|
Nikola Pajkovsky |
1c1b61c |
* Mon Sep 13 2010 Nikola Pajkovsky <npajkovs@redhat.com> - 4.7-1
|
|
Nikola Pajkovsky |
1c1b61c |
- bump up to 4.7
|
|
Nikola Pajkovsky |
1c1b61c |
|
|
Nikola Pajkovsky |
917e720 |
* Wed Feb 17 2010 Nikola Pajkovsky <npajkovs@redhat.com> - 4.3-3
|
|
Nikola Pajkovsky |
917e720 |
- Resolves: #564768 - FTBFS atanks-4.3-2.fc13: ImplicitDSOLinking
|
|
Nikola Pajkovsky |
917e720 |
|
|
|
7cf5171 |
* Fri Jan 22 2010 Jon Ciesla <limb@jcomserv.net> - 4.3-2
|
|
|
7cf5171 |
- Update icon cache.
|
|
|
7cf5171 |
|
|
|
1f36563 |
* Fri Jan 15 2010 Jon Ciesla <limb@jcomserv.net> - 4.3-1
|
|
|
1f36563 |
- New upstream.
|
|
|
1f36563 |
|
|
|
ce6a310 |
* Wed Jan 13 2010 Jon Ciesla <limb@jcomserv.net> - 4.2-1
|
|
|
ce6a310 |
- New upstream.
|
|
|
ce6a310 |
- Dropped nothreads patch, upstreamed.
|
|
|
11b62c4 |
|
|
|
f0054ef |
* Fri Nov 06 2009 Jon Ciesla <limb@jcomserv.net> - 4.1-3
|
|
|
f0054ef |
- Fix crash on SMP systems.
|
|
|
f0054ef |
|
|
|
80dd146 |
* Wed Nov 04 2009 Jon Ciesla <limb@jcomserv.net> - 4.1-2
|
|
|
80dd146 |
- Add unicode.dat, datafiles.
|
|
|
80dd146 |
|
|
Nikola Pajkovsky |
352c6f4 |
* Thu Oct 29 2009 Nikola Pajkovsky <npajkovs@redhat.com> 4.1-1
|
|
Nikola Pajkovsky |
352c6f4 |
- Upstream 4.1
|
|
Nikola Pajkovsky |
352c6f4 |
|
|
|
c1a5386 |
* Thu Sep 17 2009 Jon Ciesla <limb@jcomserv.net> - 3.9-1
|
|
|
c1a5386 |
- Upstream 3.9
|
|
|
c1a5386 |
|
|
|
94fba9b |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.7-2
|
|
|
94fba9b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
94fba9b |
|
|
|
1fc0592 |
* Sat Jun 27 2009 Konstantin Ryabitsev <icon@fedoraproject.org> - 3.7-1
|
|
|
1fc0592 |
- Upstream 3.7
|
|
|
1fc0592 |
|
|
|
6c7ddf9 |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 3.2-2
|
|
|
6c7ddf9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
6c7ddf9 |
|
|
|
cb0cde0 |
* Sun Nov 23 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 3.2-1
|
|
|
cb0cde0 |
- Upstream 3.2
|
|
|
cb0cde0 |
- Use upstream atanks.png
|
|
|
cb0cde0 |
|
|
|
bd054cd |
* Sat Apr 12 2008 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.9-1
|
|
|
bd054cd |
- Upstream 2.9
|
|
|
76d358a |
|
|
|
07f6bb1 |
* Sun Dec 23 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.7-1
|
|
|
07f6bb1 |
- Upstream 2.7
|
|
|
07f6bb1 |
|
|
|
997ed23 |
* Fri Aug 17 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.5-1
|
|
|
997ed23 |
- Upstream 2.5
|
|
|
997ed23 |
- Appease license naming gods
|
|
|
997ed23 |
|
|
|
6d314af |
* Mon Jul 02 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.4-1
|
|
|
6d314af |
- Importing into Fedora CVS and building.
|
|
|
6d314af |
|
|
|
6a1ab9f |
* Fri Jun 29 2007 Konstantin Ryabitsev <icon@fedoraproject.org> - 2.4-0.1
|
|
|
6a1ab9f |
- Initial packaging for Fedora.
|