]> git.pld-linux.org Git - packages/firehose.git/blame_incremental - firehose.spec
- fix build
[packages/firehose.git] / firehose.spec
... / ...
CommitLineData
1Summary: Easy data transfer over parallel network devices
2Summary(pl.UTF-8): Narzędzie do łatwego przesyłania danych po równoległych urządzeniach sieciowych
3Name: firehose
4Version: 0.6.0
5Release: 3
6License: LGPL
7Group: Networking/Utilities
8Source0: http://dl.sourceforge.net/heroines/%{name}-%{version}-src.tar.bz2
9# Source0-md5: 04b846adb6f90df2756d297ab02cce21
10Patch0: %{name}-sh.patch
11Patch1: %{name}-page.patch
12URL: http://heroines.sourceforge.net/firehose.php3
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16At the heart of firehose is a library which allows any program wishing
17to stream data over striped ethernet to do so. There are several
18utilities which demonstrate use of the library. firerecv is a threaded
19server and firesend is a client. firepipe allows you to send data over
20parallel network devices using pipes.
21
22%description -l pl.UTF-8
23Podstawą firehose jest biblioteka pozwalająca programom przesyłać
24strumienie danych po wielu równoległych połączeniach sieciowych naraz.
25Pakiet zawiera kilka narzędzi demonstrujących użycie tej biblioteki:
26firerecv to wielowątkowy serwer, firesend to klient, a firepipe
27pozwala na wysyłanie danych przy użyciu rurek.
28
29%package devel
30Summary: Firehose header files and static library
31Summary(pl.UTF-8): Pliki nagłówkowe i statyczna biblioteka firehose
32Group: Development/Libraries
33# does not depend on base (no shared library)
34
35%description devel
36Firehose header files and static library.
37
38%description devel -l pl.UTF-8
39Pliki 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
53rm -rf $RPM_BUILD_ROOT
54install -d $RPM_BUILD_ROOT{%{_includedir},%{_libdir},%{_bindir}}
55
56install pld/{firerecv,firesend,firepipe,dateserve,dateget,bottom,extract} $RPM_BUILD_ROOT%{_bindir}
57install pld/libfirehose.a $RPM_BUILD_ROOT%{_libdir}
58install firehose*.h $RPM_BUILD_ROOT%{_includedir}
59
60%clean
61rm -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
This page took 0.102187 seconds and 5 git commands to generate.