]> git.pld-linux.org Git - packages/LANChat.git/blob - LANChat.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/LANChat.git] / LANChat.spec
1 Summary:        LANChat - network-chatting program
2 Summary(pl):    LANChat - program do sieciowych pogaduszek
3 Name:           LANChat
4 Version:        1.0.2
5 Release:        4
6 License:        GPL
7 Group:          Applications/Networking
8 Source0:        http://priv4.onet.pl./ki/lanchat/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-ac_am.patch
10 Patch1:         %{name}-wincrash.patch
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  libtool
14 BuildRequires:  ncurses-devel >= 5.1
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 LANChat a network-chatting program. It allows you to chat with your
19 friends over a TCP/IP based Local Area Network. It doesn't need any
20 type of server to run. All users are equal. LANChat is a not
21 client-server application. All your machines act like independent
22 servers. To communicate LANChat uses broadcast UDP messages so they
23 don't travel over the Internet (only to the closest router). LANChat
24 need C-class addressing type (theoretically max 254 users). By using
25 LANChat you can talk with windows and Linux users in your local area
26 network. You can use LANChat over networks connected by the BRIDGE.
27
28 %description -l pl
29 LANChat jest programem do sieciowych pogaduszek. Pozwala na
30 rozmawianie ze swoimi znajomymi w sieciach lokalnych opartych na
31 TCP/IP. Nie potrzebuje ¿adnego servera do dzia³ania i ka¿dy u¿ytkownik
32 jest równy. Nie jest to aplikacja typu klient-server, wiêc ka¿da
33 maszyna jest jak niezale¿ny server. LANChat do komunikacji u¿ywa
34 broadcastów UDP, wiêc nie s± one wysy³ane do internetu, a tylko do
35 najbli¿szego routera. LANChat potrzebuje klasy adresowej C
36 (teoretycznie max 254 u¿ytkowników). U¿ywaj±c LANChata mo¿esz
37 rozmawiaæ w swojej sieci lokalnej zarówno z u¿ytkownikami Windows jak
38 i Linuksa. Mo¿esz te¿ korzystaæ z LANChata w sieciach po³±czonych
39 BRIDGE'ami.
40
41 %prep
42 %setup -q 
43 %patch0 -p1
44 %patch1 -p1
45
46 %build
47 rm -f missing
48 %{__libtoolize}
49 %{__aclocal}
50 %{__autoconf}
51 %{__automake}
52 CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
53 %configure
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 gzip -9nf NEWS README ROUTING BUGS TODO lanchat.lsm
63
64 %clean
65 rm -rf $RPM_BUILD_ROOT
66
67 %files
68 %defattr(644,root,root,755)
69 %doc *.gz
70 %attr(755,root,root) %{_bindir}/LANChat
This page took 0.036644 seconds and 3 git commands to generate.