2 # - while building in levels/ directory, it calls ../tools/cfed which
3 # fails to run in chrooted environment:
4 # Error: Could not init SDL. No available video device.
5 Summary: A hex-based tactical war game
6 Summary(pl): Taktyczna gra wojenna oparta na hex
12 Source0: http://crimson.seul.org/files/crimson-%{version}.tar.bz2
13 # Source0-md5: 92dba4e4fd82cefce91a1d463f761833
14 Patch0: %{name}-autothingies.patch
15 URL: http://crimson.seul.org/
16 BuildRequires: SDL-devel
17 BuildRequires: SDL_sound-devel
18 BuildRequires: SDL_ttf-devel
19 BuildRequires: autoconf
20 BuildRequires: automake
21 BuildRequires: glib2-devel
22 BuildRequires: libstdc++-devel
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 Crimson Fields is a tactical war game in the tradition of Battle Isle
27 for one or two players.
29 The outcome of the war lies in your hands. You decide which units are
30 sent to the front lines, and when to unleash the reserves. Your
31 mission objectives range from defending strategically vital locations
32 to simply destroying all enemy forces in the area. Protect supply
33 convoys or raid enemy facilities to uncover technological secrets or
34 fill your storage bays so you can repair damaged units or build new
35 ones in your own factories. Lead your troops to victory!
37 Tools are available to create custom maps and campaigns. You can also
38 play the original Battle Isle maps if you have a copy of the game.
41 Crimson Fields to taktyczna gra wojenna dla jednego lub dwóch graczy,
42 utrzymana w tradycji Battle Isle.
44 Wynik gry le¿y w Twoich rêkach. Ty decydujesz, które jednostki s±
45 wysy³ane na linie frontu i kiedy wypu¶ciæ rezerwê. Cele misji
46 rozci±gaj± siê od obrony strategicznych miejsc po zwyk³e zniszczenie
47 wszystkich si³ wroga w terenie. Zabezpiecz konwoje dostawcze albo
48 najed¼ na wroga, aby odkryæ jego sekrety technologiczne lub uzupe³niæ
49 swoje zapasy, co umo¿liwi naprawê uszkodzonych jednostek albo
50 zbudowanie nowych we w³asnych fabrykach. Prowad¼ swoje wojsko do
53 Dostêpne s± narzêdzia do tworzenia w³asnych map i kampanii. Mo¿na
54 tak¿e graæ na oryginalnych mapach Battle Isle, je¶li mamy kopiê gry.
57 %setup -q -n crimson-%{version}
61 cp %{_datadir}/automake/config.sub config/.
62 cp %{_datadir}/automake/config.guess config/.
63 glib-gettextize --copy --force
75 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
81 rm -rf $RPM_BUILD_ROOT
84 %defattr(644,root,root,755)
85 %doc ChangeLog NEWS README THANKS TODO
86 %attr(755,root,root) %{_bindir}/*
87 %dir %{_datadir}/crimson
88 %{_datadir}/crimson/*.ttf
89 %{_datadir}/crimson/cf.dat
90 %{_datadir}/crimson/default.*
91 %{_datadir}/crimson/*.bmp
92 %{_datadir}/crimson/levels
93 %dir %{_datadir}/crimson/locale
94 %lang(de) %{_datadir}/crimson/locale/de.dat
95 %lang(en) %{_datadir}/crimson/locale/en.dat
96 %lang(pl) %{_datadir}/crimson/locale/pl.dat
97 %{_datadir}/crimson/music
98 %{_datadir}/crimson/sound
100 %{_pixmapsdir}/crimson.png