1 Summary: Advanced Strategic Command - a free, turn based strategy game
2 Summary(pl): Advanced Strategic Command - turowa gra strategiczna
7 Group: X11/Applications/Games/Strategy
8 Source0: ftp://ftp.sourceforge.net/pub/sourceforge/asc-hq/%{name}-source-%{version}.tar.gz
9 Source1: %{name}.desktop
10 Source2: %{name}-mp3.tar.bz2
11 Patch0: %{name}-ac_fix.patch
12 Patch1: %{name}-am_fix.patch
13 URL: http://www.asc-hq.org/
14 BuildRequires: SDL-devel
15 BuildRequires: SDL_image-devel
16 BuildRequires: SDL_mixer-devel
17 BuildRequires: SDLmm-devel
18 BuildRequires: paragui-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23 %define _prefix /usr/X11R6
24 %define _mandir %{_prefix}/man
25 %define _datadir /usr/share
28 ASC is a free, turn based strategy game. It is designed in the
29 tradition of the Battle Isle series from Bluebyte and is currently
30 available for Windows and Linux.
33 ASC jest darmow±, turow± gr± strategiczn±. Zosta³a zaprojektowana
34 w tradycji serii Battle Isle firmy Bluebyte. Obecnie jest dostêpna
35 pod Windows i Linuksa.
38 Summary: Music for Advanced Strategic Command
39 Summary(pl): Muzyka do Advanced Strategic Command
41 Group: X11/Applications/Games/Strategy
44 Music for Advanced Strategic Command in mp3 format.
46 %description music -l pl
47 Muzyka do Advanced Strategic Command w formacie mp3.
60 CPPFLAGS="-I%{_includedir}" LDFLAGS="-L%{_libdir}" \
65 rm -rf $RPM_BUILD_ROOT
66 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
69 DESTDIR=$RPM_BUILD_ROOT
71 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
72 install doc/manpages/*.6 $RPM_BUILD_ROOT%{_mandir}/man6
74 # bug in make install, so we do it here
75 install data/*.con $RPM_BUILD_ROOT%{_datadir}/games/asc
78 rm -rf $RPM_BUILD_ROOT
81 %defattr(644,root,root,755)
82 %doc TODO README AUTHORS ChangeLog doc/graphics doc/*.html doc/*.css
83 %attr(2755,root,games) %{_bindir}/*
84 %{_datadir}/games/asc/*.zip
85 %{_datadir}/games/asc/*.con
86 %{_applnkdir}/Games/Strategy/*
90 %{_datadir}/games/asc/music