]> git.pld-linux.org Git - packages/crimsonfields.git/blob - crimsonfields.spec
- up to 0.5.3
[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.UTF-8):      Taktyczna gra wojenna oparta na hex
8 Name:           crimsonfields
9 Version:        0.5.3
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:  9e71bc8c12ddadf42136a3e07ae86a2c
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.UTF-8
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
51 zniszczenie wszystkich sił wroga w terenie. Zabezpiecz konwoje
52 dostawcze albo najedź na wroga, aby odkryć jego sekrety
53 technologiczne lub uzupełnić swoje zapasy, co umożliwi naprawę
54 uszkodzonych jednostek albo zbudowanie nowych we własnych fabrykach.
55 Prowadź swoje wojsko do 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ę
59 gry.
60
61 %prep
62 %setup -q -n crimson-%{version}
63 %patch0 -p1
64 %patch1 -p1
65
66 %build
67 cp %{_datadir}/automake/config.sub config/.
68 cp %{_datadir}/automake/config.guess config/.
69 %{__glib_gettextize}
70 %{__aclocal}
71 %{__autoconf}
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(hu) %{_datadir}/crimson/locale/hu.dat
103 %lang(it) %{_datadir}/crimson/locale/it.dat
104 %lang(pl) %{_datadir}/crimson/locale/pl.dat
105 %lang(sk) %{_datadir}/crimson/locale/sk.dat
106 %lang(sr) %{_datadir}/crimson/locale/sr.dat
107 %lang(tr) %{_datadir}/crimson/locale/tr.dat
108 %{_datadir}/crimson/music
109 %{_datadir}/crimson/sound
110 %{_desktopdir}/*.desktop
111 %{_mandir}/man*/*
112 %{_pixmapsdir}/crimson.png
This page took 0.064206 seconds and 3 git commands to generate.