]>
Commit | Line | Data |
---|---|---|
aac9f472 | 1 | # |
2 | # Conditional build: | |
3 | %bcond_without SDL_mixer # build without SDL_mixer | |
4 | %bcond_without SDL_net # build without SDL_net | |
5 | # | |
e8590b7b | 6 | Summary: A hex-based tactical war game |
9c08b480 | 7 | Summary(pl.UTF-8): Taktyczna gra wojenna oparta na hex |
e8590b7b | 8 | Name: crimsonfields |
9afd4a97 | 9 | Version: 0.5.3 |
88b60812 | 10 | Release: 1 |
aac9f472 | 11 | License: GPL v2+ |
88b60812 | 12 | Group: X11/Applications/Games/Strategy |
e8590b7b | 13 | Source0: http://crimson.seul.org/files/crimson-%{version}.tar.bz2 |
9afd4a97 | 14 | # Source0-md5: 9e71bc8c12ddadf42136a3e07ae86a2c |
e8590b7b | 15 | Patch0: %{name}-autothingies.patch |
703e800b | 16 | Patch1: %{name}-desktop.patch |
e8590b7b | 17 | URL: http://crimson.seul.org/ |
aac9f472 | 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} | |
596038e0 JB |
21 | BuildRequires: SDL_sound-devel |
22 | BuildRequires: SDL_ttf-devel | |
b57d7dde AG |
23 | BuildRequires: autoconf |
24 | BuildRequires: automake | |
25 | BuildRequires: glib2-devel | |
26 | BuildRequires: libstdc++-devel | |
e8590b7b AG |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %description | |
596038e0 JB |
30 | Crimson Fields is a tactical war game in the tradition of Battle Isle |
31 | for one or two players. | |
e8590b7b AG |
32 | |
33 | The outcome of the war lies in your hands. You decide which units are | |
596038e0 JB |
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 | ||
b99e7e99 JR |
44 | %description -l pl.UTF-8 |
45 | Crimson Fields to taktyczna gra wojenna dla jednego lub dwóch graczy, | |
596038e0 | 46 | utrzymana w tradycji Battle Isle. |
e8590b7b | 47 | |
b99e7e99 JR |
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 | |
9afd4a97 | 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! | |
e8590b7b | 56 | |
b99e7e99 | 57 | Dostępne są narzędzia do tworzenia własnych map i kampanii. Można |
9afd4a97 | 58 | także grać na oryginalnych mapach Battle Isle, jeśli mamy kopię |
59 | gry. | |
e8590b7b AG |
60 | |
61 | %prep | |
62 | %setup -q -n crimson-%{version} | |
63 | %patch0 -p1 | |
703e800b | 64 | %patch1 -p1 |
e8590b7b AG |
65 | |
66 | %build | |
5d676af8 | 67 | cp %{_datadir}/automake/config.sub config/. |
68 | cp %{_datadir}/automake/config.guess config/. | |
9afd4a97 | 69 | %{__glib_gettextize} |
e8590b7b AG |
70 | %{__aclocal} |
71 | %{__autoconf} | |
5040bb96 | 72 | %{__automake} |
e8590b7b AG |
73 | %configure \ |
74 | --enable-cfed \ | |
75 | --enable-bi2cf \ | |
596038e0 | 76 | --enable-comet |
e8590b7b AG |
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}/* | |
5d676af8 | 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 | |
88b60812 | 100 | %lang(fr) %{_datadir}/crimson/locale/fr.dat |
5d676af8 | 101 | %lang(en) %{_datadir}/crimson/locale/en.dat |
5040bb96 | 102 | %lang(hu) %{_datadir}/crimson/locale/hu.dat |
103 | %lang(it) %{_datadir}/crimson/locale/it.dat | |
5d676af8 | 104 | %lang(pl) %{_datadir}/crimson/locale/pl.dat |
88b60812 | 105 | %lang(sk) %{_datadir}/crimson/locale/sk.dat |
5040bb96 | 106 | %lang(sr) %{_datadir}/crimson/locale/sr.dat |
9afd4a97 | 107 | %lang(tr) %{_datadir}/crimson/locale/tr.dat |
5d676af8 | 108 | %{_datadir}/crimson/music |
109 | %{_datadir}/crimson/sound | |
6bc2b724 | 110 | %{_desktopdir}/*.desktop |
e8590b7b AG |
111 | %{_mandir}/man*/* |
112 | %{_pixmapsdir}/crimson.png |