]> git.pld-linux.org Git - packages/udt.git/blob - udt.spec
- build is racy, use -j1; release 2
[packages/udt.git] / udt.spec
1 Summary:        UDP-based Data Transfer library
2 Summary(pl.UTF-8):      UDT (UDP-based Data Transfer) - biblioteka transportu danych w oparciu o UDP
3 Name:           udt
4 Version:        4.11
5 Release:        2
6 License:        BSD
7 Group:          Libraries
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)
13
14 %description
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
21 control algorithms. 
22
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
31 wysycenia.
32
33 %package devel
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
39
40 %description devel
41 Header files for UDT library.
42
43 %description devel -l pl.UTF-8
44 Pliki nagłówkowe biblioteki UDT.
45
46 %package static
47 Summary:        Static UDT library
48 Summary(pl.UTF-8):      Statyczna biblioteka UDT
49 Group:          Development/Libraries
50 Requires:       %{name}-devel = %{version}-%{release}
51
52 %description static
53 Static UDT library.
54
55 %description static -l pl.UTF-8
56 Statyczna biblioteka UDT.
57
58 %package apidocs
59 Summary:        UDT API documentation
60 Summary(pl.UTF-8):      Dokumentacja API biblioteki UDT
61 Group:          Documentation
62
63 %description apidocs
64 API documentation for UDT library.
65
66 %description apidocs -l pl.UTF-8
67 Dokumentacja API biblioteki UDT.
68
69 %prep
70 %setup -q -n udt4
71
72 %{__sed} -i -e '/^CCFLAGS/s/ -O3/ %{rpmcxxflags}/;s/^C++ = .*/C++ = %{__cxx}/' src/Makefile app/Makefile
73
74 %build
75 %{__make} -j1
76
77 %install
78 rm -rf $RPM_BUILD_ROOT
79 install -d $RPM_BUILD_ROOT{%{_libdir},%{_includedir}/udt}
80
81 install src/{libudt.so,libudt.a} $RPM_BUILD_ROOT%{_libdir}
82 cp -p src/{udt,ccc,packet}.h $RPM_BUILD_ROOT%{_includedir}/udt
83
84 %clean
85 rm -rf $RPM_BUILD_ROOT
86
87 %post   -p /sbin/ldconfig
88 %postun -p /sbin/ldconfig
89
90 %files
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
94
95 %files devel
96 %defattr(644,root,root,755)
97 %{_includedir}/udt
98
99 %files static
100 %defattr(644,root,root,755)
101 %{_libdir}/libudt.a
102
103 %files apidocs
104 %defattr(644,root,root,755)
105 %doc doc/*
This page took 0.082455 seconds and 3 git commands to generate.