1 Summary: Free "Pirates!" clone
2 Summary(pl): Klon gry "Pirates!"
7 Group: Applications/Games
8 Source0: http://download.gna.org/freebooters/%{name}-%{version}.tar.gz
9 # Source0-md5: 153fdd7110c48ee93a7f7a894a32a56c
10 Patch0: %{name}-paths.patch
11 URL: http://home.gna.org/freebooters/
12 BuildRequires: SDL-devel >= 1.2.0
13 BuildRequires: SDL_image-devel >= 1.2.0
14 BuildRequires: SDL_mixer-devel >= 1.2.0
15 BuildRequires: SDL_ttf-devel >= 2.0.0
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Freebooters is a strategy game settled in the Caribbean Sea during the
20 golden age of piracy. It is based on the game mechanics of Sid Meier's
21 "Pirates!", but is not an exact clone.
24 Freebooters jest gr± strategiczn±, której akcja rozgrywa siê na Morzu
25 Karaibskim w czasach z³otej ery piratów. Bazuje na grze Sida Meiera
26 "Pirates!", ale nie jest jej dok³adnym klonem.
35 CXXFLAGS="`sdl-config --cflags` %{rpmcflags}"
37 sed -ie 's#datadir=.*#datadir=%{_datadir}/%{name}/#' data/%{name}.conf
40 rm -rf $RPM_BUILD_ROOT
43 DESTDIR=$RPM_BUILD_ROOT \
47 SYSCONFDIR=%{_sysconfdir}
50 rm -rf $RPM_BUILD_ROOT
53 %defattr(644,root,root,755)
54 %doc doc/{AUTHORS,changelog-until-0.2.txt,NEWS,README,TODO}
55 %attr(755,root,root) %{_bindir}/*
56 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/%{name}.conf