]> git.pld-linux.org Git - packages/crimsonfields.git/blob - crimsonfields.spec
- minor License unifications
[packages/crimsonfields.git] / crimsonfields.spec
1 # ToDo:
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
7 Name:           crimsonfields
8 Version:        0.4.3
9 Release:        0.1
10 License:        GPL
11 Group:          Games/Strategy
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)
24
25 %description
26 Crimson Fields is a tactical war game in the tradition of Battle Isle
27 for one or two players.
28
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!
36
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.
39
40 %description -l pl
41 Crimson Fields to taktyczna gra wojenna dla jednego lub dwóch graczy,
42 utrzymana w tradycji Battle Isle.
43
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
51 zwyciêstwa!
52
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.
55
56 %prep
57 %setup -q -n crimson-%{version}
58 %patch0 -p1
59
60 %build
61 cp %{_datadir}/automake/config.sub config/.
62 cp %{_datadir}/automake/config.guess config/.
63 glib-gettextize --copy --force
64 %{__aclocal}
65 %{__autoconf}
66 #%%{__autoheader}
67 #%%{__automake}
68 %configure \
69         --enable-cfed \
70         --enable-bi2cf \
71         --enable-comet
72 %{__make}
73
74 %install
75 rm -rf $RPM_BUILD_ROOT
76
77 %{__make} install \
78         DESTDIR=$RPM_BUILD_ROOT
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %files
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
99 %{_mandir}/man*/*
100 %{_pixmapsdir}/crimson.png
This page took 0.057099 seconds and 3 git commands to generate.