]>
Commit | Line | Data |
---|---|---|
57c2b857 JB |
1 | Summary: The GLib ICE (Interactive Connectivity Establishment) implementation |
2 | Summary(pl.UTF-8): Implementacja ICE (Interactive Connectivity Establishment) oparta o GLib | |
891d5942 | 3 | Name: libnice |
f9fc1d6b | 4 | Version: 0.1.7 |
0ad3aec3 | 5 | Release: 1 |
57c2b857 | 6 | License: LGPL v2.1 or MPL v1.1 |
891d5942 MB |
7 | Group: Libraries |
8 | Source0: http://nice.freedesktop.org/releases/%{name}-%{version}.tar.gz | |
f9fc1d6b | 9 | # Source0-md5: ed74abea19b3f049baf095f137388f2a |
891d5942 MB |
10 | URL: http://nice.freedesktop.org/ |
11 | BuildRequires: autoconf >= 2.60 | |
12 | BuildRequires: automake | |
6cb07c26 | 13 | BuildRequires: docbook-dtd412-xml |
f9fc1d6b | 14 | BuildRequires: glib2-devel >= 1:2.30 |
51cab71a | 15 | BuildRequires: gstreamer-devel >= 1.0.0 |
891d5942 | 16 | BuildRequires: gtk-doc >= 1.9 |
493b00e6 | 17 | BuildRequires: gupnp-igd-devel >= 0.1.2 |
f9fc1d6b | 18 | BuildRequires: libtool >= 2:2 |
891d5942 | 19 | BuildRequires: pkgconfig |
f9fc1d6b | 20 | Requires: glib2 >= 1:2.30 |
57c2b857 | 21 | Requires: gupnp-igd >= 0.1.2 |
891d5942 MB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
25 | libnice is an implementation of the IETF's draft Interactive | |
26 | Connectivity Establishment standard (ICE). It provides GLib-based | |
27 | library and GStreamer elements. | |
28 | ||
29 | ICE is useful for applications that want to establish peer-to-peer UDP | |
30 | data streams. It automates the process of traversing NATs and provides | |
31 | security against some attacks. | |
32 | ||
33 | Existing standards that use ICE include the Session Initiation | |
34 | Protocol (SIP) and Jingle, XMPP extension for audio/video calls. | |
35 | ||
57c2b857 JB |
36 | %description -l pl.UTF-8 |
37 | libnice to implementacja standardu ICE (Interactive Connectivity | |
38 | Establishment) wg szkicu IETF. Udostępnia bibliotekę opartą na | |
39 | GLibie oraz elementy GStreamera. | |
40 | ||
41 | ICE służy aplikacjom chcącym tworzyć strumienie danych UDP | |
42 | peer-to-peer. Automatyzuje proces przechodzenia przez NAT i | |
43 | zabezpiecza przed pewnymi atakami. | |
44 | ||
45 | Istniejące standardy wykorzystujące ICE obejmują protokoły SIP | |
46 | (Session Initiation Protocol) oraz Jingle (rozszerzenie XMPP dla | |
47 | połączeń audio/video). | |
48 | ||
891d5942 MB |
49 | %package devel |
50 | Summary: Header files for libnice library | |
51 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki libnice | |
52 | Group: Development/Libraries | |
53 | Requires: %{name} = %{version}-%{release} | |
f9fc1d6b | 54 | Requires: glib2-devel >= 1:2.30 |
57c2b857 | 55 | Requires: gupnp-igd-devel >= 0.1.2 |
891d5942 MB |
56 | |
57 | %description devel | |
58 | Header files for libnice library. | |
59 | ||
60 | %description devel -l pl.UTF-8 | |
61 | Pliki nagłówkowe biblioteki libnice. | |
62 | ||
63 | %package static | |
64 | Summary: Static libnice library | |
65 | Summary(pl.UTF-8): Statyczna biblioteka libnice | |
66 | Group: Development/Libraries | |
67 | Requires: %{name}-devel = %{version}-%{release} | |
68 | ||
69 | %description static | |
70 | Static libnice library. | |
71 | ||
72 | %description static -l pl.UTF-8 | |
73 | Statyczna biblioteka libnice. | |
74 | ||
75 | %package apidocs | |
76 | Summary: libnice library API documentation | |
77 | Summary(pl.UTF-8): Dokumentacja API biblioteki libnice | |
78 | Group: Documentation | |
79 | Requires: gtk-doc-common | |
80 | ||
81 | %description apidocs | |
82 | libnice library API documentation. | |
83 | ||
84 | %description apidocs -l pl.UTF-8 | |
85 | Dokumentacja API biblioteki libnice. | |
86 | ||
f6969208 JB |
87 | %package -n gstreamer-nice |
88 | Summary: ICE source plugin for GStreamer | |
89 | Summary(pl.UTF-8): Wtyczka źródła ICE dla GStreamera | |
90 | Group: Libraries | |
91 | Requires: %{name} = %{version}-%{release} | |
51cab71a | 92 | Requires: gstreamer >= 1.0.0 |
f6969208 JB |
93 | |
94 | %description -n gstreamer-nice | |
95 | ICE source plugin for GStreamer. | |
96 | ||
97 | %description -n gstreamer-nice -l pl.UTF-8 | |
98 | Wtyczka źródła ICE dla GStreamera. | |
99 | ||
891d5942 MB |
100 | %prep |
101 | %setup -q | |
102 | ||
103 | %build | |
2e0bfc02 | 104 | %{__gtkdocize} |
891d5942 MB |
105 | %{__libtoolize} |
106 | %{__aclocal} | |
107 | %{__autoconf} | |
108 | %{__autoheader} | |
109 | %{__automake} | |
110 | %configure \ | |
0ad3aec3 | 111 | --enable-compile-warnings \ |
57c2b857 | 112 | --disable-silent-rules \ |
891d5942 | 113 | --enable-gtk-doc \ |
51cab71a MB |
114 | --with-html-dir=%{_gtkdocdir} \ |
115 | --without-gstreamer-0.10 | |
891d5942 MB |
116 | |
117 | %{__make} | |
118 | ||
119 | %install | |
120 | rm -rf $RPM_BUILD_ROOT | |
121 | ||
122 | %{__make} install \ | |
123 | DESTDIR=$RPM_BUILD_ROOT | |
124 | ||
51cab71a | 125 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-1.0/*.{a,la} |
ce47622d | 126 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la |
891d5942 MB |
127 | |
128 | %clean | |
129 | rm -rf $RPM_BUILD_ROOT | |
130 | ||
131 | %post -p /sbin/ldconfig | |
132 | %postun -p /sbin/ldconfig | |
133 | ||
134 | %files | |
135 | %defattr(644,root,root,755) | |
57c2b857 | 136 | %doc AUTHORS COPYING ChangeLog NEWS README TODO |
891d5942 MB |
137 | %attr(755,root,root) %{_bindir}/stunbdc |
138 | %attr(755,root,root) %{_bindir}/stund | |
139 | %attr(755,root,root) %{_libdir}/libnice.so.*.*.* | |
33992b86 | 140 | %attr(755,root,root) %ghost %{_libdir}/libnice.so.10 |
891d5942 MB |
141 | |
142 | %files devel | |
143 | %defattr(644,root,root,755) | |
144 | %attr(755,root,root) %{_libdir}/libnice.so | |
891d5942 MB |
145 | %{_includedir}/nice |
146 | %{_includedir}/stun | |
147 | %{_pkgconfigdir}/nice.pc | |
148 | ||
149 | %files static | |
150 | %defattr(644,root,root,755) | |
151 | %{_libdir}/libnice.a | |
152 | ||
153 | %files apidocs | |
154 | %defattr(644,root,root,755) | |
155 | %{_gtkdocdir}/libnice | |
f6969208 JB |
156 | |
157 | %files -n gstreamer-nice | |
158 | %defattr(644,root,root,755) | |
51cab71a | 159 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstnice.so |