2 # - check sounds - doesn't work for me
3 # - check unpacked files
5 Summary: Advanced Strategic Command - a free, turn based strategy game
6 Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna
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
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
30 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
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).
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ę).
55 rm -rf $RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
59 DESTDIR=$RPM_BUILD_ROOT
61 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
62 install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir}
65 rm -rf $RPM_BUILD_ROOT
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