From 217fdc5983d43b15b113e5a69188036879472579 Mon Sep 17 00:00:00 2001 From: Martin Stransky Date: May 25 2007 12:47:00 +0000 Subject: initial commit --- diff --git a/berusky-data.spec b/berusky-data.spec new file mode 100644 index 0000000..312bfa1 --- /dev/null +++ b/berusky-data.spec @@ -0,0 +1,60 @@ +%define game_name berusky + +Summary: A datafile for Berusky +Name: berusky-data +Version: 1.0 +Release: 3%{?dist} +License: GPL +Group: Amusements/Games +Source: http://www.anakreon.cz/download/berusky/tar.gz/%{name}-%{version}.tar.gz +URL: http://www.anakreon.cz/ +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch + +%description +A datafile for Berusky. 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 data for the game, i.e. files with graphics, levels, +game rules and configuration. + +%prep +%setup -q -n %{name}-%{version} + +%build + +%install +rm -rf %{buildroot} +mkdir -p %{buildroot}%{_datadir}/%{game_name} + +mv GameData %{buildroot}%{_datadir}/%{game_name} +mv Graphics %{buildroot}%{_datadir}/%{game_name} +mv Levels %{buildroot}%{_datadir}/%{game_name} +mv README %{buildroot}%{_datadir}/%{game_name} +mv COPYING %{buildroot}%{_datadir}/%{game_name} + +mkdir -p %{buildroot}/var/games/%{game_name} +install -m 644 berusky.ini %{buildroot}/var/games/%{game_name} + +%clean +rm -rf %{buildroot} + +%files +%defattr(-, root, root) +%{_datadir}/%{game_name}/* +/var/games/%{game_name}/* + +%changelog +* Tue May 8 2007 Martin Stransky 1.0-3 +- added build section + +* Mon Apr 23 2007 Martin Stransky 1.0-2 +- fixes from #237416 + +* Fri Apr 20 2007 Martin Stransky 1.0-1 +- initial build + diff --git a/sources b/sources index e69de29..821aa41 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +25d4258481bd315eadccecb098c06f70 berusky-data-1.0.tar.gz