telepathy-farstream/telepathy-farstream.spec

122 lines
3.6 KiB
RPMSpec

Name: telepathy-farstream
Version: 0.6.2
Release: 2mamba
Summary: Telepathy client library to handle Call channels
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.freedesktop.org/wiki/Software/Farstream
Source: http://telepathy.freedesktop.org/releases/telepathy-farstream/telepathy-farstream-%{version}.tar.gz
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: farstream-devel
BuildRequires: glibc-devel
BuildRequires: gtk-doc
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libglib-devel
BuildRequires: libgstreamer-devel
BuildRequires: libpython-devel
BuildRequires: libxml2-devel
BuildRequires: pkg-config
BuildRequires: telepathy-glib-devel
## AUTOBUILDREQ-END
BuildRequires: farstream-devel >= 0.2.8
Obsoletes: libtelepathy-farsight
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
%description
Telepathy Farstream is a Telepathy client library that uses Farstream to handle call channels.
Telepathy is a D-Bus framework for unifying real time communication, including instant messaging, voice calls and video calls.
It abstracts differences between protocols to provide a unified interface for applications.
%package devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
Obsoletes: libtelepathy-farsight-devel
%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
Obsoletes: libtelepathy-farsight-apidocs
%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}
Obsoletes: python-libtelepathy-farsight
%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
rm -f %{buildroot}%{python_sitearch}/tpfarstream.la
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libtelepathy-farstream.so.*
%{_libdir}/girepository-1.0/TelepathyFarstream-0.6.typelib
%doc COPYING
%files devel
%defattr(-,root,root)
%{_libdir}/libtelepathy-farstream.la
%{_libdir}/libtelepathy-farstream.so
%{_libdir}/pkgconfig/telepathy-farstream.pc
%{_includedir}/telepathy-*/telepathy-farstream
%{_datadir}/gir-1.0/TelepathyFarstream-0.6.gir
%doc ChangeLog NEWS README
%files apidocs
%defattr(-,root,root)
%{_datadir}/gtk-doc/html/%{name}
#%files -n python-%{name}
#%defattr(-,root,root)
#%{python_sitearch}/tpfarstream.so
%changelog
* Tue Aug 21 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.6.2-2mamba
- rebuilt with farstream 0.2.8
* Mon Sep 01 2014 Automatic Build System <autodist@mambasoft.it> 0.6.2-1mamba
- automatic version update by autodist
* Tue Mar 11 2014 Automatic Build System <autodist@mambasoft.it> 0.6.1-1mamba
- automatic update by autodist
* Wed Oct 10 2012 Automatic Build System <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Mon Apr 09 2012 Davide Madrisan <davide.madrisan@gmail.com> 0.4.0-1mamba
- package created by autospec