]> git.pld-linux.org Git - SPECS.git/blob - netwoorms.spec
SPECS updated Tue 30 Apr 15:13:02 CEST 2024
[SPECS.git] / netwoorms.spec
1 Summary:        A nibbles clone
2 Summary(pl.UTF-8):      Klon gry nibbles
3 Name:           netwoorms
4 Version:        1.7
5 Release:        6
6 License:        Free (see README)
7 Vendor:         Michał "Azzie" Marszałek <azzie@staszic.waw.pl>
8 Group:          Applications/Games
9 Source0:        %{name}-%{version}.tar.gz
10 # Source0-md5:  ddf1ac33c548b5b3112a23bdb6b5ca4c
11 URL:            http://azzie.home.staszic.waw.pl/?en
12 BuildRequires:  autoconf
13 BuildRequires:  automake
14 BuildRequires:  ncurses-devel
15 BuildRequires:  zlib-devel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %description
19 NetWoorms is a little, multiplayer, networked game, that runs on the
20 console. If you have ever played 'nibbles', you know the simple rules.
21 The only difference from the orginal version is that you get frags,
22 not points, and that you play against as many humans as you want.
23
24 %description -l pl.UTF-8
25 NetWoorms to mała gra sieciowa na wielu graczy działająca na konsoli.
26 Jeśli grałeś kiedyś w 'nibbles', znasz jej proste zasady. Jedyną
27 różnicą między NetWoorms a oryginałem jest to, że gra się na fragi a
28 nie punkty i że można grać przeciwko dowolnej liczbie ludzi.
29
30 %prep
31 %setup -q
32
33 %build
34 ./configure --datadir=%{_datadir}
35 %{__make} CFLAGS="%{rpmcflags}"
36
37 cd contrib/nwoobot-0.3
38 rm -f missing
39 %{__aclocal}
40 %{__autoconf}
41 %{__automake}
42 %configure
43 %{__make} CFLAGS="%{rpmcflags}"
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT{%{_bindir},%{_datadir}/netwoorms/{maps,texts}} \
48         $RPM_BUILD_ROOT%{_mandir}/man1
49
50 install nwoosrv nwoo contrib/nwoobot-0.3/nwoobot $RPM_BUILD_ROOT%{_bindir}
51 install maps/* $RPM_BUILD_ROOT%{_datadir}/netwoorms/maps
52 install texts/* $RPM_BUILD_ROOT%{_datadir}/netwoorms/texts
53 install contrib/maps/* $RPM_BUILD_ROOT%{_datadir}/netwoorms/maps
54 install contrib/nwoobot-0.3/README README.bot
55 install docs/* $RPM_BUILD_ROOT%{_mandir}/man1
56
57 %clean
58 rm -rf $RPM_BUILD_ROOT
59
60 %files
61 %defattr(644,root,root,755)
62 %doc LICENSE README NEWS README.bot
63 %attr(755,root,root) %{_bindir}/*
64 %{_datadir}/netwoorms
65 %{_mandir}/man1/*
This page took 0.195326 seconds and 3 git commands to generate.