farstream/farstream.spec

138 lines
4.0 KiB
RPMSpec

Name: farstream
Version: 0.2.3
Release: 1mamba
Summary: A collection of GStreamer modules and libraries for videoconferencing
Group: Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.freedesktop.org/wiki/Software/Farstream
Source: http://freedesktop.org/software/farstream/releases/farstream/farstream-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libffi-devel
BuildRequires: libgcrypt-devel
BuildRequires: libglib-devel
BuildRequires: libgnutls-devel
BuildRequires: libgpg-error-devel
BuildRequires: libgssdp-devel
BuildRequires: libgst-plugins-base-devel
BuildRequires: libgstreamer-devel
BuildRequires: libgupnp-devel
BuildRequires: libgupnp-igd-devel
BuildRequires: libnice-devel
BuildRequires: libpython-devel
BuildRequires: libselinux
BuildRequires: libsoup-devel
BuildRequires: libtasn1-devel
BuildRequires: libuuid-devel
BuildRequires: libxml2-devel
BuildRequires: libz-devel
BuildRequires: pkg-config
## AUTOBUILDREQ-END
BuildRequires: libnice-devel >= 0.1.3
Provides: libfarsight2 = %{version}
Obsoletes: libfarsight2 < 0.0.32
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
Farstream is a collection of GStreamer modules and libraries for videoconferencing.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Provides: libfarsight2-devel = %{version}
Obsoletes: libfarsight2-devel <= 0.0.31
%description devel
This package contains libraries and header files for developing applications that use %{name}.
%package apidocs
Group: Documentation
Summary: %{name} API documentation
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: gtk-doc
%description apidocs
This package includes the %{name} API documentation.
%package -n python-%{name}
Summary: Python binding for %{name}
Group: System/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description -n python-%{name}
Python bindings for %{name}.
%prep
%setup -q
%build
%configure --enable-gtk-doc --disable-static
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
# remove unpackaged files
rm -f %{buildroot}%{python_sitearch}/farstream.*a
rm -f %{buildroot}%{_libdir}/farstream-*/lib*.*a
rm -f %{buildroot}%{_libdir}/gstreamer-*/lib*.*a
rm -f %{buildroot}%{_libdir}/libfarstream-*.a
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_datadir}/farstream/*/fsrawconference/default-element-properties
%{_datadir}/farstream/*/fsrtpconference/default-codec-preferences
%{_datadir}/farstream/*/fsrtpconference/default-element-properties
%{_libdir}/libfarstream-*.so.*
%{_libdir}/girepository-1.0/Farstream-0.2.typelib
%dir %{_libdir}/farstream-*
%{_libdir}/farstream-*/lib*.so
%{_libdir}/gstreamer-*/lib*.so
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%dir %{_includedir}/farstream-*/farstream
%{_includedir}/farstream-*/farstream/*
%{_libdir}/libfarstream-*.la
%{_libdir}/libfarstream-*.so
%{_datadir}/gir-1.0/Farstream-0.2.gir
%{_libdir}/pkgconfig/farstream-*.pc
%doc ChangeLog NEWS README
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/farstream-libs-*/
%{_datadir}/gtk-doc/html/farstream-plugins-*/
%files -n python-%{name}
%defattr(-,root,root)
#%{python_sitearch}/farstream.so
%changelog
* Thu Apr 18 2013 Automatic Build System <autodist@mambasoft.it> 0.2.3-1mamba
- automatic version update by autodist
* Fri Nov 16 2012 Automatic Build System <autodist@mambasoft.it> 0.2.2-1mamba
- automatic version update by autodist
* Tue Oct 09 2012 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2.1-1mamba
- update to 0.2.1
* Sun Apr 08 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.1.2-1mamba
- package created by autospec