]>
Commit | Line | Data |
---|---|---|
9193df63 MB |
1 | Summary: Audio/Video Communications Framework |
2 | Name: farsight2 | |
000d12ce | 3 | Version: 0.0.21 |
41fbbc22 | 4 | Release: 1 |
9193df63 MB |
5 | License: LGPL v2+ |
6 | Group: Libraries | |
7 | Source0: http://farsight.freedesktop.org/releases/farsight2/%{name}-%{version}.tar.gz | |
000d12ce | 8 | # Source0-md5: 5898612c389f3538a4160e677c03087a |
9193df63 MB |
9 | URL: http://farsight.freedesktop.org/ |
10 | BuildRequires: autoconf >= 2.60 | |
11 | BuildRequires: automake | |
1ebb76cb | 12 | BuildRequires: docbook-dtd412-xml |
9193df63 | 13 | BuildRequires: glib2-devel >= 1:2.16.0 |
e201ac7f MB |
14 | BuildRequires: gstreamer-devel >= 0.10.23 |
15 | BuildRequires: gstreamer-plugins-base-devel >= 0.10.23 | |
9193df63 | 16 | BuildRequires: gtk-doc >= 1.8 |
507edd03 | 17 | BuildRequires: gupnp-devel >= 0.13 |
9193df63 | 18 | BuildRequires: gupnp-igd-devel |
e201ac7f | 19 | BuildRequires: libnice-devel >= 0.0.9 |
9193df63 MB |
20 | BuildRequires: libtool |
21 | BuildRequires: pkgconfig | |
22 | BuildRequires: python-devel >= 1:2.4 | |
0673ef70 | 23 | BuildRequires: python-gstreamer-devel >= 0.10.10 |
9193df63 | 24 | BuildRequires: python-pygtk-devel >= 2:2.12.0 |
1ebb76cb | 25 | BuildRequires: rpm-pythonprov |
9193df63 MB |
26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
27 | ||
28 | %description | |
29 | The Farsight project is an effort to create a framework to deal with | |
30 | all known audio/video conferencing protocols. On one side it offers a | |
31 | generic API that makes it possible to write plugins for different | |
32 | streaming protocols, on the other side it offers an API for clients to | |
33 | use those plugins. | |
34 | ||
35 | The main target clients for Farsight are Instant Messaging | |
36 | applications. These applications should be able to use Farsight for | |
37 | all their Audio/Video conferencing needs without having to worry about | |
38 | any of the lower level streaming and NAT traversal issues. | |
39 | ||
40 | %package devel | |
41 | Summary: Header files for farsight2 library | |
42 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki farsight2 | |
43 | Group: Development/Libraries | |
44 | Requires: %{name} = %{version}-%{release} | |
e201ac7f MB |
45 | Requires: gstreamer-devel >= 0.10.23 |
46 | Requires: gstreamer-plugins-base-devel >= 0.10.23 | |
9193df63 MB |
47 | |
48 | %description devel | |
49 | Header files for farsight2 library. | |
50 | ||
51 | %description devel -l pl.UTF-8 | |
52 | Pliki nagłówkowe biblioteki farsight2. | |
53 | ||
54 | %package static | |
55 | Summary: Static farsight2 library | |
56 | Summary(pl.UTF-8): Statyczna biblioteka farsight2 | |
57 | Group: Development/Libraries | |
58 | Requires: %{name}-devel = %{version}-%{release} | |
59 | ||
60 | %description static | |
61 | Static farsight2 library. | |
62 | ||
63 | %description static -l pl.UTF-8 | |
64 | Statyczna biblioteka farsight2. | |
65 | ||
66 | %package apidocs | |
67 | Summary: farsight2 library API documentation | |
68 | Summary(pl.UTF-8): Dokumentacja API biblioteki farsight2 | |
69 | Group: Documentation | |
70 | Requires: gtk-doc-common | |
71 | ||
72 | %description apidocs | |
73 | farsight2 library API documentation. | |
74 | ||
75 | %description apidocs -l pl.UTF-8 | |
76 | Dokumentacja API biblioteki farsight2. | |
77 | ||
78 | %package -n python-farsight2 | |
79 | Summary: farsight2 Python bindings | |
80 | Summary(pl.UTF-8): Wiązania Pythona do farsight2 | |
81 | Group: Libraries/Python | |
82 | Requires: %{name} = %{version}-%{release} | |
83 | ||
84 | %description -n python-farsight2 | |
85 | farsight2 Python bindings. | |
86 | ||
87 | %description -n python-farsight2 -l pl.UTF-8 | |
88 | Wiązania Pythona do farsight2. | |
89 | ||
90 | %prep | |
91 | %setup -q | |
92 | ||
93 | %build | |
e201ac7f | 94 | %{__gtkdocize} |
9193df63 MB |
95 | %{__libtoolize} |
96 | %{__aclocal} -I common/m4 -I m4 | |
97 | %{__autoconf} | |
98 | %{__autoheader} | |
99 | %{__automake} | |
100 | %configure \ | |
101 | --enable-gtk-doc \ | |
102 | --with-html-dir=%{_gtkdocdir} | |
103 | ||
104 | %{__make} | |
105 | ||
106 | ||
107 | %install | |
108 | rm -rf $RPM_BUILD_ROOT | |
109 | ||
110 | %{__make} install \ | |
111 | DESTDIR=$RPM_BUILD_ROOT | |
112 | ||
113 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/farsight2-0.0/*.{a,la} | |
114 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/gstreamer-0.10/*.{a,la} | |
115 | %{__rm} $RPM_BUILD_ROOT%{py_sitedir}/*.{a,la} | |
116 | ||
117 | %clean | |
118 | rm -rf $RPM_BUILD_ROOT | |
119 | ||
120 | %post -p /sbin/ldconfig | |
121 | %postun -p /sbin/ldconfig | |
122 | ||
123 | %files | |
124 | %defattr(644,root,root,755) | |
125 | %doc AUTHORS ChangeLog NEWS README | |
126 | %attr(755,root,root) %{_libdir}/libgstfarsight-0.10.so.*.*.* | |
127 | %attr(755,root,root) %ghost %{_libdir}/libgstfarsight-0.10.so.0 | |
128 | %dir %{_libdir}/farsight2-0.0 | |
129 | %attr(755,root,root) %{_libdir}/farsight2-0.0/libmulticast-transmitter.so | |
130 | %attr(755,root,root) %{_libdir}/farsight2-0.0/libnice-transmitter.so | |
131 | %attr(755,root,root) %{_libdir}/farsight2-0.0/librawudp-transmitter.so | |
132 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsfunnel.so | |
8e7e2d28 | 133 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsmsnconference.so |
9193df63 MB |
134 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtcpfilter.so |
135 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsrtpconference.so | |
136 | %attr(755,root,root) %{_libdir}/gstreamer-0.10/libfsvideoanyrate.so | |
137 | ||
138 | %files devel | |
139 | %defattr(644,root,root,755) | |
140 | %attr(755,root,root) %{_libdir}/libgstfarsight-0.10.so | |
141 | %{_libdir}/libgstfarsight-0.10.la | |
142 | %{_includedir}/gstreamer-0.10/gst/farsight | |
143 | %{_pkgconfigdir}/farsight2-0.10.pc | |
144 | ||
145 | %files static | |
146 | %defattr(644,root,root,755) | |
147 | %{_libdir}/libgstfarsight-0.10.a | |
148 | ||
149 | %files apidocs | |
150 | %defattr(644,root,root,755) | |
151 | %{_gtkdocdir}/farsight2-libs-0.10 | |
152 | %{_gtkdocdir}/farsight2-plugins-0.10 | |
153 | ||
154 | %files -n python-farsight2 | |
155 | %defattr(644,root,root,755) | |
156 | %attr(755,root,root) %{py_sitedir}/farsight.so |