File libQtTelepathy0.spec of Package libQtTelepathy0

#
# spec file for package libQtTelepathy0 (Version 0.14.1)
#
# Copyright (c) 2007 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/
#


Name:           libQtTelepathy0
BuildRequires:  cmake kde4-filesystem libqt4-devel
URL:            http://tapioca-voip.sourceforge.net
Version:        0.14.1
Release:        1
License:        LGPL v2 or later
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Group:          System/GUI/KDE
Summary:        QtTelepathy - Qt Bindings for Telepathy
Source:         telepathy-qt-%{version}.tar.bz2
Patch:          telepathy-qt-0.14.1+svn2032.diff

%description
This package contains the Qt bindings for Telepathy



Authors:
--------
    Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>
    Tobias Hunger <tobias.hunger@basyskom.de>

%package -n libQtTelepathy-devel
Group:          System/GUI/KDE
Summary:        QtTelepathy - Qt Bindings for Telepathy
Requires:       %name = %{version}
Requires:       libqt4-devel >= 4.3.0

%description -n libQtTelepathy-devel
This package contains the Qt bindings for Telepathy



Authors:
--------
    Andre Moreira Magalhaes <andre.magalhaes@indt.org.br>
    Tobias Hunger <tobias.hunger@basyskom.de>

%prep
%setup -q -n telepathy-qt-%{version}
%patch -p1

%build

%cmake_kde4 -d build

%make_jobs

%install
  cd build
  %makeinstall

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%clean
rm -rf "$RPM_BUILD_ROOT"

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

%files -n libQtTelepathy-devel
%defattr(-,root,root)
%{_libdir}/libQtTelepathy*.so
%{_libdir}/pkgconfig/QtTelepathy*.pc
%{_prefix}/include/QtTelepathy

%changelog
* Sat Aug 04 2007 - dmueller@suse.de
- Initial package (0.14.1)