3 %bcond_without tests # don't perform "make check"
5 Summary: Netembryo - tiny network abstraction
6 Summary(pl.UTF-8): Netembryo - niewielka warstwa abstrakcji dla sieci
12 Source0: http://lscube.org/files/downloads/netembryo/%{name}-%{version}.tar.bz2
13 # Source0-md5: d5a3c96b37fe3e4fb1c49df1f7a4a16f
14 Patch0: %{name}-link.patch
15 URL: http://lscube.org/projects/netembryo_network_abstraction_library_feng_and_libnemesi_depend_upon
16 BuildRequires: autoconf >= 2.61
17 BuildRequires: automake
18 BuildRequires: libsctp-devel
19 BuildRequires: libtool
20 BuildRequires: openssl-devel >= 0.9.8
21 BuildRequires: pkgconfig
24 BuildRequires: glib2-devel >= 1:2.20
26 Requires: openssl >= 0.9.8
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 Netembryo is a collection of function, ranging from the network
31 abstraction to the URL string parsing, useful for implementing RTP and
34 Currently the network wrapper (wsocket or wrapped socket) provides
35 support for TCP, UDP and SCTP.
37 %description -l pl.UTF-8
38 Netembryo to zestaw funkcji obejmujących obszar od abstrakcji
39 sieciowych po przetwarzanie URL-i, przydatnych przy implementowaniu
42 Obecnie warstwa sieciowa (wsocket - wrapped socket) zapewnia obsługę
46 Summary: Header files for Netembryo library
47 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Netembryo
48 Group: Development/Libraries
49 Requires: %{name} = %{version}-%{release}
50 Requires: libsctp-devel
51 Requires: openssl-devel >= 0.9.8
54 Header files for Netembryo library.
56 %description devel -l pl.UTF-8
57 Pliki nagłówkowe biblioteki Netembryo.
60 Summary: Static Netembryo library
61 Summary(pl.UTF-8): Statyczna biblioteka Netembryo
62 Group: Development/Libraries
63 Requires: %{name}-devel = %{version}-%{release}
66 Static Netembryo library.
68 %description static -l pl.UTF-8
69 Statyczna biblioteka Netembryo.
82 --disable-silent-rules
85 %{?with_tests:%{__make} check}
88 rm -rf $RPM_BUILD_ROOT
91 DESTDIR=$RPM_BUILD_ROOT
93 # obsoleted by pkg-config
94 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libnetembryo.la
97 rm -rf $RPM_BUILD_ROOT
99 %post -p /sbin/ldconfig
100 %postun -p /sbin/ldconfig
103 %defattr(644,root,root,755)
104 %doc AUTHORS ChangeLog README TODO
105 %attr(755,root,root) %{_libdir}/libnetembryo.so.*.*.*
106 %attr(755,root,root) %ghost %{_libdir}/libnetembryo.so.9
109 %defattr(644,root,root,755)
110 %attr(755,root,root) %{_libdir}/libnetembryo.so
111 %{_includedir}/netembryo
112 %{_pkgconfigdir}/libnetembryo.pc
113 %{_pkgconfigdir}/libnetembryo-sctp.pc
116 %defattr(644,root,root,755)
117 %{_libdir}/libnetembryo.a