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