3 %bcond_without apidocs # do not build and package API docs
4 %bcond_without static_libs # don't build static libraries
6 %include /usr/lib/rpm/macros.gstreamer
7 Summary: Audio/Video Communications Framework
8 Summary(pl.UTF-8): Szkielet komunikacji Audio/Video
14 Source0: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
15 # Source0-md5: 5d6e561b3688d0d0c8906fec4f356df3
16 URL: http://www.freedesktop.org/wiki/Software/Farstream
17 BuildRequires: autoconf >= 2.60
18 BuildRequires: automake
19 BuildRequires: glib2-devel >= 1:2.30.0
20 BuildRequires: gobject-introspection-devel >= 0.10.1
21 BuildRequires: gstreamer-devel >= 0.10.33
22 BuildRequires: gstreamer-plugins-base-devel >= 0.10.33
23 BuildRequires: gtk-doc >= 1.8
24 BuildRequires: gupnp-igd-devel
25 BuildRequires: libnice-devel >= 0.1.0
26 BuildRequires: libtool
27 BuildRequires: pkgconfig
28 BuildRequires: python-devel >= 1:2.4
29 BuildRequires: python-gstreamer-devel >= 0.10.10
30 BuildRequires: python-pygobject-devel >= 2.16.0
31 Requires: glib2 >= 1:2.30.0
32 Requires: gstreamer >= 0.10.33
33 Requires: gstreamer-plugins-base >= 0.10.33
34 Requires: libnice >= 0.1.0
35 Obsoletes: farsight2 < 0.0.32
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
39 The Farstream (formerly Farsight) project is an effort to create a
40 framework to deal with all known audio/video conferencing protocols.
41 On one side it offers a generic API that makes it possible to write
42 plugins for different streaming protocols, on the other side it offers
43 an API for clients to use those plugins.
45 The main target clients for Farstream are Instant Messaging
46 applications. These applications should be able to use Farstream for
47 all their Audio/Video conferencing needs without having to worry about
48 any of the lower level streaming and NAT traversal issues.
50 %description -l pl.UTF-8
51 Projekt Farstream (dawniej Farsight) to próba stworzenia szkieletu
52 obsługującego wszystkie znane protokoły konferencji audio/video. Z
53 jednej strony oferuje ogólne API umożliwiające pisanie wtyczek dla
54 różnych protokołów strumieniowych, z drugiej strony oferuje API dla
55 klientów, pozwalającyce im używać tych wtyczek.
57 Głównymi klientami szkieletu Farstream mają być aplikacje
58 komunikatorów (IM). Powinny być w stanie używać Farstreama do potrzeb
59 konferencji audio/video bez konieczności obsługi niskopoziomowych
60 poziomów strumieni i omijania NAT-u.
63 Summary: Header files for Farstream library
64 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Farstream
65 Group: Development/Libraries
66 Requires: %{name} = %{version}-%{release}
67 Requires: glib2-devel >= 1:2.30.0
68 Requires: gstreamer-devel >= 0.10.33
69 Requires: gstreamer-plugins-base-devel >= 0.10.33
70 Obsoletes: farsight2-devel < 0.0.32
73 Header files for Farstream library.
75 %description devel -l pl.UTF-8
76 Pliki nagłówkowe biblioteki Farstream.
79 Summary: Static Farstream library
80 Summary(pl.UTF-8): Statyczna biblioteka Farstream
81 Group: Development/Libraries
82 Requires: %{name}-devel = %{version}-%{release}
83 Obsoletes: farsight2-static < 0.0.32
86 Static Farstream library.
88 %description static -l pl.UTF-8
89 Statyczna biblioteka Farstream.
92 Summary: Farstream API documentation
93 Summary(pl.UTF-8): Dokumentacja API biblioteki Farstream
95 Requires: gtk-doc-common
96 Obsoletes: farsight2-apidocs < 0.0.32
99 API documentation for Farstream library.
101 %description apidocs -l pl.UTF-8
102 Dokumentacja API biblioteki Farstream.
104 %package -n python-farstream
105 Summary: Farstream Python bindings
106 Summary(pl.UTF-8): Wiązania języka Python do biblioteki Farstream
107 Group: Libraries/Python
108 Requires: %{name} = %{version}-%{release}
109 Requires: python-gstreamer >= 0.10.10
110 Requires: python-pygobject >= 2.16.0
111 Obsoletes: python-farsight2 < 0.0.32
113 %description -n python-farstream
114 Farstream Python bindings.
116 %description -n python-farstream -l pl.UTF-8
117 Wiązania języka Python do biblioteki Farstream.
124 %{__aclocal} -I m4 -I common/m4
129 %{__enable_disable apidocs gtk-doc} \
130 %{__enable_disable static_libs static} \
131 --disable-silent-rules \
132 --with-html-dir=%{_gtkdocdir}
136 rm -rf $RPM_BUILD_ROOT
139 DESTDIR=$RPM_BUILD_ROOT
141 %{__rm} $RPM_BUILD_ROOT%{_libdir}/{farstream-0.1,gstreamer-0.10}/*.{a,la}
142 %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la}
143 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
146 rm -rf $RPM_BUILD_ROOT
148 %post -p /sbin/ldconfig
149 %postun -p /sbin/ldconfig
152 %defattr(644,root,root,755)
153 %doc AUTHORS ChangeLog NEWS README
154 %attr(755,root,root) %{_libdir}/libfarstream-0.1.so.*.*.*
155 %attr(755,root,root) %ghost %{_libdir}/libfarstream-0.1.so.0
156 %{_libdir}/girepository-1.0/Farstream-0.1.typelib
157 %dir %{_libdir}/farstream-0.1
158 %attr(755,root,root) %{_libdir}/farstream-0.1/libmulticast-transmitter.so
159 %attr(755,root,root) %{_libdir}/farstream-0.1/libnice-transmitter.so
160 %attr(755,root,root) %{_libdir}/farstream-0.1/librawudp-transmitter.so
161 %attr(755,root,root) %{_libdir}/farstream-0.1/libshm-transmitter.so
162 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsfunnel.so
163 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsmsnconference.so
164 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrawconference.so
165 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so
166 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtpconference.so
167 %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so
168 %{_datadir}/farstream
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_libdir}/libfarstream-0.1.so
173 %{_datadir}/gir-1.0/Farstream-0.1.gir
174 %{_includedir}/farstream-0.1
175 %{_pkgconfigdir}/farstream-0.1.pc
177 %if %{with static_libs}
179 %defattr(644,root,root,755)
180 %{_libdir}/libfarstream-0.1.a
185 %defattr(644,root,root,755)
186 %{_gtkdocdir}/farstream-libs-0.10
187 %{_gtkdocdir}/farstream-plugins-0.1
190 %files -n python-farstream
191 %defattr(644,root,root,755)
192 %attr(755,root,root) %{py_sitedir}/farstream.so