]>
Commit | Line | Data |
---|---|---|
1 | Summary: Easy data transfer over parallel network devices | |
2 | Summary(pl.UTF-8): Narzędzie do łatwego przesyłania danych po równoległych urządzeniach sieciowych | |
3 | Name: firehose | |
4 | Version: 0.6.0 | |
5 | Release: 2 | |
6 | License: LGPL | |
7 | Group: Networking/Utilities | |
8 | Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2 | |
9 | # Source0-md5: 04b846adb6f90df2756d297ab02cce21 | |
10 | Patch0: %{name}-sh.patch | |
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 | ||
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. | |
27 | ||
28 | %package devel | |
29 | Summary: Firehose header files and static library | |
30 | Summary(pl.UTF-8): Pliki nagłówkowe i statyczna biblioteka firehose | |
31 | Group: Development/Libraries | |
32 | # does not depend on base (no shared library) | |
33 | ||
34 | %description devel | |
35 | Firehose header files and static library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe i statyczna biblioteka firehose. | |
39 | ||
40 | %prep | |
41 | %setup -q | |
42 | %patch0 -p1 | |
43 | ||
44 | %build | |
45 | %{__make} \ | |
46 | GCC="%{__cc}" \ | |
47 | CFLAGS="%{rpmcflags}" \ | |
48 | TARGET=pld | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}} | |
53 | ||
54 | install pld/{firerecv,firesend,firepipe,dateserve,dateget,bottom,extract} $RPM_BUILD_ROOT%{_bindir} | |
55 | install pld/libfirehose.a $RPM_BUILD_ROOT%{_libdir} | |
56 | install firehose*.h $RPM_BUILD_ROOT%{_includedir} | |
57 | ||
58 | %clean | |
59 | rm -rf $RPM_BUILD_ROOT | |
60 | ||
61 | %files | |
62 | %defattr(644,root,root,755) | |
63 | %doc README | |
64 | %attr(755,root,root) %{_bindir}/* | |
65 | ||
66 | %files devel | |
67 | %defattr(644,root,root,755) | |
68 | %{_libdir}/lib*.a | |
69 | %{_includedir}/*.h |