1 Summary: Xgalaga is a clone of the famous classic arcade game
2 Summary(pl.UTF-8): Xgalaga to klon bardzo popularnej gry
7 Group: X11/Applications/Games
8 Source0: http://dl.sourceforge.net/xgalaga/%{name}_%{version}.orig.tar.gz
9 # Source0-md5: 9f7ee685e9c4741b5f0edc3f91df9510
10 Patch0: %{name}-compile.patch
11 Patch1: %{name}-DESTDIR.patch
12 Patch2: %{name}-score.patch
13 Patch3: %{name}-struct.patch
14 Patch4: %{name}-libs.patch
15 URL: http://rumsey.org/xgal.html
16 BuildRequires: automake
17 BuildRequires: xorg-lib-libXmu-devel
18 BuildRequires: xorg-lib-libXpm-devel
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 %define _prefix /usr/share/xgalaga
22 %define _exec_prefix /usr/bin
25 Xgalaga is a clone of the famous classic arcade game. Excellent
26 special effects make it worth a try especially if you like a twitch
29 %description -l pl.UTF-8
30 Xgalaga to klon bardzo popularnej gry. Warto ją wypróbować dla jej
31 wspaniałych efektów specjalnych.
42 cp -f /usr/share/automake/config.sub .
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/var/games
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 touch $RPM_BUILD_ROOT/var/games/xgalaga.score
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
61 %attr(2755,root,games) %{_exec_prefix}/*
64 %attr(664,root,games) /var/games/xgalaga.score