Blame SPECS/farstream.spec

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