]> git.pld-linux.org Git - packages/enet.git/blob - enet.spec
ba586f5e382d4a2be14a3e48b2fba016e3656bb8
[packages/enet.git] / enet.spec
1 Summary:        Portable UDP networking library
2 Summary(pl.UTF-8):      Przenośna biblioteka dla UDP
3 Name:           enet
4 Version:        1.3.0
5 Release:        1
6 License:        MIT
7 Group:          Libraries
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)
14
15 %description
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
19 delivery of packets.
20
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.
26
27 %package devel
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}
32
33 %description devel
34 Header files for enet library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki enet.
38
39 %package static
40 Summary:        Static enet library
41 Summary(pl.UTF-8):      Statyczna biblioteka enet
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static enet library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka enet.
50
51 %prep
52 %setup -q
53
54 %build
55 %{__aclocal}
56 %{__autoconf}
57 %{__automake}
58 %configure
59 %{__make}
60
61 %install
62 rm -rf $RPM_BUILD_ROOT
63 install -d $RPM_BUILD_ROOT%{_libdir}
64
65 %{__make} install \
66         DESTDIR=$RPM_BUILD_ROOT
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %post   -p /sbin/ldconfig
72 %postun -p /sbin/ldconfig
73
74 %files
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
79
80 %files devel
81 %defattr(644,root,root,755)
82 %attr(755,root,root) %{_libdir}/libenet.so
83 %dir %{_includedir}/enet/
84 %{_includedir}/enet/*.h
85 %{_libdir}/libenet.la
86 %{_pkgconfigdir}/libenet.pc
87
88 %files static
89 %defattr(644,root,root,755)
90 %{_libdir}/lib*.a
This page took 0.050481 seconds and 2 git commands to generate.