85dd6f9
Name:           amoebax
c726325
Version:        0.2.1
1fdb285
Release:        23%{?dist}
85dd6f9
Summary:        Action-Puzzle Game
85dd6f9
License:        GPLv2+ and Free Art
85dd6f9
URL:            http://www.emma-soft.com/games/amoebax/
85dd6f9
Source0:        http://www.emma-soft.com/games/amoebax/download/amoebax-%{version}.tar.bz2
e69adab
Patch0:         amoebax-0.2.0-gcc43.patch
e9f9c8c
BuildRequires:  gcc-c++
85dd6f9
BuildRequires:  SDL_mixer-devel SDL_image-devel zlib-devel libpng-devel
d4d0c50
BuildRequires:  libvorbis-devel doxygen desktop-file-utils
25d2841
BuildRequires: make
85dd6f9
Requires:       hicolor-icon-theme
85dd6f9
85dd6f9
%description
85dd6f9
Amoebax is a cute and addictive action-puzzle game. Due an awful mutation,
85dd6f9
some amoeba's species have started to multiply until they take the world if
85dd6f9
you can't stop them. Fortunately the mutation made then too unstable and
85dd6f9
lining up four or more will make them disappear.
85dd6f9
85dd6f9
Follow Kim or Tom through 6 levels in their quest to prevent the cute
85dd6f9
multiplying amoebas to take the world and become the new Amoeba Master. Watch
85dd6f9
out for the cute but amoeba's controlled creatures that will try to put and
85dd6f9
end to your quest.
85dd6f9
85dd6f9
Amoebax is designed with levels for everyone, from children to adults. With
85dd6f9
the training mode everybody will quickly become a master and the tournament
85dd6f9
mode will let you have a good time with your friends. There is also catchy
85dd6f9
music, funny sound effects, and beautiful screens that sure appeal to everyone
85dd6f9
in the family.
85dd6f9
c726325
85dd6f9
%prep
85dd6f9
%setup -q
e69adab
%patch0 -p1
c726325
85dd6f9
85dd6f9
%build
85dd6f9
%configure
85dd6f9
make %{?_smp_mflags}
85dd6f9
c726325
85dd6f9
%install
c0b2314
%make_install
85dd6f9
Richard Hughes fc1ce7e
# Register as an application to be visible in the software center
Richard Hughes fc1ce7e
#
Richard Hughes fc1ce7e
# NOTE: It would be *awesome* if this file was maintained by the upstream
Richard Hughes fc1ce7e
# project, translated and installed into the right place during `make install`.
Richard Hughes fc1ce7e
#
Richard Hughes fc1ce7e
# See http://www.freedesktop.org/software/appstream/docs/ for more details.
Richard Hughes fc1ce7e
#
Richard Hughes fc1ce7e
mkdir -p $RPM_BUILD_ROOT%{_datadir}/appdata
Richard Hughes fc1ce7e
cat > $RPM_BUILD_ROOT%{_datadir}/appdata/%{name}.appdata.xml <
Richard Hughes fc1ce7e
Richard Hughes fc1ce7e
Richard Hughes fc1ce7e
Richard Hughes fc1ce7e
EmailAddress:  jordi@emma-soft.com
Richard Hughes fc1ce7e
SentUpstream:  2014-09-17
Richard Hughes fc1ce7e
-->
Richard Hughes fc1ce7e
<application>
Richard Hughes fc1ce7e
  <id type="desktop">amoebax.desktop</id>
Richard Hughes fc1ce7e
  <metadata_license>CC0-1.0</metadata_license>
Richard Hughes fc1ce7e
  <summary>A match-4 action puzzle game</summary>
Richard Hughes fc1ce7e
  <description>
Richard Hughes fc1ce7e
    

Richard Hughes fc1ce7e
      Amoebax is a cute action puzzle game where pairs of amoeba fall down,
Richard Hughes fc1ce7e
      and when you match 4 colored amoeba in a row or column they disappear.
Richard Hughes fc1ce7e
      There are 6 levels of difficulty, and also a split-screen mode to battle
Richard Hughes fc1ce7e
      the amoeba-matching fun with a friend.
Richard Hughes fc1ce7e
    

Richard Hughes fc1ce7e
  </description>
Richard Hughes fc1ce7e
  <url type="homepage">http://www.emma-soft.com/games/amoebax/</url>
Richard Hughes fc1ce7e
  <screenshots>
Richard Hughes fc1ce7e
    <screenshot type="default">http://www.emma-soft.com/games/amoebax/screenshots/training.png</screenshot>
Richard Hughes fc1ce7e
    <screenshot>http://www.emma-soft.com/games/amoebax/screenshots/normal.png</screenshot>
Richard Hughes fc1ce7e
  </screenshots>
Richard Hughes fc1ce7e
  
Richard Hughes fc1ce7e
  <updatecontact>someone_who_cares@upstream_project.org</updatecontact>
Richard Hughes fc1ce7e
   -->
Richard Hughes fc1ce7e
</application>
Richard Hughes fc1ce7e
EOF
Richard Hughes fc1ce7e
85dd6f9
rm $RPM_BUILD_ROOT%{_datadir}/doc/%{name}/manual.pdf
85dd6f9
85dd6f9
# below is the desktop file and icon stuff.
85dd6f9
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
c0b2314
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications \
c726325
%if 0%{?fedora} && 0%{?fedora} < 19
c726325
  --vendor fedora --delete-original \
c726325
%endif
85dd6f9
  $RPM_BUILD_ROOT%{_datadir}/applications/%{name}.desktop
85dd6f9
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
85dd6f9
mv $RPM_BUILD_ROOT%{_datadir}/pixmaps/%{name}.svg \
85dd6f9
  $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/scalable/apps
85dd6f9
c726325
85dd6f9
%files
85dd6f9
%doc AUTHORS COPYING* NEWS README* THANKS TODO doc/manual.pdf
85dd6f9
%{_bindir}/%{name}
85dd6f9
%{_datadir}/%{name}
85dd6f9
%{_mandir}/man6/%{name}.6.gz
Richard Hughes fc1ce7e
%{_datadir}/appdata/%{name}.appdata.xml
c726325
%{_datadir}/applications/*%{name}.desktop
85dd6f9
%{_datadir}/icons/hicolor/scalable/apps/%{name}.svg
85dd6f9
c726325
85dd6f9
%changelog
1fdb285
* Wed Jan 19 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-23
1fdb285
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
1fdb285
ad1ce20
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-22
ad1ce20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
ad1ce20
dd2abee
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-21
dd2abee
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
dd2abee
1dc23a4
* Fri Jul 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-20
1dc23a4
- Second attempt - Rebuilt for
1dc23a4
  https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
1dc23a4
d51ee8a
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-19
d51ee8a
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
d51ee8a
6396ade
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-18
6396ade
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
6396ade
48e3dda
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-17
48e3dda
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
48e3dda
a409238
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-16
a409238
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
a409238
8ac82fa
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-15
8ac82fa
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
8ac82fa
32be4e7
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-14
32be4e7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
32be4e7
8033988
* Sun Jan 07 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.1-13
8033988
- Remove obsolete scriptlets
8033988
e5d94e8
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-12
e5d94e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e5d94e8
c1ad334
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-11
c1ad334
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c1ad334
7a89394
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-10
7a89394
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
7a89394
06ff134
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.1-9
06ff134
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
06ff134
3387a20
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-8
3387a20
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
3387a20
3c1d364
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 0.2.1-7
3c1d364
- Rebuilt for GCC 5 C++11 ABI change
3c1d364
Richard Hughes fc1ce7e
* Thu Mar 26 2015 Richard Hughes <rhughes@redhat.com> - 0.2.1-6
Richard Hughes fc1ce7e
- Add an AppData file for the software center
Richard Hughes fc1ce7e
73891a3
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-5
73891a3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
73891a3
0cceba6
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-4
0cceba6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0cceba6
7ed708d
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.1-3
7ed708d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
7ed708d
d4d0c50
* Fri May 10 2013 Hans de Goede <hdegoede@redhat.com> - 0.2.1-2
d4d0c50
- Remove no longer needed autoreconf call, %%configure from redhat-rpm-config
d4d0c50
  >= 9.1.0-42 updates config.guess and config.sub for new architecture support
d4d0c50
c726325
* Mon Apr 29 2013 Hans de Goede <hdegoede@redhat.com> - 0.2.1-1
c726325
- New upstream release 0.2.1
c726325
- run autoreconf for aarch64 support (rhbz#924996)
c726325
c0b2314
* Sat Feb 09 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 0.2.0-11
c0b2314
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
c0b2314
- clean up spec to follow current guidelines
c0b2314
b9fd914
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-10
b9fd914
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b9fd914
b993275
* Tue Feb 28 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-9
b993275
- Rebuilt for c++ ABI breakage
b993275
59c4164
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-8
59c4164
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
59c4164
3f50e85
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-7
3f50e85
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3f50e85
83ab70b
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-6
83ab70b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
83ab70b
98d1392
* Tue Feb 24 2009 Hans de Goede <hdegoede@redhat.com> 0.2.0-5
98d1392
- Fix building with gcc-4.4
98d1392
3652c9f
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.0-4
3652c9f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
3652c9f
1c61b43
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.2.0-3
1c61b43
- Autorebuild for GCC 4.3
1c61b43
e69adab
* Sat Jan 12 2008 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2.0-2
e69adab
- Fix compilation with gcc 4.3
e69adab
85dd6f9
* Sat Nov 24 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 0.2.0-1
85dd6f9
- Initial Fedora specfile partially based on Packman specfile