]> git.pld-linux.org Git - packages/enet.git/blob - enet.spec
- release 2 (by relup.sh)
[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.3
5 Release:        2
6 License:        MIT
7 Group:          Libraries
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)
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
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
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
53 %setup -q
54
55 %build
56 %{__libtoolize}
57 %{__aclocal} -I m4
58 %{__autoconf}
59 %{__automake}
60 %configure
61 %{__make}
62
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
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
79 %attr(755,root,root) %{_libdir}/libenet.so.*.*
80 %attr(755,root,root) %ghost %{_libdir}/libenet.so.1
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libenet.so
85 %dir %{_includedir}/enet/
86 %{_includedir}/enet/*.h
87 %{_libdir}/libenet.la
88 %{_pkgconfigdir}/libenet.pc
89
90 %files static
91 %defattr(644,root,root,755)
92 %{_libdir}/lib*.a
This page took 0.085026 seconds and 3 git commands to generate.