Blame SPECS/farstream.spec

413e03
%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}
413e03
413e03
%define gst_ver 0.10.33
413e03
%define gst_plugins_base_ver 0.10.33
413e03
413e03
Name:           farstream
413e03
Version:        0.1.2
413e03
Release:        8%{?dist}
413e03
Summary:        Libraries for videoconferencing
413e03
413e03
License:        LGPLv2+
413e03
URL:            http://www.freedesktop.org/wiki/Software/Farstream
413e03
Source0:        http://freedesktop.org/software/%{name}/releases/%{name}/%{name}-%{version}.tar.gz
413e03
Patch0:         farstream-prefer-vp8.patch
413e03
Patch1:         0001-Gtk-doc-tags-belong-after-the-description.patch
413e03
413e03
BuildRequires:  libnice-devel >= 0.1.0
413e03
BuildRequires:  gstreamer-devel >= %{gst_ver}
413e03
BuildRequires:  gstreamer-plugins-base-devel >= %{gst_plugins_base_ver}
413e03
BuildRequires:  gupnp-igd-devel
413e03
BuildRequires:  gobject-introspection-devel
413e03
BuildRequires:  python-devel
413e03
BuildRequires:  gstreamer-python-devel
413e03
BuildRequires:  pygobject2-devel
413e03
413e03
Requires:       gstreamer-plugins-good >= 0.10.29
413e03
Requires:       gstreamer-plugins-bad-free >= 0.10.23
413e03
413e03
## Obsolete farsight2 with Fedora 17.
413e03
Provides:       farsight2 = %{version}
413e03
Obsoletes:      farsight2 < 0.0.32
413e03
413e03
413e03
%description
413e03
%{name} is a collection of GStreamer modules and libraries for
413e03
videoconferencing.
413e03
413e03
413e03
%package        python
413e03
Summary:        Python binding for %{name}
413e03
Group:          Development/Libraries
413e03
Requires:       %{name} = %{version}-%{release}
413e03
413e03
## Obsolete farsight2 with Fedora 17.
413e03
Provides:       farsight2-python = %{version}
413e03
Obsoletes:      farsight2-python < 0.0.32
413e03
413e03
413e03
%description    python
413e03
Python bindings for %{name}.
413e03
413e03
413e03
%package        devel
413e03
Summary:        Development files for %{name}
413e03
Group:          Development/Libraries
413e03
Requires:       %{name}%{?_isa} = %{version}-%{release}
413e03
Requires:       %{name}-python = %{version}-%{release}
413e03
Requires:       gstreamer-devel  >= %{gst_ver}
413e03
Requires:       gstreamer-plugins-base-devel >= %{gst_plugins_base_ver}
413e03
Requires:       pkgconfig
413e03
413e03
## Obsolete farsight2 with Fedora 17.
413e03
Provides:       farsight2-devel = %{version}
413e03
Obsoletes:      farsight2-devel < 0.0.32
413e03
413e03
%description    devel
413e03
The %{name}-devel package contains libraries and header files for
413e03
developing applications that use %{name}.
413e03
413e03
413e03
%prep
413e03
%setup -q
413e03
%patch0 -p1 -b .vp8
413e03
%patch1 -p1
413e03
413e03
413e03
%build
413e03
%configure                                                              \
413e03
  --with-package-name='Fedora Farstream package'                        \
413e03
  --with-package-origin='http://download.fedoraproject.org'             \
413e03
  --disable-static
413e03
make %{?_smp_mflags}
413e03
413e03
413e03
%install
413e03
rm -rf $RPM_BUILD_ROOT
413e03
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
413e03
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
413e03
413e03
413e03
%post -p /sbin/ldconfig
413e03
413e03
413e03
%postun -p /sbin/ldconfig
413e03
413e03
413e03
%files
413e03
%doc COPYING NEWS AUTHORS
413e03
%{_libdir}/*.so.*
413e03
%dir %{_libdir}/%{name}-0.1
413e03
%{_libdir}/%{name}-0.1/libmulticast-transmitter.so
413e03
%{_libdir}/%{name}-0.1/libnice-transmitter.so
413e03
%{_libdir}/%{name}-0.1/librawudp-transmitter.so
413e03
%{_libdir}/%{name}-0.1/libshm-transmitter.so
413e03
%{_libdir}/gstreamer-0.10/libfsfunnel.so
413e03
%{_libdir}/gstreamer-0.10/libfsmsnconference.so
413e03
%{_libdir}/gstreamer-0.10/libfsrawconference.so
413e03
%{_libdir}/gstreamer-0.10/libfsrtcpfilter.so
413e03
%{_libdir}/gstreamer-0.10/libfsrtpconference.so
413e03
%{_libdir}/gstreamer-0.10/libfsvideoanyrate.so
413e03
%{_libdir}/girepository-1.0/Farstream-0.1.typelib
413e03
%dir %{_datadir}/%{name}
413e03
%dir %{_datadir}/%{name}/0.1
413e03
%dir %{_datadir}/%{name}/0.1/fsrtpconference
413e03
%dir %{_datadir}/%{name}/0.1/fsrawconference
413e03
%{_datadir}/%{name}/0.1/fsrtpconference/default-codec-preferences
413e03
%{_datadir}/%{name}/0.1/fsrtpconference/default-element-properties
413e03
%{_datadir}/%{name}/0.1/fsrawconference/default-element-properties
413e03
413e03
413e03
%files python
413e03
%{python_sitearch}/farstream.so
413e03
413e03
413e03
%files devel
413e03
%{_libdir}/libfarstream-0.1.so
413e03
%{_libdir}/pkgconfig/%{name}-0.1.pc
413e03
%{_includedir}/%{name}-0.1/%{name}/
413e03
%{_datadir}/gir-1.0/Farstream-0.1.gir
413e03
%{_datadir}/gtk-doc/html/%{name}-libs-0.10/
413e03
%{_datadir}/gtk-doc/html/%{name}-plugins-0.1/
413e03
413e03
413e03
%changelog
413e03
* Fri Feb 28 2014 Matthias Clasen <mclasen@redhat.com> - 0.1.2-8
413e03
- Rebuild
413e03
Resolves: #1070804
413e03
413e03
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.1.2-7
413e03
- Mass rebuild 2014-01-24
413e03
  Related: #1056145
413e03
413e03
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.1.2-6
413e03
- Mass rebuild 2013-12-27
413e03
413e03
* Thu Apr 18 2013 Debarshi Ray <rishi@fedoraproject.org> - 0.1.2-5
413e03
- Fix build failure due broken annotations.
413e03
413e03
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-4
413e03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
413e03
413e03
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.2-3
413e03
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
413e03
413e03
* Sat Mar 24 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-2
413e03
- Add patch to prefer vp8. Thanks, Debarshi.
413e03
413e03
* Fri Mar 23 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.2-1
413e03
- Update to 0.1.2.
413e03
- Drop patch to ignore config while comparing send codecs. Fixed upstream.
413e03
413e03
* Thu Mar 22 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-6
413e03
- Build gobject-introspection.
413e03
413e03
* Tue Mar 13 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-5
413e03
- Add provides/obsoletes for python subpackage.
413e03
413e03
* Mon Mar  5 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-4
413e03
- Use version macro in provides.
413e03
413e03
* Sat Mar  3 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-3
413e03
- Backport patch to ignore config while comparing send codecs.
413e03
413e03
* Tue Feb 28 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-2
413e03
- Appended isa macro to name in devel subpackage.
413e03
- Add obsolete/provide to devel subpackage.
413e03
- Correct package origin url.
413e03
413e03
* Sat Feb 25 2012 Brian Pepple <bpepple@fedoraproject.org> - 0.1.1-1
413e03
- Initial Fedora spec.
413e03