File libtelepathy.spec of Package libtelepathy

#
# spec file for package libtelepathy (Version 0.3.3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           libtelepathy
Url:            http://telepathy.freedesktop.org/wiki/
BuildRequires:  dbus-1-glib-devel libxslt-devel
BuildRequires:  python-xml
BuildRequires:  telepathy-glib-devel >= 0.7
Version:        0.3.3
Release:        1
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

%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.



%package devel
Requires:       %{name} = %{version} pkgconfig glibc-devel dbus-1-devel
Requires:       dbus-1-glib-devel telepathy-glib-devel glib2-devel
Summary:        The Telepathy project aims to provide a unified framework for all forms of real time conversations.
Group:          Development/Libraries/Other
AutoReqProv:    on

%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 -n %{name}-%{version}

%build
autoreconf -f -i
%configure
make %{?jobs:-j%jobs}

%install
make install DESTDIR=$RPM_BUILD_ROOT
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
%{_libdir}/lib*.a

%changelog
* Wed Mar 12 2008 hfiguiere@novell.com
- Upgrade to upstream 0.3.3
  + Update to version 0.17 of the spec
  + Depends on telepathy-glib 0.7.x
  + New APIs
* Tue Apr 03 2007 maw@suse.de
- Don't build as root.
* Tue Apr 03 2007 maw@suse.de
- Trim buildrequires a bit.
* Tue Apr 03 2007 maw@suse.de
- Don't nuke *a files.
* Tue Apr 03 2007 maw@suse.de
- New package.
openSUSE Build Service is sponsored by