]> git.pld-linux.org Git - packages/crimsonfields.git/blame - crimsonfields.spec
- up to 0.5.3
[packages/crimsonfields.git] / crimsonfields.spec
CommitLineData
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 6Summary: A hex-based tactical war game
9c08b480 7Summary(pl.UTF-8): Taktyczna gra wojenna oparta na hex
e8590b7b 8Name: crimsonfields
9afd4a97 9Version: 0.5.3
88b60812 10Release: 1
aac9f472 11License: GPL v2+
88b60812 12Group: X11/Applications/Games/Strategy
e8590b7b 13Source0: http://crimson.seul.org/files/crimson-%{version}.tar.bz2
9afd4a97 14# Source0-md5: 9e71bc8c12ddadf42136a3e07ae86a2c
e8590b7b 15Patch0: %{name}-autothingies.patch
703e800b 16Patch1: %{name}-desktop.patch
e8590b7b 17URL: http://crimson.seul.org/
aac9f472 18BuildRequires: 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
21BuildRequires: SDL_sound-devel
22BuildRequires: SDL_ttf-devel
b57d7dde
AG
23BuildRequires: autoconf
24BuildRequires: automake
25BuildRequires: glib2-devel
26BuildRequires: libstdc++-devel
e8590b7b
AG
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
596038e0
JB
30Crimson Fields is a tactical war game in the tradition of Battle Isle
31for one or two players.
e8590b7b
AG
32
33The outcome of the war lies in your hands. You decide which units are
596038e0
JB
34sent to the front lines, and when to unleash the reserves. Your
35mission objectives range from defending strategically vital locations
36to simply destroying all enemy forces in the area. Protect supply
37convoys or raid enemy facilities to uncover technological secrets or
38fill your storage bays so you can repair damaged units or build new
39ones in your own factories. Lead your troops to victory!
40
41Tools are available to create custom maps and campaigns. You can also
42play the original Battle Isle maps if you have a copy of the game.
43
b99e7e99
JR
44%description -l pl.UTF-8
45Crimson Fields to taktyczna gra wojenna dla jednego lub dwóch graczy,
596038e0 46utrzymana w tradycji Battle Isle.
e8590b7b 47
b99e7e99
JR
48Wynik gry leży w Twoich rękach. Ty decydujesz, które jednostki są
49wysyłane na linie frontu i kiedy wypuścić rezerwę. Cele misji
9afd4a97 50rozciągają się od obrony strategicznych miejsc po zwykłe
51zniszczenie wszystkich sił wroga w terenie. Zabezpiecz konwoje
52dostawcze albo najedź na wroga, aby odkryć jego sekrety
53technologiczne lub uzupełnić swoje zapasy, co umożliwi naprawę
54uszkodzonych jednostek albo zbudowanie nowych we własnych fabrykach.
55Prowadź swoje wojsko do zwycięstwa!
e8590b7b 56
b99e7e99 57Dostępne są narzędzia do tworzenia własnych map i kampanii. Można
9afd4a97 58także grać na oryginalnych mapach Battle Isle, jeśli mamy kopię
59gry.
e8590b7b
AG
60
61%prep
62%setup -q -n crimson-%{version}
63%patch0 -p1
703e800b 64%patch1 -p1
e8590b7b
AG
65
66%build
5d676af8 67cp %{_datadir}/automake/config.sub config/.
68cp %{_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
80rm -rf $RPM_BUILD_ROOT
81
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85%clean
86rm -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
This page took 0.131858 seconds and 4 git commands to generate.