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