]>
Commit | Line | Data |
---|---|---|
89e235bb | 1 | # TODO: |
a50209ba | 2 | # - check sounds - doesn't work for me |
3 | # - check unpacked files | |
89e235bb | 4 | |
27adf597 | 5 | Summary: Advanced Strategic Command - a free, turn based strategy game |
ced97a48 | 6 | Summary(pl.UTF-8): Advanced Strategic Command - turowa gra strategiczna |
27adf597 | 7 | Name: asc |
a50209ba | 8 | Version: 2.0.1.0 |
89e235bb | 9 | Release: 0.1 |
a50209ba | 10 | License: GPL v2+ |
27adf597 | 11 | Group: X11/Applications/Games/Strategy |
a50209ba | 12 | Source0: http://dl.sourceforge.net/asc-hq/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 2758e2bbbd5892ccba8d9b4ac5a6d6af | |
27adf597 | 14 | Source1: %{name}.desktop |
a50209ba | 15 | Source2: %{name}.xpm |
ab7992a7 | 16 | URL: http://www.asc-hq.org/ |
27adf597 | 17 | BuildRequires: SDL_image-devel |
a50209ba | 18 | BuildRequires: SDL_mixer-devel >= 1.2 |
19 | BuildRequires: SDL_sound-devel | |
ab7992a7 JB |
20 | BuildRequires: autoconf |
21 | BuildRequires: automake | |
a50209ba | 22 | BuildRequires: boost-regex-devel |
23 | BuildRequires: expat-devel | |
24 | BuildRequires: freetype-devel | |
25 | BuildRequires: libjpeg-devel | |
26 | BuildRequires: libsigc++12-devel >= 1.2 | |
8e8df233 | 27 | BuildRequires: libtool |
a50209ba | 28 | BuildRequires: physfs-devel |
29 | Obsoletes: asc-music | |
27adf597 JK |
30 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
31 | ||
27adf597 | 32 | %description |
e8e0b55f | 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). | |
27adf597 | 36 | |
d3f215ae JR |
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ę). | |
f58158f1 | 41 | |
27adf597 | 42 | %prep |
e8e0b55f | 43 | %setup -q |
44 | ||
27adf597 | 45 | %build |
a50209ba | 46 | %{__libtoolize} |
47 | %{__aclocal} | |
48 | %{__autoconf} | |
49 | %{__autoheader} | |
50 | %{__automake} | |
e8e0b55f | 51 | %configure |
27adf597 JK |
52 | %{__make} |
53 | ||
54 | %install | |
55 | rm -rf $RPM_BUILD_ROOT | |
a50209ba | 56 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
27adf597 JK |
57 | |
58 | %{__make} install \ | |
59 | DESTDIR=$RPM_BUILD_ROOT | |
60 | ||
a50209ba | 61 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
62 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
27adf597 | 63 | |
27adf597 JK |
64 | %clean |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %files | |
68 | %defattr(644,root,root,755) | |
a50209ba | 69 | %doc ChangeLog source/TODO |
70 | %attr(2755,root,games) %{_bindir}/%{name} | |
e8e0b55f | 71 | %attr(755,root,root) %{_bindir}/asc_mapedit |
a50209ba | 72 | %{_datadir}/games/%{name} |
73 | %{_desktopdir}/%{name}.desktop | |
74 | %{_mandir}/man6/%{name}.6.gz | |
75 | %{_mandir}/man6/asc_mapedit.6.gz | |
76 | %{_pixmapsdir}/%{name}.xpm |