|
|
2290781 |
Name: ants
|
|
|
2290781 |
Version: 1.4
|
|
|
ba19fcf |
Release: 21%{?dist}
|
|
|
701c431 |
Summary: Guide the insects safely home before they drop of the cliff
|
|
|
2290781 |
Group: Amusements/Games
|
|
|
2290781 |
License: Public Domain
|
|
|
2290781 |
URL: http://www.allegro.cc/depot/Ants
|
|
|
2290781 |
Source0: http://games.linux.sk/files/ants-1.4.tar.gz
|
|
|
2290781 |
Source1: ants.desktop
|
|
|
2290781 |
Source2: ants-level-editor.desktop
|
|
|
2290781 |
Source3: ants.png
|
|
|
2290781 |
Source4: license-info
|
|
|
2290781 |
Patch0: ants-1.4-fixes.patch
|
|
|
2290781 |
BuildRequires: allegro-devel desktop-file-utils
|
|
|
2290781 |
Requires: hicolor-icon-theme
|
|
|
2290781 |
|
|
|
2290781 |
%description
|
|
|
c54954e |
You take command in the game of a bunch of small ants and have to guide them
|
|
|
c54954e |
around in levels. Since the ants walk on their own, the player can only
|
|
|
c54954e |
influence them by giving them commands, like build a bridge, dig a hole or
|
|
|
c54954e |
redirect all ants in the other direction. The goal of each level is to
|
|
|
c54954e |
reach the exit, for which multiple combination of commands are necessary.
|
|
|
c54954e |
The game is presented in a 2D side view.
|
|
|
2290781 |
|
|
|
2290781 |
|
|
|
2290781 |
%package level-editor
|
|
|
2290781 |
Summary: Ants level editor
|
|
|
2290781 |
Group: Amusements/Games
|
|
|
2290781 |
Requires: %{name} = %{version}-%{release}
|
|
|
2290781 |
|
|
|
2290781 |
%description level-editor
|
|
|
2290781 |
This package contains a level editor for ants, notice that you must run this
|
|
|
2290781 |
at root, or change the owner of the files under %{_datadir}/%{name}, as the
|
|
|
2290781 |
level editor edits the files directly under %{_datadir}/%{name} .
|
|
|
2290781 |
|
|
|
2290781 |
%prep
|
|
|
2290781 |
%setup -q
|
|
|
2290781 |
%patch0 -p1 -z .fix
|
|
|
2290781 |
sed -i 's/\r//g' ants.txt
|
|
|
2290781 |
cp %{SOURCE4} .
|
|
|
2290781 |
|
|
|
2290781 |
%build
|
|
|
2290781 |
make %{?_smp_mflags} EXTRACFLAGS="$RPM_OPT_FLAGS"
|
|
|
2290781 |
|
|
|
2290781 |
%install
|
|
|
2290781 |
#no make install target, DIY
|
|
|
2290781 |
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
|
|
2290781 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
2290781 |
install -m 755 %{name} %{name}_le $RPM_BUILD_ROOT%{_bindir}
|
|
|
2290781 |
cp -a %{name}.dat levels1 levels2 $RPM_BUILD_ROOT%{_datadir}/%{name}
|
|
|
2290781 |
|
|
|
2290781 |
# below is the desktop file and icon stuff.
|
|
|
2290781 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications
|
|
|
701c431 |
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1}
|
|
|
701c431 |
desktop-file-install --dir $RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2}
|
|
|
2290781 |
mkdir -p $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps
|
|
|
2290781 |
install -p -m 644 %{SOURCE3} \
|
|
|
2290781 |
$RPM_BUILD_ROOT%{_datadir}/icons/hicolor/32x32/apps/
|
|
|
2290781 |
|
|
|
2290781 |
%post
|
|
|
d93d533 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
2290781 |
|
|
|
2290781 |
%postun
|
|
|
d93d533 |
if [ $1 -eq 0 ] ; then
|
|
|
d93d533 |
touch --no-create %{_datadir}/icons/hicolor &>/dev/null
|
|
|
d93d533 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
5a12d4c |
fi
|
|
|
2290781 |
|
|
|
d93d533 |
%posttrans
|
|
|
d93d533 |
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
|
|
|
d93d533 |
|
|
|
2290781 |
%files
|
|
|
2290781 |
%doc Changelog ants.txt license-info
|
|
|
2290781 |
%{_bindir}/%{name}
|
|
|
2290781 |
%{_datadir}/%{name}
|
|
|
701c431 |
%{_datadir}/applications/%{name}.desktop
|
|
|
2290781 |
%{_datadir}/icons/hicolor/32x32/apps/%{name}.png
|
|
|
2290781 |
|
|
|
2290781 |
%files level-editor
|
|
|
2290781 |
%{_bindir}/%{name}_le
|
|
|
701c431 |
%{_datadir}/applications/%{name}-level-editor.desktop
|
|
|
2290781 |
|
|
|
2290781 |
%changelog
|
|
|
ba19fcf |
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-21
|
|
|
ba19fcf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
ba19fcf |
|
|
|
5b1a81c |
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-20
|
|
|
5b1a81c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5b1a81c |
|
|
|
4fe5a87 |
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-19
|
|
|
4fe5a87 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
4fe5a87 |
|
|
|
bf4841c |
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4-18
|
|
|
bf4841c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
bf4841c |
|
|
|
3f5098d |
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-17
|
|
|
3f5098d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
3f5098d |
|
|
|
2df2af0 |
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.4-16
|
|
|
2df2af0 |
- Rebuilt for GCC 5 C++11 ABI change
|
|
|
2df2af0 |
|
|
|
90f0c4b |
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-15
|
|
|
90f0c4b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
90f0c4b |
|
|
|
580f520 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-14
|
|
|
580f520 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
580f520 |
|
|
|
91a0981 |
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-13
|
|
|
91a0981 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
91a0981 |
|
|
|
701c431 |
* Sat Feb 09 2013 Rahul Sundaram <sundaram@fedoraproject.org> - 1.4-12
|
|
|
701c431 |
- remove vendor tag from desktop file. https://fedorahosted.org/fpc/ticket/247
|
|
|
701c431 |
- clean up spec to follow current guidelines
|
|
|
701c431 |
|
|
|
a0a7876 |
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-11
|
|
|
a0a7876 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
a0a7876 |
|
|
|
f7ecb1d |
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-10
|
|
|
f7ecb1d |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
f7ecb1d |
|
|
|
d93d533 |
* Fri Jul 15 2011 Hans de Goede <hdegoede@redhat.com> - 1.4-9
|
|
|
d93d533 |
- Rebuild for new allegro-4.4
|
|
|
d93d533 |
|
|
|
22c72d2 |
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-8
|
|
|
22c72d2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
22c72d2 |
|
|
|
987245a |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-7
|
|
|
987245a |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
987245a |
|
|
|
b19d1fb |
* Mon Feb 23 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4-6
|
|
|
b19d1fb |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
|
|
b19d1fb |
|
|
|
c54954e |
* Fri Jan 30 2009 Hans de Goede <hdegoede@redhat.com> 1.4-5
|
|
|
c54954e |
- Update description for new trademark guidelines
|
|
|
c54954e |
|
|
|
697dd3e |
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.4-4
|
|
|
697dd3e |
- Autorebuild for GCC 4.3
|
|
|
697dd3e |
|
|
|
469e89e |
* Tue Aug 21 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4-3
|
|
|
469e89e |
- Rebuild for buildId
|
|
|
469e89e |
|
|
|
2290781 |
* Thu May 17 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4-2
|
|
|
2290781 |
- Add desktop menu entry for the level editor
|
|
|
2290781 |
|
|
|
2290781 |
* Sun May 13 2007 Hans de Goede <j.w.r.degoede@hhs.nl> 1.4-1
|
|
|
2290781 |
- Initial Fedora Extras package
|