]>
Commit | Line | Data |
---|---|---|
e17895e6 | 1 | Summary: Easy data transfer over parallel network devices |
a5a2f276 | 2 | Summary(pl.UTF-8): Narzędzie do łatwego przesyłania danych po równoległych urządzeniach sieciowych |
e17895e6 | 3 | Name: firehose |
50f8e419 | 4 | Version: 0.6.0 |
e17895e6 JB |
5 | Release: 1 |
6 | License: LGPL | |
7 | Group: Networking/Utilities | |
e92ba094 | 8 | Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2 |
50f8e419 | 9 | # Source0-md5: 04b846adb6f90df2756d297ab02cce21 |
a1c0e405 | 10 | Patch0: %{name}-sh.patch |
e17895e6 JB |
11 | URL: http://heroines.sourceforge.net/firehose.php3 |
12 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
13 | ||
14 | %description | |
15 | At the heart of firehose is a library which allows any program wishing | |
16 | to stream data over striped ethernet to do so. There are several | |
17 | utilities which demonstrate use of the library. firerecv is a threaded | |
18 | server and firesend is a client. firepipe allows you to send data over | |
19 | parallel network devices using pipes. | |
20 | ||
a5a2f276 JR |
21 | %description -l pl.UTF-8 |
22 | Podstawą firehose jest biblioteka pozwalająca programom przesyłać | |
23 | strumienie danych po wielu równoległych połączeniach sieciowych naraz. | |
24 | Pakiet zawiera kilka narzędzi demonstrujących użycie tej biblioteki: | |
25 | firerecv to wielowątkowy serwer, firesend to klient, a firepipe | |
26 | pozwala na wysyłanie danych przy użyciu rurek. | |
e17895e6 JB |
27 | |
28 | %package devel | |
29 | Summary: Firehose header files and static library | |
a5a2f276 | 30 | Summary(pl.UTF-8): Pliki nagłówkowe i statyczna biblioteka firehose |
e17895e6 | 31 | Group: Development/Libraries |
e93e85d5 | 32 | # does not depend on base (no shared library) |
e17895e6 JB |
33 | |
34 | %description devel | |
35 | Firehose header files and static library. | |
36 | ||
a5a2f276 JR |
37 | %description devel -l pl.UTF-8 |
38 | Pliki nagłówkowe i statyczna biblioteka firehose. | |
e17895e6 JB |
39 | |
40 | %prep | |
50f8e419 | 41 | %setup -q |
a1c0e405 | 42 | %patch0 -p1 |
e17895e6 JB |
43 | |
44 | %build | |
45 | %{__make} \ | |
46 | GCC="%{__cc}" \ | |
e92ba094 JB |
47 | CFLAGS="%{rpmcflags}" \ |
48 | TARGET=pld | |
e17895e6 JB |
49 | |
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}} | |
53 | ||
e92ba094 JB |
54 | install pld/{firerecv,firesend,firepipe,dateserve,dateget,bottom,extract} $RPM_BUILD_ROOT%{_bindir} |
55 | install pld/libfirehose.a $RPM_BUILD_ROOT%{_libdir} | |
e17895e6 | 56 | install firehose*.h $RPM_BUILD_ROOT%{_includedir} |
e92ba094 | 57 | |
e17895e6 JB |
58 | %clean |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
0c6e3b84 | 63 | %doc README |
e17895e6 JB |
64 | %attr(755,root,root) %{_bindir}/* |
65 | ||
66 | %files devel | |
67 | %defattr(644,root,root,755) | |
68 | %{_libdir}/lib*.a | |
69 | %{_includedir}/*.h |