]> git.pld-linux.org Git - packages/crimsonfields.git/blob - crimsonfields.spec
94feee61d8044f6130a58b80ecaec5db1c196eb9
[packages/crimsonfields.git] / crimsonfields.spec
1 Summary:        A hex-based tactical war game
2 Summary(pl):    Taktyczna gra wojenna oparta na hex
3 Name:           crimsonfields
4 Version:        0.4.9
5 Release:        1
6 License:        GPL
7 Group:          X11/Applications/Games/Strategy
8 Source0:        http://crimson.seul.org/files/crimson-%{version}.tar.bz2
9 # Source0-md5:  c1ae6de5637efb9223b70c29e10de75b
10 Patch0:         %{name}-autothingies.patch
11 Patch1:         %{name}-desktop.patch
12 URL:            http://crimson.seul.org/
13 BuildRequires:  SDL-devel
14 BuildRequires:  SDL_sound-devel
15 BuildRequires:  SDL_ttf-devel
16 BuildRequires:  autoconf
17 BuildRequires:  automake
18 BuildRequires:  glib2-devel
19 BuildRequires:  libstdc++-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Crimson Fields is a tactical war game in the tradition of Battle Isle
24 for one or two players.
25
26 The outcome of the war lies in your hands. You decide which units are
27 sent to the front lines, and when to unleash the reserves. Your
28 mission objectives range from defending strategically vital locations
29 to simply destroying all enemy forces in the area. Protect supply
30 convoys or raid enemy facilities to uncover technological secrets or
31 fill your storage bays so you can repair damaged units or build new
32 ones in your own factories. Lead your troops to victory!
33
34 Tools are available to create custom maps and campaigns. You can also
35 play the original Battle Isle maps if you have a copy of the game.
36
37 %description -l pl
38 Crimson Fields to taktyczna gra wojenna dla jednego lub dwóch graczy,
39 utrzymana w tradycji Battle Isle.
40
41 Wynik gry le¿y w Twoich rêkach. Ty decydujesz, które jednostki s±
42 wysy³ane na linie frontu i kiedy wypu¶ciæ rezerwê. Cele misji
43 rozci±gaj± siê od obrony strategicznych miejsc po zwyk³e zniszczenie
44 wszystkich si³ wroga w terenie. Zabezpiecz konwoje dostawcze albo
45 najed¼ na wroga, aby odkryæ jego sekrety technologiczne lub uzupe³niæ
46 swoje zapasy, co umo¿liwi naprawê uszkodzonych jednostek albo
47 zbudowanie nowych we w³asnych fabrykach. Prowad¼ swoje wojsko do
48 zwyciêstwa!
49
50 Dostêpne s± narzêdzia do tworzenia w³asnych map i kampanii. Mo¿na
51 tak¿e graæ na oryginalnych mapach Battle Isle, je¶li mamy kopiê gry.
52
53 %prep
54 %setup -q -n crimson-%{version}
55 %patch0 -p1
56 %patch1 -p1
57
58 %build
59 cp %{_datadir}/automake/config.sub config/.
60 cp %{_datadir}/automake/config.guess config/.
61 glib-gettextize --copy --force
62 %{__aclocal}
63 %{__autoconf}
64 #%%{__autoheader}
65 #%%{__automake}
66 %configure \
67         --enable-cfed \
68         --enable-bi2cf \
69         --enable-comet
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %files
82 %defattr(644,root,root,755)
83 %doc ChangeLog NEWS README THANKS TODO
84 %attr(755,root,root) %{_bindir}/*
85 %dir %{_datadir}/crimson
86 %{_datadir}/crimson/*.ttf
87 %{_datadir}/crimson/cf.dat
88 %{_datadir}/crimson/default.*
89 %{_datadir}/crimson/*.bmp
90 %{_datadir}/crimson/levels
91 %dir %{_datadir}/crimson/locale
92 %lang(de) %{_datadir}/crimson/locale/de.dat
93 %lang(fr) %{_datadir}/crimson/locale/fr.dat
94 %lang(en) %{_datadir}/crimson/locale/en.dat
95 %lang(pl) %{_datadir}/crimson/locale/pl.dat
96 %lang(sk) %{_datadir}/crimson/locale/sk.dat
97 %{_datadir}/crimson/music
98 %{_datadir}/crimson/sound
99 %{_desktopdir}/*.desktop
100 %{_mandir}/man*/*
101 %{_pixmapsdir}/crimson.png
This page took 0.075939 seconds and 2 git commands to generate.