]> git.pld-linux.org Git - packages/farstream.git/blame - farstream.spec
- updated to 0.2.4
[packages/farstream.git] / farstream.spec
CommitLineData
6c0e30be
MB
1#
2# Conditional build:
3%bcond_without apidocs # do not build and package API docs
4%bcond_without static_libs # don't build static libraries
5#
6c0e30be 6Summary: Audio/Video Communications Framework
83201fd8 7Summary(pl.UTF-8): Szkielet komunikacji Audio/Video
6c0e30be 8Name: farstream
93f7cc88 9Version: 0.2.4
6c0e30be
MB
10Release: 1
11License: LGPL v2+
12Group: Libraries
13Source0: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
93f7cc88
JB
14# Source0-md5: edcc75cbf7c811cfe3de9b00b9808682
15Patch0: %{name}-doc.patch
6c0e30be
MB
16URL: http://www.freedesktop.org/wiki/Software/Farstream
17BuildRequires: autoconf >= 2.60
18BuildRequires: automake
42e5ee20 19BuildRequires: glib2-devel >= 1:2.32.0
6c0e30be 20BuildRequires: gobject-introspection-devel >= 0.10.1
42e5ee20
MB
21BuildRequires: gstreamer-devel >= 1.0.0
22BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
6c0e30be 23BuildRequires: gtk-doc >= 1.8
42e5ee20
MB
24BuildRequires: gupnp-igd-devel >= 0.2
25BuildRequires: libnice-devel >= 0.1.3
6c0e30be
MB
26BuildRequires: libtool
27BuildRequires: pkgconfig
8b4531e1 28BuildRequires: python >= 2.1
42e5ee20
MB
29Requires: glib2 >= 1:2.32.0
30Requires: gstreamer >= 1.0.0
31Requires: gstreamer-plugins-base >= 1.0.0
8b4531e1 32Requires: gupnp-igd >= 0.2
42e5ee20 33Requires: libnice >= 0.1.3
bf026548 34Obsoletes: farsight2 < 0.0.32
42e5ee20
MB
35Obsoletes: python-farsight2 < 0.0.32
36Obsoletes: python-farstream < 0.2.0
6c0e30be
MB
37BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38
39%description
bf026548
MB
40The Farstream (formerly Farsight) project is an effort to create a
41framework to deal with all known audio/video conferencing protocols.
42On one side it offers a generic API that makes it possible to write
43plugins for different streaming protocols, on the other side it offers
44an API for clients to use those plugins.
45
46The main target clients for Farstream are Instant Messaging
47applications. These applications should be able to use Farstream for
48all their Audio/Video conferencing needs without having to worry about
49any of the lower level streaming and NAT traversal issues.
6c0e30be 50
83201fd8
JB
51%description -l pl.UTF-8
52Projekt Farstream (dawniej Farsight) to próba stworzenia szkieletu
53obsługującego wszystkie znane protokoły konferencji audio/video. Z
54jednej strony oferuje ogólne API umożliwiające pisanie wtyczek dla
55różnych protokołów strumieniowych, z drugiej strony oferuje API dla
56klientów, pozwalającyce im używać tych wtyczek.
57
58Głównymi klientami szkieletu Farstream mają być aplikacje
59komunikatorów (IM). Powinny być w stanie używać Farstreama do potrzeb
60konferencji audio/video bez konieczności obsługi niskopoziomowych
61poziomów strumieni i omijania NAT-u.
62
6c0e30be
MB
63%package devel
64Summary: Header files for Farstream library
65Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Farstream
66Group: Development/Libraries
67Requires: %{name} = %{version}-%{release}
42e5ee20
MB
68Requires: glib2-devel >= 1:2.32.0
69Requires: gstreamer-devel >= 1.0.0
70Requires: gstreamer-plugins-base-devel >= 1.0.0
bf026548 71Obsoletes: farsight2-devel < 0.0.32
6c0e30be
MB
72
73%description devel
74Header files for Farstream library.
75
76%description devel -l pl.UTF-8
77Pliki nagłówkowe biblioteki Farstream.
78
79%package static
80Summary: Static Farstream library
81Summary(pl.UTF-8): Statyczna biblioteka Farstream
82Group: Development/Libraries
83Requires: %{name}-devel = %{version}-%{release}
bf026548 84Obsoletes: farsight2-static < 0.0.32
6c0e30be
MB
85
86%description static
87Static Farstream library.
88
89%description static -l pl.UTF-8
90Statyczna biblioteka Farstream.
91
92%package apidocs
93Summary: Farstream API documentation
94Summary(pl.UTF-8): Dokumentacja API biblioteki Farstream
95Group: Documentation
96Requires: gtk-doc-common
bf026548 97Obsoletes: farsight2-apidocs < 0.0.32
6c0e30be
MB
98
99%description apidocs
100API documentation for Farstream library.
101
102%description apidocs -l pl.UTF-8
103Dokumentacja API biblioteki Farstream.
104
6c0e30be
MB
105%prep
106%setup -q
93f7cc88 107%patch0 -p1
6c0e30be
MB
108
109%build
110%{__libtoolize}
111%{__aclocal} -I m4 -I common/m4
112%{__autoconf}
113%{__autoheader}
114%{__automake}
115%configure \
116 %{__enable_disable apidocs gtk-doc} \
117 %{__enable_disable static_libs static} \
118 --disable-silent-rules \
119 --with-html-dir=%{_gtkdocdir}
120%{__make}
121
122%install
123rm -rf $RPM_BUILD_ROOT
124
125%{__make} install \
126 DESTDIR=$RPM_BUILD_ROOT
127
42e5ee20 128%{__rm} $RPM_BUILD_ROOT%{_libdir}/{farstream-0.2,gstreamer-1.0}/*.{a,la}
6c0e30be
MB
129%{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
130
131%clean
132rm -rf $RPM_BUILD_ROOT
133
134%post -p /sbin/ldconfig
135%postun -p /sbin/ldconfig
136
137%files
138%defattr(644,root,root,755)
139%doc AUTHORS ChangeLog NEWS README
42e5ee20
MB
140%attr(755,root,root) %{_libdir}/libfarstream-0.2.so.*.*.*
141%attr(755,root,root) %ghost %{_libdir}/libfarstream-0.2.so.2
142%{_libdir}/girepository-1.0/Farstream-0.2.typelib
143%dir %{_libdir}/farstream-0.2
144%attr(755,root,root) %{_libdir}/farstream-0.2/libmulticast-transmitter.so
145%attr(755,root,root) %{_libdir}/farstream-0.2/libnice-transmitter.so
146%attr(755,root,root) %{_libdir}/farstream-0.2/librawudp-transmitter.so
147%attr(755,root,root) %{_libdir}/farstream-0.2/libshm-transmitter.so
148%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsmsnconference.so
149%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrawconference.so
150%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrtcpfilter.so
151%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrtpconference.so
152%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsvideoanyrate.so
6c0e30be
MB
153%{_datadir}/farstream
154
155%files devel
156%defattr(644,root,root,755)
42e5ee20
MB
157%attr(755,root,root) %{_libdir}/libfarstream-0.2.so
158%{_datadir}/gir-1.0/Farstream-0.2.gir
159%{_includedir}/farstream-0.2
160%{_pkgconfigdir}/farstream-0.2.pc
6c0e30be
MB
161
162%if %{with static_libs}
163%files static
164%defattr(644,root,root,755)
42e5ee20 165%{_libdir}/libfarstream-0.2.a
6c0e30be
MB
166%endif
167
168%if %{with apidocs}
169%files apidocs
170%defattr(644,root,root,755)
93f7cc88 171%{_gtkdocdir}/farstream-libs-0.2
42e5ee20 172%{_gtkdocdir}/farstream-plugins-0.2
6c0e30be 173%endif
This page took 0.113525 seconds and 4 git commands to generate.