]>
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 |
d39878a1 | 8 | Version: 2.1.0.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 |
d39878a1 | 13 | # Source0-md5: d76cf500bebdddd8e7d2a094b532e6af |
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 | |
e7358786 | 20 | BuildRequires: SDL-devel >= 1.2.2 |
d39878a1 | 21 | #BuildRequires: autoconf |
22 | #BuildRequires: automake | |
5db7b0b5 | 23 | BuildRequires: boost-devel >= 1.35.0 |
e7358786 | 24 | BuildRequires: bzip2-devel >= 1.0.0 |
a50209ba | 25 | BuildRequires: expat-devel |
26 | BuildRequires: freetype-devel | |
27 | BuildRequires: libjpeg-devel | |
e7358786 | 28 | BuildRequires: libpng-devel |
a50209ba | 29 | BuildRequires: libsigc++12-devel >= 1.2 |
d39878a1 | 30 | #BuildRequires: libtool >= 2:1.5 |
a50209ba | 31 | BuildRequires: physfs-devel |
e7358786 | 32 | BuildRequires: pkgconfig |
a50209ba | 33 | Obsoletes: asc-music |
27adf597 JK |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
27adf597 | 36 | %description |
e8e0b55f | 37 | ASC is a turn-based strategy game in the tradition of Battle Isle 2/3. |
38 | It can be played against the computer or against other human players | |
39 | (either hotseat or by mail). | |
27adf597 | 40 | |
d3f215ae JR |
41 | %description -l pl.UTF-8 |
42 | ASC jest turową grą strategiczną mającą korzenie w Battle Isle 2/3. | |
43 | Grając w nią można się zmierzyć z komputerem lub z innym człowiekiem | |
44 | (przy jednym komputerze, lub przez pocztę). | |
f58158f1 | 45 | |
27adf597 | 46 | %prep |
e8e0b55f | 47 | %setup -q |
48 | ||
d39878a1 | 49 | # some problems with autotools in this version, |
50 | # probably different versions of one of the build tools | |
27adf597 | 51 | %build |
d39878a1 | 52 | #%%{__libtoolize} |
53 | #%%{__aclocal} | |
54 | #%%{__autoconf} | |
55 | #%%{__autoheader} | |
56 | #%%{__automake} | |
e8e0b55f | 57 | %configure |
27adf597 JK |
58 | %{__make} |
59 | ||
60 | %install | |
61 | rm -rf $RPM_BUILD_ROOT | |
a50209ba | 62 | install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}} |
27adf597 JK |
63 | |
64 | %{__make} install \ | |
65 | DESTDIR=$RPM_BUILD_ROOT | |
66 | ||
a50209ba | 67 | install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir} |
68 | install %{SOURCE2} $RPM_BUILD_ROOT%{_pixmapsdir} | |
27adf597 | 69 | |
27adf597 JK |
70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %files | |
74 | %defattr(644,root,root,755) | |
a50209ba | 75 | %doc ChangeLog source/TODO |
76 | %attr(2755,root,games) %{_bindir}/%{name} | |
e8e0b55f | 77 | %attr(755,root,root) %{_bindir}/asc_mapedit |
a50209ba | 78 | %{_datadir}/games/%{name} |
79 | %{_desktopdir}/%{name}.desktop | |
67320543 JB |
80 | %{_mandir}/man6/%{name}.6* |
81 | %{_mandir}/man6/asc_mapedit.6* | |
a50209ba | 82 | %{_pixmapsdir}/%{name}.xpm |