]>
Commit | Line | Data |
---|---|---|
1 | # TODO: | |
2 | # - check sounds - doesn't work for me | |
3 | # - check unpacked files | |
4 | ||
5 | Summary: Advanced Strategic Command - a free, turn based strategy game | |
6 | Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna | |
7 | Name: asc | |
8 | Version: 2.0.1.0 | |
9 | Release: 0.1 | |
10 | License: GPL v2+ | |
11 | Group: X11/Applications/Games/Strategy | |
12 | Source0: http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 2758e2bbbd5892ccba8d9b4ac5a6d6af | |
14 | Source1: %{name}.desktop | |
15 | Source2: %{name}.xpm | |
16 | URL: http://www.asc-hq.org/ | |
17 | BuildRequires: SDL_image-devel | |
18 | BuildRequires: SDL_mixer-devel >= 1.2 | |
19 | BuildRequires: SDL_sound-devel | |
20 | BuildRequires: autoconf | |
21 | BuildRequires: automake | |
22 | BuildRequires: boost-regex-devel | |
23 | BuildRequires: expat-devel | |
24 | BuildRequires: freetype-devel | |
25 | BuildRequires: libjpeg-devel | |
26 | BuildRequires: libsigc++12-devel >= 1.2 | |
27 | BuildRequires: libtool | |
28 | BuildRequires: physfs-devel | |
29 | Obsoletes: asc-music | |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
31 | ||
32 | %description | |
33 | ASC is a turn-based strategy game in the tradition of Battle Isle 2/3. | |
34 | It can be played against the computer or against other human players | |
35 | (either hotseat or by mail). | |
36 | ||
37 | %description -l pl.UTF-8 | |
38 | ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3. | |
39 | Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem | |
40 | (przy jednym komputerze, lub przez pocztę). | |
41 | ||
42 | %prep | |
43 | %setup -q | |
44 | ||
45 | %build | |
46 | %{__libtoolize} | |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
51 | %configure | |
52 | %{__make} | |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} | |
57 | ||
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
61 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} | |
62 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
63 | ||
64 | %clean | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
69 | %doc ChangeLog source/TODO | |
70 | %attr(2755,root,games) %{_bindir}/%{name} | |
71 | %attr(755,root,root) %{_bindir}/asc_mapedit | |
72 | %{_datadir}/games/%{name} | |
73 | %{_desktopdir}/%{name}.desktop | |
74 | %{_mandir}/man6/%{name}.6* | |
75 | %{_mandir}/man6/asc_mapedit.6* | |
76 | %{_pixmapsdir}/%{name}.xpm |