]>
Commit | Line | Data |
---|---|---|
e5baa41c | 1 | Summary: Limited clone of Vypress Chat |
6a56b996 | 2 | Summary(pl): Ograniczony klon Vypress Chat |
e5baa41c AM |
3 | Name: echat |
4 | Version: 0.02r.beta4 | |
e77a7bc3 | 5 | Release: 3 |
e5baa41c AM |
6 | License: GPL |
7 | Group: Applications/Networking | |
8 | Source0: http://www.vypress.com/ftp/clones/vyc/echat-0.02r.beta4.tgz | |
66639454 | 9 | # Source0-md5: 789faa94ce8340adc2b240bf5de705b1 |
7dd9498a | 10 | Patch0: %{name}-keys.patch |
e77a7bc3 | 11 | Patch1: %{name}-plcharset.patch |
e5baa41c AM |
12 | BuildRequires: ncurses-devel >= 5.1 |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | Limited clone of Vypress Chat. | |
17 | ||
6a56b996 JB |
18 | %description -l pl |
19 | Ograniczony klon Vypress Chat. | |
20 | ||
e5baa41c AM |
21 | %prep |
22 | %setup -q | |
7dd9498a | 23 | %patch0 -p1 |
e77a7bc3 | 24 | %patch1 -p1 |
e5baa41c AM |
25 | |
26 | %build | |
23b2b4b1 AM |
27 | %{__make} \ |
28 | CFLAGS="-I%{_includedir}/ncurses %{rpmcflags}" \ | |
29 | DEFINES="-DLINUX -DEN -DPACKET_QCHAT -DCHARSET -DSOUND -DPORTREUSE" | |
e5baa41c AM |
30 | |
31 | %install | |
32 | rm -rf $RPM_BUILD_ROOT | |
33 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} | |
34 | ||
35 | install echat $RPM_BUILD_ROOT%{_bindir} | |
36 | install echat.1 $RPM_BUILD_ROOT%{_mandir}/man1 | |
37 | ||
38 | %clean | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | ||
41 | %files | |
42 | %defattr(644,root,root,755) | |
43 | %doc NEWS README TODO .*.sample | |
44 | %attr(755,root,root) %{_bindir}/* | |
45 | %{_mandir}/man?/* |