]> git.pld-linux.org Git - packages/farstream.git/blobdiff - farstream.spec
- unconditional noarch subpackage
[packages/farstream.git] / farstream.spec
index f8c05e85fb91317ae8f6ecb17981c3926706f08b..db3d48c659ebe656bb4974998b9fd27295a331b7 100644 (file)
@@ -2,34 +2,36 @@
 # Conditional build:
 %bcond_without apidocs         # do not build and package API docs
 %bcond_without static_libs     # don't build static libraries
-#
+
 Summary:       Audio/Video Communications Framework
 Summary(pl.UTF-8):     Szkielet komunikacji Audio/Video
 Name:          farstream
-Version:       0.2.0
+Version:       0.2.9
 Release:       1
 License:       LGPL v2+
 Group:         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: autoconf >= 2.60
 BuildRequires: automake
-BuildRequires: glib2-devel >= 1:2.32.0
+BuildRequires: glib2-devel >= 1:2.40
 BuildRequires: gobject-introspection-devel >= 0.10.1
-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
 BuildRequires: gupnp-igd-devel >= 0.2
-BuildRequires: libnice-devel >= 0.1.3
+BuildRequires: libnice-devel >= 0.1.8
 BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: python >= 2.1
-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
 Requires:      gupnp-igd >= 0.2
-Requires:      libnice >= 0.1.3
+Requires:      libnice >= 0.1.8
 Obsoletes:     farsight2 < 0.0.32
 Obsoletes:     python-farsight2 < 0.0.32
 Obsoletes:     python-farstream < 0.2.0
@@ -64,9 +66,9 @@ Summary:      Header files for Farstream library
 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
 Obsoletes:     farsight2-devel < 0.0.32
 
 %description devel
@@ -94,6 +96,7 @@ Summary(pl.UTF-8):    Dokumentacja API biblioteki Farstream
 Group:         Documentation
 Requires:      gtk-doc-common
 Obsoletes:     farsight2-apidocs < 0.0.32
+BuildArch:     noarch
 
 %description apidocs
 API documentation for Farstream library.
@@ -103,6 +106,7 @@ Dokumentacja API biblioteki Farstream.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -123,7 +127,7 @@ rm -rf $RPM_BUILD_ROOT
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/{farstream-0.2,gstreamer-1.0}/*.{a,la}
+%{__rm} $RPM_BUILD_ROOT%{_libdir}/{farstream-0.2,gstreamer-1.0}/*.la
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/*.la
 
 %clean
@@ -136,17 +140,16 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog NEWS README
 %attr(755,root,root) %{_libdir}/libfarstream-0.2.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libfarstream-0.2.so.2
+%attr(755,root,root) %ghost %{_libdir}/libfarstream-0.2.so.5
 %{_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
-%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsmsnconference.so
 %attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrawconference.so
-%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrtcpfilter.so
 %attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrtpconference.so
+%attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsrtpxdata.so
 %attr(755,root,root) %{_libdir}/gstreamer-1.0/libfsvideoanyrate.so
 %{_datadir}/farstream
 
@@ -166,6 +169,6 @@ rm -rf $RPM_BUILD_ROOT
 %if %{with apidocs}
 %files apidocs
 %defattr(644,root,root,755)
-%{_gtkdocdir}/farstream-libs-1.0
+%{_gtkdocdir}/farstream-libs-0.2
 %{_gtkdocdir}/farstream-plugins-0.2
 %endif
This page took 0.335309 seconds and 4 git commands to generate.