From dd08d9c6efaa7d0d6799891f6ddea0d0e8f0d560 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: May 25 2007 12:42:52 +0000 Subject: initial commit --- diff --git a/berusky-1.1-build.patch b/berusky-1.1-build.patch new file mode 100644 index 0000000..086ea9d --- /dev/null +++ b/berusky-1.1-build.patch @@ -0,0 +1,30 @@ +--- berusky-1.1/src/editor.cpp.build 2007-04-05 16:12:25.000000000 +0200 ++++ berusky-1.1/src/editor.cpp 2007-05-08 09:44:07.000000000 +0200 +@@ -29,7 +29,6 @@ + #include + #include + #include +-#include + #include + #include + #include +--- berusky-1.1/src/berusky.cpp.build 2007-03-13 18:34:21.000000000 +0100 ++++ berusky-1.1/src/berusky.cpp 2007-05-08 09:44:07.000000000 +0200 +@@ -30,7 +30,6 @@ + #include + #include + #include +-#include + + #include "berusky.h" + #include "berusky_gui.h" +--- berusky-1.1/src/main.cpp.build 2007-04-22 11:08:10.000000000 +0200 ++++ berusky-1.1/src/main.cpp 2007-05-08 09:49:49.000000000 +0200 +@@ -29,7 +29,6 @@ + #include + #include + #include +-#include + #include + #include + #include diff --git a/berusky.spec b/berusky.spec new file mode 100644 index 0000000..cbd0a4f --- /dev/null +++ b/berusky.spec @@ -0,0 +1,69 @@ +Summary: Berusky, 2D logic game +Name: berusky +Version: 1.1 +Release: 4%{?dist} +License: GPL +Group: Amusements/Games +Source: http://www.anakreon.cz/download/berusky/tar.gz/%{name}-%{version}.tar.gz +Patch: berusky-1.1-build.patch +URL: http://www.anakreon.cz/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +Requires: berusky-data +Requires: SDL +BuildRequires: SDL-devel + + +%description +Berusky is a 2D logic game based on an ancient puzzle named Sokoban. + +An old idea of moving boxes in a maze has been expanded with new logic +items such as explosives, stones, special gates and so on. +In addition, up to five bugs can cooperate and be controlled by the player. + +This package contains a binary for the game. + +%prep +%setup -q -n %{name}-%{version} +%patch -p1 -b .build + +%build +%configure \ + CFLAGS="$RPM_OPT_FLAGS" + +make %{?_smp_mflags} + +%install +rm -rf %{buildroot} +make DESTDIR=%{buildroot} install + +mkdir -p %{buildroot}/%{_docdir}/%{name}-%{version} + +pushd %{buildroot}/usr/doc/berusky +mv * %{buildroot}%{_docdir}/%{name}-%{version} +popd + +rm -rf %{buildroot}/%{_datadir}/%{name} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%doc %{_docdir}/%{name}-%{version}/* +%{_bindir}/berusky + +%changelog +* Wed May 23 2007 Martin Stransky 1.1-4 +- removed spec files from binary rpm package + +* Tue May 8 2007 Martin Stransky 1.1-3 +- moved documentation from doc/berusky-1.1/berusky to doc/berusky-1.1 + +* Tue May 8 2007 Martin Stransky 1.1-2 +- fixed build in mock + +* Mon Apr 23 2007 Martin Stransky 1.1-1 +- fixes from #237416 + +* Fri Apr 20 2007 Martin Stransky 1.0-1 +- initial build diff --git a/sources b/sources index e69de29..1f057ce 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +bb0a03a9fde970124a2674943775c117 berusky-1.1.tar.gz