]> git.pld-linux.org Git - SPECS.git/blob - xgalaga.spec
SPECS updated Sat 31 Jul 20:26:02 CEST 2021
[SPECS.git] / xgalaga.spec
1 Summary:        Xgalaga is a clone of the famous classic arcade game
2 Summary(pl.UTF-8):      Xgalaga to klon bardzo popularnej gry
3 Name:           xgalaga
4 Version:        2.0.34
5 Release:        1
6 License:        GPL
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)
20
21 %define         _prefix         /usr/share/xgalaga
22 %define         _exec_prefix    /usr/bin
23
24 %description
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
27 game.
28
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.
32
33 %prep
34 %setup  -q
35 %patch0 -p1
36 %patch1 -p1
37 %patch2 -p1
38 %patch3 -p1
39 %patch4 -p1
40
41 %build
42 cp -f /usr/share/automake/config.sub .
43 %configure2_13
44
45 %{__make}
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49 install -d $RPM_BUILD_ROOT/var/games
50
51 %{__make} install DESTDIR=$RPM_BUILD_ROOT
52 touch $RPM_BUILD_ROOT/var/games/xgalaga.score
53
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
59 %defattr(644,root,root,755)
60 %doc README CHANGES
61 %attr(2755,root,games) %{_exec_prefix}/*
62 %dir %{_prefix}
63 %{_prefix}/*
64 %attr(664,root,games) /var/games/xgalaga.score
This page took 0.238731 seconds and 3 git commands to generate.