1 Summary: Portable UDP networking library
2 Summary(pl.UTF-8): Przenośna biblioteka dla UDP
8 Source0: http://enet.bespin.org/download/%{name}-%{version}.tar.gz
9 # Source0-md5: 4b0b69377fd4511e82e5f0921a942e59
10 URL: http://enet.bespin.org/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRequires: libtool
14 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17 ENet's purpose is to provide a relatively thin, simple and robust
18 network communication layer on top of UDP (User Datagram Protocol).
19 The primary feature it provides is optional reliable, in-order
22 %description -l pl.UTF-8
23 Celem ENeta jest dostarczenie relatywnie lekkiej, prostej oraz
24 wydajnej sieciowej warstwy komunikacyjnej dla UDP (Datagramowego
25 Protokołu Użytkownika). Podstawową jego zaletą jest niezawodne
26 dostarczanie pakietów w odpowiedniej kolejności.
29 Summary: Header files for enet library
30 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki enet
31 Group: Development/Libraries
32 Requires: %{name} = %{version}-%{release}
35 Header files for enet library.
37 %description devel -l pl.UTF-8
38 Pliki nagłówkowe biblioteki enet.
41 Summary: Static enet library
42 Summary(pl.UTF-8): Statyczna biblioteka enet
43 Group: Development/Libraries
44 Requires: %{name}-devel = %{version}-%{release}
49 %description static -l pl.UTF-8
50 Statyczna biblioteka enet.
64 rm -rf $RPM_BUILD_ROOT
65 install -d $RPM_BUILD_ROOT%{_libdir}
68 DESTDIR=$RPM_BUILD_ROOT
71 rm -rf $RPM_BUILD_ROOT
73 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
77 %defattr(644,root,root,755)
78 %doc ChangeLog docs *.txt
79 %attr(755,root,root) %{_libdir}/libenet.so.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libenet.so.1
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libenet.so
85 %dir %{_includedir}/enet/
86 %{_includedir}/enet/*.h
88 %{_pkgconfigdir}/libenet.pc
91 %defattr(644,root,root,755)