]> git.pld-linux.org Git - packages/netris.git/blob - netris.spec
- cosmetics.
[packages/netris.git] / netris.spec
1 Summary:        A free networked version of T*tris
2 Summary(pl):    Darmowa, sieciowa wersja T*trisa
3 Name:           netris
4 Version:        0.5
5 Release:        1
6 License:        GPL
7 Group:          Applications/Games
8 Group(de):      Applikationen/Spiele
9 Group(pl):      Aplikacje/Gry
10 Source0:        ftp://ftp.netris.org/pub/netris/%{name}-%{version}.tar.gz
11 Patch0:         %{name}-make.patch
12 URL:            http://www.netris.org/
13 BuildRequires:  ncurses-devel
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %description
17 A free networked version of T*tris.
18
19 %description -l pl
20 Darmowa, sieciowa wersja T*trisa.
21
22 %prep
23 %setup -q
24 %patch0 -p1
25
26 %build
27 ./Configure \
28         --copt "%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}"
29 %{__make}
30
31
32 %install
33 rm -rf $RPM_BUILD_ROOT
34 install -d $RPM_BUILD_ROOT%{_bindir}
35
36 install netris  $RPM_BUILD_ROOT%{_bindir}
37 install sr      $RPM_BUILD_ROOT%{_bindir}
38
39 gzip -9nf README FAQ *_desc
40
41 %clean
42 rm -rf $RPM_BUILD_ROOT
43
44 %files
45 %defattr(644,root,root,755)
46 %doc *.gz
47 %attr(755,root,root) %{_bindir}/*
This page took 0.030962 seconds and 4 git commands to generate.