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: autoconf
19 BuildRequires: automake
20 BuildRequires: libtool
21 BuildRequires: paragui-devel
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 %define _prefix /usr/X11R6
25 %define _mandir %{_prefix}/man
26 %define _datadir /usr/share
29 ASC is a free, turn based strategy game. It is designed in the
30 tradition of the Battle Isle series from Bluebyte and is currently
31 available for Windows and Linux.
34 ASC jest darmow±, turow± gr± strategiczn±. Zosta³a zaprojektowana
35 w tradycji serii Battle Isle firmy Bluebyte. Obecnie jest dostêpna
36 pod Windows i Linuksa.
39 Summary: Music for Advanced Strategic Command
40 Summary(pl): Muzyka do Advanced Strategic Command
41 Group: X11/Applications/Games/Strategy
45 Music for Advanced Strategic Command in mp3 format.
47 %description music -l pl
48 Muzyka do Advanced Strategic Command w formacie mp3.
61 CPPFLAGS="-I%{_includedir}" LDFLAGS="-L%{_libdir}" \
66 rm -rf $RPM_BUILD_ROOT
67 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Games/Strategy,%{_mandir}/man6,%{_docdir}/%{name}-%{version}/html/graphics}
70 DESTDIR=$RPM_BUILD_ROOT
72 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Games/Strategy
73 install doc/manpages/*.6 $RPM_BUILD_ROOT%{_mandir}/man6
75 # bug in make install, so we do it here
76 install data/*.con $RPM_BUILD_ROOT%{_datadir}/games/asc
79 rm -rf $RPM_BUILD_ROOT
82 %defattr(644,root,root,755)
83 %doc TODO README AUTHORS ChangeLog doc/graphics doc/*.html doc/*.css
84 %attr(2755,root,games) %{_bindir}/*
85 %dir %{_datadir}/games/asc
86 %{_datadir}/games/asc/*.zip
87 %{_datadir}/games/asc/*.con
88 %{_applnkdir}/Games/Strategy/*
92 %{_datadir}/games/asc/music