1 Summary: A free networked version of T*tris
2 Summary(pl.UTF-8): Darmowa, sieciowa wersja T*trisa
7 Group: Applications/Games
8 Source0: ftp://ftp.netris.org/pub/netris/%{name}-%{version}.tar.gz
9 # Source0-md5: b55af5697175ee06f7c6e40101979c38
10 Patch0: %{name}-make.patch
11 Patch1: %{name}-debian.patch
12 Patch2: %{name}-link.patch
13 URL: http://www.netris.org/
14 BuildRequires: ncurses-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 A free networked version of T*tris.
20 %description -l pl.UTF-8
21 Darmowa, sieciowa wersja T*trisa.
32 --copt "%{rpmcflags} %{rpmcppflags}" \
33 --lextra "%{rpmldflags}"
39 rm -rf $RPM_BUILD_ROOT
40 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man6}
42 install {netris,sr} $RPM_BUILD_ROOT%{_bindir}
43 install debian/*.6 $RPM_BUILD_ROOT%{_mandir}/man6
46 rm -rf $RPM_BUILD_ROOT
49 %defattr(644,root,root,755)
50 %doc README FAQ *_desc
51 %attr(755,root,root) %{_bindir}/netris
52 %attr(755,root,root) %{_bindir}/sr
53 %{_mandir}/man6/netris.6*
54 %{_mandir}/man6/netris-sample-robot.6*