]>
Commit | Line | Data |
---|---|---|
639d5616 AG |
1 | Summary: Reimplementation of the classic Bullfrog game, Syndicate |
2 | Summary(pl): Reimplementacja klasycznej gry Syndicate firmy Bullfrog | |
3 | Name: freesynd | |
4 | Version: 0.1 | |
5 | Release: 0.1 | |
6 | License: GPL | |
7 | Group: X11/Applications/Games | |
8 | Source0: http://dl.sourceforge.net/freesynd/%{name}-%{version}.zip | |
9 | # Source0-md5: 9efc6437d3983bdab5c28e4535c4b078 | |
10 | Patch0: %{name}-FHS.patch | |
11 | URL: http://freesynd.sourceforge.net/ | |
12 | BuildRequires: SDL_mixer-devel | |
13 | BuildRequires: libstdc++-devel | |
14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
15 | ||
16 | %description | |
17 | FreeSynd is a reimplementation of the classic Bullfrog game, | |
18 | Syndicate. | |
19 | ||
20 | %description -l pl | |
21 | FreeSynd to reimplementacja klasycznej gry Syndicate firmy Bullfrog. | |
22 | ||
23 | %prep | |
24 | %setup -q -n %{name} | |
25 | %patch0 -p1 | |
26 | ||
27 | %build | |
28 | %{__make} -C src \ | |
29 | CXX="%{__cxx}" | |
30 | ||
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | ||
34 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/%{name}} | |
35 | install src/%{name} $RPM_BUILD_ROOT%{_bindir} | |
36 | cp -a data/ $RPM_BUILD_ROOT%{_datadir}/%{name} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %attr(755,root,root) %{_bindir}/* | |
44 | %{_datadir}/%{name} |