File libtelepathy.spec of Package libtelepathy

#
# spec file for package libtelepathy (Version 0.3.3)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libtelepathy
Url:            http://telepathy.freedesktop.org/wiki/
BuildRequires:  dbus-1-glib-devel
BuildRequires:  libxslt-devel
BuildRequires:  python-xml
BuildRequires:  telepathy-glib-devel >= 0.7
Version:        0.3.3
Release:        57
License:        LGPL v2.1 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          Productivity/Networking/Other
Summary:        A unified framework for all forms of real time conversations
Source:         libtelepathy-%{version}.tar.bz2
#PATCH-FIX-UPSTREAM libtelepathy-0.3.3.diff coolo@novell.com -- Fix build with automake 1.11
Patch0:         libtelepathy-0.3.3.diff

%description
The Telepathy project aims to provide a unified framework for all forms
of real time conversations, including instant messaging, IRC, voice
calls and video calls. It uses the DBus messaging system to provide a
simple interface for client applications, allowing them to quickly
benefit from Telepathy's functionality.



Authors:
--------
    jussi.laako@nokia.com
    rob.taylor@collabora.co.uk
    robert.mcqueen@collabora.co.uk

%package devel
License:        GPL v2 or later
Requires:       %{name} = %{version} pkgconfig glibc-devel dbus-1-devel
Requires:       dbus-1-glib-devel telepathy-glib-devel glib2-devel
Summary:        Development files for the telepathy messaging framework
Group:          Development/Libraries/Other

%description devel
The Telepathy project aims to provide a unified framework for all forms
of real time conversations, including instant messaging, IRC, voice
calls and video calls. It uses the DBus messaging system to provide a
simple interface for client applications, allowing them to quickly
benefit from Telepathy's functionality.



%prep
%setup -q
%patch0 -p1

%build
%configure --disable-static --with-pic
%{__make} %{?jobs:-j%jobs}

%install
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf "$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
%{_libdir}/libtelepathy*.so.*

%files devel
%defattr(-,root,root)
%dir %{_includedir}/telepathy-1.0
%dir %{_includedir}/telepathy-1.0/libtelepathy
%{_includedir}/telepathy-1.0/libtelepathy/*.h
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/*.pc

%changelog
openSUSE Build Service is sponsored by