]> git.pld-linux.org Git - packages/echat.git/blob - echat.spec
Add patch to fix build with -Werror=format-security
[packages/echat.git] / echat.spec
1 Summary:        Limited clone of Vypress Chat
2 Summary(pl.UTF-8):      Ograniczony klon Vypress Chat
3 Name:           echat
4 Version:        0.04beta1
5 Release:        1
6 License:        GPL
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)
17
18 %description
19 Limited clone of Vypress Chat.
20
21 %description -l pl.UTF-8
22 Ograniczony klon Vypress Chat.
23
24 %prep
25 %setup  -q
26 %patch0 -p1
27 %patch1 -p1
28 %patch2 -p1
29 %patch3 -p1
30
31 %build
32 %{__make} \
33         CFLAGS="-I/usr/include/ncurses %{rpmcflags}" \
34         DEFINES="-DLINUX -DEN -DCHARSET -DPORTREUSE"
35
36 %install
37 rm -rf $RPM_BUILD_ROOT
38 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
39
40 install echat $RPM_BUILD_ROOT%{_bindir}
41 install doc/echat.1 $RPM_BUILD_ROOT%{_mandir}/man1
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %files
47 %defattr(644,root,root,755)
48 %doc doc/{NEWS,README,TODO} doc/.*.sample
49 %attr(755,root,root) %{_bindir}/*
50 %{_mandir}/man?/*
This page took 0.08123 seconds and 3 git commands to generate.