]>
Commit | Line | Data |
---|---|---|
303c1206 | 1 | Summary: Coraid Ethernet Console client |
8578175e | 2 | Summary(pl.UTF-8): Klient Coraid Ethernet Console (konsoli ethernetowej Coraid) |
303c1206 | 3 | Name: cec |
62025924 | 4 | Version: 14 |
303c1206 | 5 | Release: 1 |
a92261e9 | 6 | License: GPL v2 |
303c1206 | 7 | Group: Networking |
62025924 JB |
8 | Source0: http://downloads.sourceforge.net/aoetools/%{name}-%{version}.tgz |
9 | # Source0-md5: d7a467eb70f2a1dcc27ec77085e00527 | |
303c1206 JB |
10 | URL: http://aoetools.sourceforge.net/ |
11 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
12 | ||
13 | %description | |
14 | The Coraid Ethernet Console (cec) is a lightweight protocol for | |
15 | connecting two endpoints using raw ethernet frames. The communication | |
16 | is not secure. | |
17 | ||
18 | cec is also the name of the client used to connect to cec servers. It | |
19 | will run on Linux, and BSD flavors supporting BPF. | |
20 | ||
888d4097 JR |
21 | %description -l pl.UTF-8 |
22 | Coraid Ethernet Console (cec) to lekki protokół pozwalający na | |
23 | połączenie dwóch końców przy użyciu surowych ramek ethernetowych. | |
303c1206 JB |
24 | Komunikacja nie jest bezpieczna. |
25 | ||
888d4097 JR |
26 | cec to także nazwa klienta służącego do łączenia z serwerami cec. |
27 | Działa pod Linuksem i odmianami BSD z obsługą BPF. | |
303c1206 JB |
28 | |
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | %{__make} \ | |
34 | CC="%{__cc}" \ | |
35 | CFLAGS="%{rpmcflags} -Wall" \ | |
36 | LDFLAGS="%{rpmldflags}" | |
37 | ||
38 | %install | |
39 | rm -rf $RPM_BUILD_ROOT | |
40 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
41 | ||
42 | install cec $RPM_BUILD_ROOT%{_sbindir} | |
43 | install cec.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
44 | ||
45 | %clean | |
46 | rm -rf $RPM_BUILD_ROOT | |
47 | ||
48 | %files | |
49 | %defattr(644,root,root,755) | |
a92261e9 | 50 | %doc NEWS README cec.txt |
303c1206 JB |
51 | %attr(755,root,root) %{_sbindir}/cec |
52 | %{_mandir}/man8/cec.8* |