]>
Commit | Line | Data |
---|---|---|
9193df63 | 1 | Summary: Audio/Video Communications Framework |
9589022b | 2 | Summary(pl.UTF-8): Szkielet do komunikacji audio/video |
9193df63 | 3 | Name: farsight2 |
e9c8286d CM |
4 | Version: 0.0.31 |
5 | Release: 1 | |
9193df63 MB |
6 | License: LGPL v2+ |
7 | Group: Libraries | |
9589022b | 8 | Source0: https://www.freedesktop.org/software/farstream/releases/farsight2/%{name}-%{version}.tar.gz |
e9c8286d | 9 | # Source0-md5: 3771d8268f025b28261cc1e977fab27f |
9589022b JB |
10 | Patch0: %{name}-make.patch |
11 | Patch1: gstreamer-common-gtkdoc.patch | |
12 | Patch2: %{name}-gtk-doc.patch | |
13 | URL: https://www.freedesktop.org/wiki/Software/Farstream/ | |
9193df63 MB |
14 | BuildRequires: autoconf >= 2.60 |
15 | BuildRequires: automake | |
1ebb76cb | 16 | BuildRequires: docbook-dtd412-xml |
9589022b JB |
17 | BuildRequires: glib2-devel >= 1:2.26 |
18 | BuildRequires: gstreamer0.10-devel >= 0.10.33 | |
19 | BuildRequires: gstreamer0.10-plugins-base-devel >= 0.10.33 | |
9193df63 | 20 | BuildRequires: gtk-doc >= 1.8 |
e9c8286d | 21 | BuildRequires: gupnp-devel >= 0.14 |
9193df63 | 22 | BuildRequires: gupnp-igd-devel |
9cd75a2d | 23 | BuildRequires: libnice-devel >= 0.1.0 |
9193df63 MB |
24 | BuildRequires: libtool |
25 | BuildRequires: pkgconfig | |
26 | BuildRequires: python-devel >= 1:2.4 | |
9589022b JB |
27 | BuildRequires: python-gstreamer0.10-devel >= 0.10.10 |
28 | BuildRequires: python-pyobject-devel >= 2.16.0 | |
29 | BuildRequires: rpm-build >= 4.6 | |
1ebb76cb | 30 | BuildRequires: rpm-pythonprov |
9589022b JB |
31 | Requires: glib2 >= 1:2.26 |
32 | Requires: gstreamer0.10 >= 0.10.33 | |
33 | Requires: gstreamer0.10-plugins-base >= 0.10.33 | |
9193df63 MB |
34 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
35 | ||
36 | %description | |
37 | The Farsight project is an effort to create a framework to deal with | |
38 | all known audio/video conferencing protocols. On one side it offers a | |
39 | generic API that makes it possible to write plugins for different | |
40 | streaming protocols, on the other side it offers an API for clients to | |
41 | use those plugins. | |
42 | ||
43 | The main target clients for Farsight are Instant Messaging | |
44 | applications. These applications should be able to use Farsight for | |
45 | all their Audio/Video conferencing needs without having to worry about | |
46 | any of the lower level streaming and NAT traversal issues. | |
47 | ||
9589022b JB |
48 | %description -l pl.UTF-8 |
49 | Projekt Farsight to próba stworzenia szkieletu do obsługi wszystkich | |
50 | znanych protokołów konferencji audio/video. Z jednej strony oferuje | |
51 | generyczne API umożliwiające tworzenie wtyczek do różnych protokołów | |
52 | strumieniowych, z drugiej strony oferuje API klienckie do używania | |
53 | tych wtyczek. | |
54 | ||
55 | Głównym celem klientów Farsighta są komunikatory (aplikacje IM). | |
56 | Powinny móc używać Farsighta do wszystkich potrzeb konferencji | |
57 | audio/video bez zagłębiania się w niskopoziomowe szczegóły przesyłania | |
58 | strumieni czy przechodzenia NAT. | |
59 | ||
9193df63 MB |
60 | %package devel |
61 | Summary: Header files for farsight2 library | |
62 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki farsight2 | |
63 | Group: Development/Libraries | |
64 | Requires: %{name} = %{version}-%{release} | |
9589022b JB |
65 | Requires: glib2-devel >= 1:2.26 |
66 | Requires: gstreamer0.10-devel >= 0.10.33 | |
67 | Requires: gstreamer0.10-plugins-base-devel >= 0.10.33 | |
9193df63 MB |
68 | |
69 | %description devel | |
70 | Header files for farsight2 library. | |
71 | ||
72 | %description devel -l pl.UTF-8 | |
73 | Pliki nagłówkowe biblioteki farsight2. | |
74 | ||
75 | %package static | |
76 | Summary: Static farsight2 library | |
77 | Summary(pl.UTF-8): Statyczna biblioteka farsight2 | |
78 | Group: Development/Libraries | |
79 | Requires: %{name}-devel = %{version}-%{release} | |
80 | ||
81 | %description static | |
82 | Static farsight2 library. | |
83 | ||
84 | %description static -l pl.UTF-8 | |
85 | Statyczna biblioteka farsight2. | |
86 | ||
87 | %package apidocs | |
88 | Summary: farsight2 library API documentation | |
89 | Summary(pl.UTF-8): Dokumentacja API biblioteki farsight2 | |
90 | Group: Documentation | |
91 | Requires: gtk-doc-common | |
9589022b | 92 | BuildArch: noarch |
9193df63 MB |
93 | |
94 | %description apidocs | |
95 | farsight2 library API documentation. | |
96 | ||
97 | %description apidocs -l pl.UTF-8 | |
98 | Dokumentacja API biblioteki farsight2. | |
99 | ||
100 | %package -n python-farsight2 | |
101 | Summary: farsight2 Python bindings | |
102 | Summary(pl.UTF-8): Wiązania Pythona do farsight2 | |
103 | Group: Libraries/Python | |
104 | Requires: %{name} = %{version}-%{release} | |
9589022b JB |
105 | Requires: python-gstreamer0.10 >= 0.10.10 |
106 | Requires: python-pyobject >= 2.16.0 | |
9193df63 MB |
107 | |
108 | %description -n python-farsight2 | |
109 | farsight2 Python bindings. | |
110 | ||
111 | %description -n python-farsight2 -l pl.UTF-8 | |
112 | Wiązania Pythona do farsight2. | |
113 | ||
114 | %prep | |
115 | %setup -q | |
9589022b JB |
116 | %patch0 -p1 |
117 | cd common | |
118 | %patch1 -p1 | |
119 | cd .. | |
120 | %patch2 -p1 | |
9193df63 MB |
121 | |
122 | %build | |
e201ac7f | 123 | %{__gtkdocize} |
9193df63 MB |
124 | %{__libtoolize} |
125 | %{__aclocal} -I common/m4 -I m4 | |
126 | %{__autoconf} | |
127 | %{__autoheader} | |
128 | %{__automake} | |
129 | %configure \ | |
130 | --enable-gtk-doc \ | |
33bb9d52 | 131 | --disable-silent-rules \ |
9193df63 MB |
132 | --with-html-dir=%{_gtkdocdir} |
133 | ||
134 | %{__make} | |
135 | ||
9193df63 MB |
136 | %install |
137 | rm -rf $RPM_BUILD_ROOT | |
138 | ||
139 | %{__make} install \ | |
140 | DESTDIR=$RPM_BUILD_ROOT | |
141 | ||
142 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/farsight2-0.0/*.{a,la} | |
143 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/*.{a,la} | |
144 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la} | |
145 | ||
146 | %clean | |
147 | rm -rf $RPM_BUILD_ROOT | |
148 | ||
149 | %post -p /sbin/ldconfig | |
150 | %postun -p /sbin/ldconfig | |
151 | ||
152 | %files | |
153 | %defattr(644,root,root,755) | |
154 | %doc AUTHORS ChangeLog NEWS README | |
155 | %attr(755,root,root) %{_libdir}/libgstfarsight-0.10.so.*.*.* | |
156 | %attr(755,root,root) %ghost %{_libdir}/libgstfarsight-0.10.so.0 | |
157 | %dir %{_libdir}/farsight2-0.0 | |
158 | %attr(755,root,root) %{_libdir}/farsight2-0.0/libmulticast-transmitter.so | |
159 | %attr(755,root,root) %{_libdir}/farsight2-0.0/libnice-transmitter.so | |
160 | %attr(755,root,root) %{_libdir}/farsight2-0.0/librawudp-transmitter.so | |
9cd75a2d | 161 | %attr(755,root,root) %{_libdir}/farsight2-0.0/libshm-transmitter.so |
9193df63 | 162 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsfunnel.so |
8e7e2d28 | 163 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsmsnconference.so |
45b7ef53 | 164 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrawconference.so |
9193df63 MB |
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 | |
45b7ef53 PZ |
168 | %dir %{_datadir}/farsight2 |
169 | %dir %{_datadir}/farsight2/0.0 | |
170 | %{_datadir}/farsight2/0.0/fsrtpconference | |
9193df63 MB |
171 | |
172 | %files devel | |
173 | %defattr(644,root,root,755) | |
174 | %attr(755,root,root) %{_libdir}/libgstfarsight-0.10.so | |
175 | %{_libdir}/libgstfarsight-0.10.la | |
176 | %{_includedir}/gstreamer-0.10/gst/farsight | |
177 | %{_pkgconfigdir}/farsight2-0.10.pc | |
178 | ||
179 | %files static | |
180 | %defattr(644,root,root,755) | |
181 | %{_libdir}/libgstfarsight-0.10.a | |
182 | ||
183 | %files apidocs | |
184 | %defattr(644,root,root,755) | |
185 | %{_gtkdocdir}/farsight2-libs-0.10 | |
186 | %{_gtkdocdir}/farsight2-plugins-0.10 | |
187 | ||
188 | %files -n python-farsight2 | |
189 | %defattr(644,root,root,755) | |
190 | %attr(755,root,root) %{py_sitedir}/farsight.so |