]> git.pld-linux.org Git - packages/freebooters.git/blame - freebooters.spec
- converted to UTF-8
[packages/freebooters.git] / freebooters.spec
CommitLineData
687f1771 1Summary: Free "Pirates!" clone
372c94e8 2Summary(pl.UTF-8): Klon gry "Pirates!"
687f1771 3Name: freebooters
4Version: 0.2.1
5Release: 1
6License: GPL
7Group: Applications/Games
8Source0: http://download.gna.org/freebooters/%{name}-%{version}.tar.gz
9# Source0-md5: 153fdd7110c48ee93a7f7a894a32a56c
10Patch0: %{name}-paths.patch
11URL: http://home.gna.org/freebooters/
12BuildRequires: SDL-devel >= 1.2.0
13BuildRequires: SDL_image-devel >= 1.2.0
14BuildRequires: SDL_mixer-devel >= 1.2.0
15BuildRequires: SDL_ttf-devel >= 2.0.0
db9a3369 16BuildRequires: libstdc++-devel
17BuildRequires: sed >= 4.0
687f1771 18BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20%description
21Freebooters is a strategy game settled in the Caribbean Sea during the
22golden age of piracy. It is based on the game mechanics of Sid Meier's
23"Pirates!", but is not an exact clone.
24
372c94e8
JR
25%description -l pl.UTF-8
26Freebooters jest grą strategiczną, której akcja rozgrywa się na Morzu
27Karaibskim w czasach złotej ery piratów. Bazuje na grze Sida Meiera
28"Pirates!", ale nie jest jej dokładnym klonem.
687f1771 29
30%prep
31%setup -q
32%patch0 -p1
33
34%build
35%{__make} \
36 CXX="%{__cxx}" \
37 CXXFLAGS="`sdl-config --cflags` %{rpmcflags}"
38
39sed -ie 's#datadir=.*#datadir=%{_datadir}/%{name}/#' data/%{name}.conf
40
41%install
42rm -rf $RPM_BUILD_ROOT
43
44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT \
46 BINDIR=%{_bindir} \
47 DATADIR=%{_datadir} \
48 MANDIR=%{_mandir} \
49 SYSCONFDIR=%{_sysconfdir}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files
55%defattr(644,root,root,755)
56%doc doc/{AUTHORS,changelog-until-0.2.txt,NEWS,README,TODO}
57%attr(755,root,root) %{_bindir}/*
db9a3369 58%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
687f1771 59%{_datadir}/%{name}
60%{_mandir}/man6/*.6*
This page took 0.112824 seconds and 4 git commands to generate.