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: 9ed8020e2c1fa320fe17dbeaa2dedaba
10 URL: http://enet.bespin.org/
11 BuildRequires: autoconf
12 BuildRequires: automake
13 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16 ENet's purpose is to provide a relatively thin, simple and robust
17 network communication layer on top of UDP (User Datagram Protocol).
18 The primary feature it provides is optional reliable, in-order
21 %description -l pl.UTF-8
22 Celem ENeta jest dostarczenie relatywnie lekkiej, prostej oraz
23 wydajnej sieciowej warstwy komunikacyjnej dla UDP (Datagramowego
24 Protokołu Użytkownika). Podstawową jego zaletą jest niezawodne
25 dostarczanie pakietów w odpowiedniej kolejności.
28 Summary: Header files for enet library
29 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki enet
30 Group: Development/Libraries
31 Requires: %{name} = %{version}-%{release}
34 Header files for enet library.
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki enet.
40 Summary: Static enet library
41 Summary(pl.UTF-8): Statyczna biblioteka enet
42 Group: Development/Libraries
43 Requires: %{name}-devel = %{version}-%{release}
48 %description static -l pl.UTF-8
49 Statyczna biblioteka enet.
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_libdir}
66 DESTDIR=$RPM_BUILD_ROOT
69 rm -rf $RPM_BUILD_ROOT
71 %post -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
75 %defattr(644,root,root,755)
76 %doc ChangeLog docs *.txt
77 %attr(755,root,root) %{_libdir}/libenet.so.*.*
78 %attr(755,root,root) %ghost %{_libdir}/libenet.so.1
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libenet.so
83 %dir %{_includedir}/enet/
84 %{_includedir}/enet/*.h
86 %{_pkgconfigdir}/libenet.pc
89 %defattr(644,root,root,755)