f99ba0
%global gst_ver 1.0.0
f99ba0
%global gst_plugins_base_ver 1.0.0
f99ba0
%global far farstream
f99ba0
f99ba0
Name:           %{far}02
f99ba0
Version:        0.2.8
f99ba0
Release:        2%{?dist}
f99ba0
Summary:        Libraries for videoconferencing
f99ba0
f99ba0
# Package is LGPLv2 except for a few files in /common/coverage/
f99ba0
License:        LGPLv2+ and GPLv2+
f99ba0
URL:            http://www.freedesktop.org/wiki/Software/Farstream
f99ba0
Source0:        http://freedesktop.org/software/%{far}/releases/%{far}/%{far}-%{version}.tar.gz
f99ba0
f99ba0
BuildRequires:  libnice-devel >= 0.1.3
f99ba0
BuildRequires:  gstreamer1-devel >= %{gst_ver}
f99ba0
BuildRequires:  gstreamer1-plugins-base-devel >= %{gst_plugins_base_ver}
f99ba0
BuildRequires:  gupnp-igd-devel
f99ba0
BuildRequires:  gobject-introspection-devel
f99ba0
f99ba0
Requires:       gstreamer1-plugins-good >= 1.0.0
f99ba0
Requires:       gstreamer1-plugins-bad-free >= 1.0.0
f99ba0
Requires:       libnice-gstreamer1
f99ba0
f99ba0
f99ba0
%description
f99ba0
%{name} is a collection of GStreamer modules and libraries for
f99ba0
videoconferencing.
f99ba0
f99ba0
f99ba0
%package        devel
f99ba0
Summary:        Development files for %{name}
f99ba0
Group:          Development/Libraries
f99ba0
Requires:       %{name}%{?_isa} = %{version}-%{release}
f99ba0
Requires:       gstreamer1-devel  >= %{gst_ver}
f99ba0
Requires:       gstreamer1-plugins-base-devel >= %{gst_plugins_base_ver}
f99ba0
Requires:       pkgconfig
f99ba0
f99ba0
f99ba0
%description    devel
f99ba0
The %{name}-devel package contains libraries and header files for
f99ba0
developing applications that use %{name}.
f99ba0
f99ba0
f99ba0
%prep
f99ba0
%setup -q -n %{far}-%{version}
f99ba0
f99ba0
f99ba0
%check
f99ba0
#make check
f99ba0
f99ba0
f99ba0
%build
f99ba0
%configure                                                              \
f99ba0
  --with-package-name='Fedora Farstream-0.2 package'                       \
f99ba0
  --with-package-origin='http://download.fedoraproject.org'             \
f99ba0
  --disable-static
f99ba0
make %{?_smp_mflags}
f99ba0
f99ba0
f99ba0
%install
f99ba0
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
f99ba0
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
f99ba0
f99ba0
f99ba0
%post -p /sbin/ldconfig
f99ba0
f99ba0
f99ba0
%postun -p /sbin/ldconfig
f99ba0
f99ba0
f99ba0
%files
f99ba0
%doc COPYING NEWS AUTHORS
f99ba0
%{_libdir}/*.so.*
f99ba0
%dir %{_libdir}/%{far}-0.2
f99ba0
%{_libdir}/%{far}-0.2/libmulticast-transmitter.so
f99ba0
%{_libdir}/%{far}-0.2/libnice-transmitter.so
f99ba0
%{_libdir}/%{far}-0.2/librawudp-transmitter.so
f99ba0
%{_libdir}/%{far}-0.2/libshm-transmitter.so
f99ba0
%{_libdir}/gstreamer-1.0/libfsmsnconference.so
f99ba0
%{_libdir}/gstreamer-1.0/libfsrawconference.so
f99ba0
%{_libdir}/gstreamer-1.0/libfsrtpxdata.so
f99ba0
%{_libdir}/gstreamer-1.0/libfsrtpconference.so
f99ba0
%{_libdir}/gstreamer-1.0/libfsvideoanyrate.so
f99ba0
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
f99ba0
%dir %{_datadir}/%{far}
f99ba0
%dir %{_datadir}/%{far}/0.2
f99ba0
%dir %{_datadir}/%{far}/0.2/fsrtpconference
f99ba0
%dir %{_datadir}/%{far}/0.2/fsrawconference
f99ba0
%{_datadir}/%{far}/0.2/fsrawconference/default-element-properties
f99ba0
%{_datadir}/%{far}/0.2/fsrtpconference/default-codec-preferences
f99ba0
%{_datadir}/%{far}/0.2/fsrtpconference/default-element-properties
f99ba0
f99ba0
%files devel
f99ba0
%{_libdir}/libfarstream-0.2.so
f99ba0
%{_libdir}/pkgconfig/%{far}-0.2.pc
f99ba0
%{_includedir}/%{far}-0.2/%{far}/
f99ba0
%{_datadir}/gir-1.0/Farstream-0.2.gir
f99ba0
%{_datadir}/gtk-doc/html/%{far}-libs-0.2/
f99ba0
%{_datadir}/gtk-doc/html/%{far}-plugins-0.2/
f99ba0
f99ba0
f99ba0
%changelog
f99ba0
* Fri Aug 03 2018 Charalampos Stratakis <cstratak@redhat.com> - 0.2.8-2
f99ba0
- Remove python-devel dependency
f99ba0
f99ba0
* Mon Apr 30 2018 David Woodhouse <dwmw2@infradead.org> - 0.2.8-1
f99ba0
- Update to 0.2.8.
f99ba0
f99ba0
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-7
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
f99ba0
f99ba0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-6
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
f99ba0
f99ba0
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-5
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
f99ba0
f99ba0
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-4
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
f99ba0
f99ba0
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.7-3
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f99ba0
f99ba0
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.7-2
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f99ba0
f99ba0
* Mon Mar 02 2015 David Woodhouse <dwmw2@infradead.org> - 0.2.7-1
f99ba0
- Update to 0.2.7.
f99ba0
f99ba0
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-4
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
f99ba0
f99ba0
* Tue Jul 22 2014 Kalev Lember <kalevlember@gmail.com> - 0.2.4-3
f99ba0
- Rebuilt for gobject-introspection 1.41.4
f99ba0
f99ba0
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.4-2
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
f99ba0
f99ba0
* Mon May 19 2014 Peter Robinson <pbrobinson@fedoraproject.org> 0.2.4-1
f99ba0
- Update to 0.2.4.
f99ba0
f99ba0
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.3-3
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
f99ba0
f99ba0
* Sun May 12 2013 Brian Pepple <bpepple@fedoraproject.org> - 0.2.3-2
f99ba0
- Add requires on libnice-gstreamer1 for recent libnice subpackage change.
f99ba0
f99ba0
* Tue Apr 16 2013 Brian Pepple <bpepple@fedoraproject.org> - 0.2.3-1
f99ba0
- Update to 0.2.3.
f99ba0
- Drop leak patches. Fixed upstream.
f99ba0
f99ba0
* Wed Mar 27 2013 Brian Pepple <bpepple@fedoraproject.org> - 0.2.2-3
f99ba0
- Pull some patches from upstream that fix serveral leaks.
f99ba0
f99ba0
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.2-2
f99ba0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
f99ba0
f99ba0
* Wed Nov 14 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.2-1
f99ba0
- Update to 0.2.2
f99ba0
- Drop properties patch. Fixed upstream.
f99ba0
f99ba0
* Wed Oct 24 2012 Debarshi Ray <rishi@fedoraproject.org> - 0.2.1-2
f99ba0
- Update and fix the default properties for vp8enc
f99ba0
f99ba0
* Thu Oct  4 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.1-1
f99ba0
- Update to 0.2.1
f99ba0
f99ba0
* Wed Oct  3 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.0-2
f99ba0
- Drop unnecessary removal of buildroot in the install section.
f99ba0
- Update License info.
f99ba0
f99ba0
* Wed Sep 26 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.2.0-1
f99ba0
- Update to 0.2.0
f99ba0
f99ba0
* Tue Sep 25 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.91-1
f99ba0
- Initial Fedora spec.