1 Summary: UDP-based Data Transfer library
2 Summary(pl.UTF-8): UDT (UDP-based Data Transfer) - biblioteka transportu danych w oparciu o UDP
8 Source0: http://downloads.sourceforge.net/udt/udt.sdk.%{version}.tar.gz
9 # Source0-md5: 30b1556e5cf0afe179e40a53a1371b08
10 URL: http://udt.sourceforge.net/
11 BuildRequires: libstdc++-devel
12 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15 UDT is a reliable UDP based application level data transport protocol
16 for distributed data intensive applications over wide area high-speed
17 networks. UDT uses UDP to transfer bulk data with its own reliability
18 control and congestion control mechanisms. The new protocol can
19 transfer data at a much higher speed than TCP does. UDT is also a
20 highly configurable framework that can accommodate various congestion
23 %description -l pl.UTF-8
24 UDT to oparty na UDP wiarygodny protokół transportowy działający na
25 poziomie aplikacji przeznaczony dla aplikacji rozproszonych z dużą
26 ilością danych używających szybkich sieci o dużym zasięgu. UDT
27 wykorzystuje UDP do przesyłania danych z własną kontrolą niezawodności
28 i mechanizmami kontroli wysycenia. Nowy protokół jest w stanie
29 przesyłać dane o wiele szybciej niż TCP. UDT jest też szkieletem o
30 dużej konfigurowalności, potrafiącym obsłużyć różne algorytmy kontroli
34 Summary: Header files for UDT library
35 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki UDT
36 Group: Development/Libraries
37 Requires: %{name} = %{version}-%{release}
38 Requires: libstdc++-devel
41 Header files for UDT library.
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki UDT.
47 Summary: Static UDT library
48 Summary(pl.UTF-8): Statyczna biblioteka UDT
49 Group: Development/Libraries
50 Requires: %{name}-devel = %{version}-%{release}
55 %description static -l pl.UTF-8
56 Statyczna biblioteka UDT.
59 Summary: UDT API documentation
60 Summary(pl.UTF-8): Dokumentacja API biblioteki UDT
64 API documentation for UDT library.
66 %description apidocs -l pl.UTF-8
67 Dokumentacja API biblioteki UDT.
72 %{__sed} -i -e '/^CCFLAGS/s/ -O3/ %{rpmcxxflags}/;s/^C++ = .*/C++ = %{__cxx}/' src/Makefile app/Makefile
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/udt}
81 install src/{libudt.so,libudt.a} $RPM_BUILD_ROOT%{_libdir}
82 cp -p src/{udt,ccc,packet}.h $RPM_BUILD_ROOT%{_includedir}/udt
85 rm -rf $RPM_BUILD_ROOT
87 %post -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
91 %defattr(644,root,root,755)
92 %doc LICENSE.txt README.txt RELEASE_NOTES.txt draft-gg-udt-xx.txt
93 %attr(755,root,root) %{_libdir}/libudt.so
96 %defattr(644,root,root,755)
100 %defattr(644,root,root,755)
104 %defattr(644,root,root,755)