# Conditional build:
%bcond_without apidocs # do not build and package API docs
%bcond_without static_libs # don't build static libraries
# Conditional build:
%bcond_without apidocs # do not build and package API docs
%bcond_without static_libs # don't build static libraries
-Source0: http://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
-# Source0-md5: efedec4a885170d350b5cc43c933f1c0
-URL: http://www.freedesktop.org/wiki/Software/Farstream
+Source0: https://freedesktop.org/software/farstream/releases/farstream/%{name}-%{version}.tar.gz
+# Source0-md5: 35ad6b9e0fb52debeaa2d5194bf5153c
+Patch0: %{name}-make.patch
+URL: https://www.freedesktop.org/wiki/Software/Farstream
-BuildRequires: gstreamer-devel >= 1.0.0
-BuildRequires: gstreamer-plugins-base-devel >= 1.0.0
-BuildRequires: gtk-doc >= 1.8
+BuildRequires: gstreamer-devel >= 1.4
+BuildRequires: gstreamer-plugins-base-devel >= 1.4
+BuildRequires: gtk-doc >= 1.18
-Requires: glib2 >= 1:2.32.0
-Requires: gstreamer >= 1.0.0
-Requires: gstreamer-plugins-base >= 1.0.0
+BuildRequires: rpm-build >= 4.6
+Requires: glib2 >= 1:2.40
+Requires: gstreamer >= 1.4
+Requires: gstreamer-plugins-base >= 1.4
Obsoletes: farsight2 < 0.0.32
Obsoletes: python-farsight2 < 0.0.32
Obsoletes: python-farstream < 0.2.0
Obsoletes: farsight2 < 0.0.32
Obsoletes: python-farsight2 < 0.0.32
Obsoletes: python-farstream < 0.2.0
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Farstream
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Summary(pl.UTF-8): Pliki nagłówkowe biblioteki Farstream
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
-Requires: glib2-devel >= 1:2.32.0
-Requires: gstreamer-devel >= 1.0.0
-Requires: gstreamer-plugins-base-devel >= 1.0.0
+Requires: glib2-devel >= 1:2.40
+Requires: gstreamer-devel >= 1.4
+Requires: gstreamer-plugins-base-devel >= 1.4
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libfarstream-0.2.so.*.*.*
%defattr(644,root,root,755)
%doc AUTHORS ChangeLog NEWS README
%attr(755,root,root) %{_libdir}/libfarstream-0.2.so.*.*.*
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
%dir %{_libdir}/farstream-0.2
%attr(755,root,root) %{_libdir}/farstream-0.2/libmulticast-transmitter.so
%attr(755,root,root) %{_libdir}/farstream-0.2/libnice-transmitter.so
%attr(755,root,root) %{_libdir}/farstream-0.2/librawudp-transmitter.so
%attr(755,root,root) %{_libdir}/farstream-0.2/libshm-transmitter.so
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
%dir %{_libdir}/farstream-0.2
%attr(755,root,root) %{_libdir}/farstream-0.2/libmulticast-transmitter.so
%attr(755,root,root) %{_libdir}/farstream-0.2/libnice-transmitter.so
%attr(755,root,root) %{_libdir}/farstream-0.2/librawudp-transmitter.so
%attr(755,root,root) %{_libdir}/farstream-0.2/libshm-transmitter.so
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)
%if %{with apidocs}
%files apidocs
%defattr(644,root,root,755)