1 Summary: Limited clone of Vypress Chat
2 Summary(pl.UTF-8): Ograniczony klon Vypress Chat
7 Group: Applications/Networking
8 Source0: http://deep.perm.ru/files/echat/%{name}-%{version}.tar.gz
9 # Source0-md5: dda3891d08f04dd266858380d404af15
10 Patch0: %{name}-keys.patch
11 Patch1: %{name}-plcharset.patch
12 Patch2: %{name}-so_reuseport.patch
13 Patch3: %{name}-format-security.patch
14 URL: http://deep.perm.ru/echat/
15 BuildRequires: ncurses-devel >= 5.1
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 Limited clone of Vypress Chat.
21 %description -l pl.UTF-8
22 Ograniczony klon Vypress Chat.
33 CFLAGS="-I/usr/include/ncurses %{rpmcflags}" \
34 DEFINES="-DLINUX -DEN -DCHARSET -DPORTREUSE"
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
40 install echat $RPM_BUILD_ROOT%{_bindir}
41 install doc/echat.1 $RPM_BUILD_ROOT%{_mandir}/man1
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc doc/{NEWS,README,TODO} doc/.*.sample
49 %attr(755,root,root) %{_bindir}/*