]>
Commit | Line | Data |
---|---|---|
73116870 | 1 | Summary: Portable UDP networking library |
aac4c639 | 2 | Summary(pl.UTF-8): Przenośna biblioteka dla UDP |
73116870 | 3 | Name: enet |
692a85a5 | 4 | Version: 1.3.3 |
7efc50b0 | 5 | Release: 2 |
73116870 | 6 | License: MIT |
7 | Group: Libraries | |
8 | Source0: http://enet.bespin.org/download/%{name}-%{version}.tar.gz | |
692a85a5 | 9 | # Source0-md5: 4b0b69377fd4511e82e5f0921a942e59 |
73116870 | 10 | URL: http://enet.bespin.org/ |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
392ee803 | 13 | BuildRequires: libtool |
73116870 | 14 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
15 | ||
16 | %description | |
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 | |
20 | delivery of packets. | |
21 | ||
aac4c639 | 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. | |
27 | ||
73116870 | 28 | %package devel |
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} | |
33 | ||
34 | %description devel | |
35 | Header files for enet library. | |
36 | ||
37 | %description devel -l pl.UTF-8 | |
38 | Pliki nagłówkowe biblioteki enet. | |
39 | ||
40 | %package static | |
41 | Summary: Static enet library | |
42 | Summary(pl.UTF-8): Statyczna biblioteka enet | |
43 | Group: Development/Libraries | |
44 | Requires: %{name}-devel = %{version}-%{release} | |
45 | ||
46 | %description static | |
47 | Static enet library. | |
48 | ||
49 | %description static -l pl.UTF-8 | |
50 | Statyczna biblioteka enet. | |
51 | ||
52 | %prep | |
038f4a15 | 53 | %setup -q |
73116870 | 54 | |
55 | %build | |
392ee803 | 56 | %{__libtoolize} |
57 | %{__aclocal} -I m4 | |
73116870 | 58 | %{__autoconf} |
59 | %{__automake} | |
60 | %configure | |
61 | %{__make} | |
62 | ||
73116870 | 63 | %install |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | install -d $RPM_BUILD_ROOT%{_libdir} | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT | |
69 | ||
73116870 | 70 | %clean |
71 | rm -rf $RPM_BUILD_ROOT | |
72 | ||
73 | %post -p /sbin/ldconfig | |
74 | %postun -p /sbin/ldconfig | |
75 | ||
76 | %files | |
77 | %defattr(644,root,root,755) | |
78 | %doc ChangeLog docs *.txt | |
038f4a15 | 79 | %attr(755,root,root) %{_libdir}/libenet.so.*.* |
80 | %attr(755,root,root) %ghost %{_libdir}/libenet.so.1 | |
73116870 | 81 | |
82 | %files devel | |
83 | %defattr(644,root,root,755) | |
038f4a15 | 84 | %attr(755,root,root) %{_libdir}/libenet.so |
73116870 | 85 | %dir %{_includedir}/enet/ |
86 | %{_includedir}/enet/*.h | |
038f4a15 | 87 | %{_libdir}/libenet.la |
88 | %{_pkgconfigdir}/libenet.pc | |
73116870 | 89 | |
90 | %files static | |
91 | %defattr(644,root,root,755) | |
92 | %{_libdir}/lib*.a |