]>
Commit | Line | Data |
---|---|---|
9933dd44 | 1 | %define _name saper |
2 | %define rel pre7 | |
3 | %define ver 0.12 | |
4 | ||
5 | Summary: Text mode minesweeper | |
9ef1037a | 6 | Summary(pl.UTF-8): Saper w trybie tekstowym |
9933dd44 | 7 | Name: fsaper |
8 | Version: 0.12%{rel} | |
9 | Release: 1 | |
10 | License: GPL | |
11 | Group: Applications/Games | |
12 | Source0: http://marmarek.w.staszic.waw.pl/~marmarek/saper/pliki/%{_name}-current.tar.gz | |
13 | # Source0-md5: 3760183322151ac9dd63a23044e6570d | |
14 | Patch0: %{name}-include.patch | |
15 | URL: http://marmarek.w.staszic.waw.pl/~marmarek/saper/ | |
c8db6c0e | 16 | BuildRequires: libstdc++-devel |
9933dd44 | 17 | BuildRequires: ncurses-devel |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | ||
20 | %description | |
21 | Saper is a text clone of the popular 'minesweeper' game. | |
22 | ||
9ef1037a | 23 | %description -l pl.UTF-8 |
f6dfd392 | 24 | Tekstowy klon popularnej gry Saper (Minesweeper). |
9933dd44 | 25 | |
26 | %prep | |
27 | %setup -q -n %{_name}-X.%{ver} | |
28 | %patch0 -p1 | |
29 | ||
30 | %build | |
31 | %{__make} | |
32 | ||
33 | %install | |
34 | rm -rf $RPM_BUILD_ROOT | |
35 | install -d $RPM_BUILD_ROOT%{_bindir} | |
36 | install fsaper $RPM_BUILD_ROOT%{_bindir} | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc Changelog | |
44 | %attr(755,root,root) %{_bindir}/* |