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