From 15a8fe494db905e70d74a37ad10349ecb130fd81 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Jun 09 2008 04:50:04 +0000 Subject: gamazons-0.83 --- diff --git a/.cvsignore b/.cvsignore index e69de29..d1f7f01 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +gamazons-0.83.tar.gz diff --git a/gamazons.spec b/gamazons.spec new file mode 100644 index 0000000..a0f6a26 --- /dev/null +++ b/gamazons.spec @@ -0,0 +1,70 @@ +Name: gamazons +Version: 0.83 +Release: 2%{?dist} +Summary: GNOME Amazons + +Group: Amusements/Games +License: GPLv2 +URL: http://www.yorgalily.org/gamazons/ +Source0: http://www.yorgalily.org/gamazons/src/gamazons-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: libgnomeui-devel desktop-file-utils + +%description +Amazons is a game played on a 10x10 chess board. Each side has four +pieces (amazons) that move like chess queens (in a straight line in +any direction). Instead of capturing pieces like in chess, the game is +determined based on who moves last. + +Each move consists of two parts. First an amazon moves to a new square +and then fires an arrow to another square (the arrow is fired in a +straight line in any direction from the square the amazon landed +on). The square the arrow lands on becomes a permenant block for the +rest of the game. No one can move over it, or fire an arrow over +it. Every turn an amazon must move and fire an arrow, so every turn +there is one less square available on the board. Try and block in your +opponent or section off a good chunk of the board for yourself. + + +%prep +%setup -q + + +%build +%configure +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +desktop-file-install --vendor="fedora" \ + --delete-original \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications/ \ + $RPM_BUILD_ROOT%{_datadir}/applications/gamazons.desktop + + +%clean +rm -rf $RPM_BUILD_ROOT + + +%files +%defattr(-,root,root,-) +%doc COPYING src/gamazon.bugs src/thots +%{_bindir}/gamazons +%{_datadir}/applications/fedora-gamazons.desktop +%{_datadir}/gnome/help +%{_datadir}/gamazons +%{_datadir}/pixmaps/gamazons +%{_datadir}/pixmaps/gnome-gamazons.png + + + +%changelog +* Mon Jun 9 2008 Michel Salim - 0.83-2 +- Add thots (TODO) and gamazon.bugs to %%doc +- No longer require yelp; instead, make sure we own the help directory + +* Sun Jun 1 2008 Michel Salim - 0.83-1 +- Initial package diff --git a/sources b/sources index e69de29..dabfed5 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +33c2b373fd7fff25282eae56d5926a7a gamazons-0.83.tar.gz