File ktp-common-internals.spec of Package ktp-common-internals4
#
# spec file for package ktp-common-internals
#
# Copyright (c) 2014 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/
#
Name: ktp-common-internals
Version: 0.9.0
Release: 0
Summary: Telepathy common module
License: LGPL-2.1+
Group: Development/Libraries/Other
Url: http://community.kde.org/Real-Time_Communication_and_Collaboration
Source: http://download.kde.org/stable/kde-telepathy/%{version}/src/%{name}-%{version}.tar.bz2
BuildRequires: fdupes
BuildRequires: libgcrypt-devel
BuildRequires: libkde4-devel
BuildRequires: libkdepimlibs4-devel
BuildRequires: libkpeople-devel >= 0.3.0
BuildRequires: libqt4-devel >= 4.8.0
BuildRequires: telepathy-logger-qt4-devel >= 0.6.0
BuildRequires: telepathy-qt4-devel >= 0.9.5
BuildRequires: pkgconfig(libotr) >= 4.0.0
Recommends: %{name}-lang = %{version}
Requires: ktp-kpeople = %{version}
Provides: libktpcommoninternals6 = %{version}
Provides: libktpcommoninternals7 = %{version}
Provides: libktpcommoninternals8 = %{version}
Obsoletes: libktpcommoninternals6 < %{version}
Obsoletes: libktpcommoninternals7 < %{version}
Obsoletes: libktpcommoninternals8 <= %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
ktp-common-internals is the base library for all the KDE Telepathy packages.
%package devel
Summary: Telepathy common module
Group: Development/Libraries/Other
Requires: %{name} = %{version}
Requires: libkde4-devel
Requires: libkpeople-devel >= 0.3.0
Requires: telepathy-logger-qt4-devel >= 0.6.0
Requires: telepathy-qt4-devel >= 0.9.5
%description devel
ktp-common-internals is the base library for all the KDE Telepathy packages.
%package -n ktp-icons
Summary: Icons for KDE Telepathy
Group: Development/Libraries/Other
%description -n ktp-icons
icons for all the KDE Telepathy packages.
%package -n ktp-kpeople
Summary: KDE Telepathy's KPeople service
Group: Development/Libraries/Other
%kde4_runtime_requires
%kde4_pimlibs_requires
%description -n ktp-kpeople
KDE Telepathy's KPeople service, needed for kpeople integration.
%lang_package
%prep
%setup -q
%build
%cmake_kde4 -d build -- -DKDE4_BUILD_TESTS=OFF
%make_jobs
%install
%kde4_makeinstall -C build
pushd build
%create_subdir_filelist -d kpeople
popd
%kde_post_install
%find_lang ktp-common-internals %{name}.lang
%fdupes -s %{buildroot}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files lang -f %{name}.lang
%files
%defattr(-,root,root)
%doc COPYING*
%dir %{_kde4_modulesdir}/imports
%dir %{_kde4_modulesdir}/imports/org
%dir %{_kde4_modulesdir}/imports/org/kde
%dir %{_kde4_appsdir}/katepart
%dir %{_kde4_appsdir}/katepart/syntax
%{_kde4_libdir}/libktp*.so.*
%{_kde4_appsdir}/ktelepathy/
%{_kde4_bindir}/ktp-debugger
%{_kde4_modulesdir}/ktploggerplugin_tplogger.so
%{_kde4_modulesdir}/imports/org/kde/telepathy/
%{_kde4_appsdir}/katepart/syntax/ktpdebugoutput.xml
%{_kde4_servicesdir}/ktploggerplugin_tplogger.desktop
%{_kde4_servicetypes}/ktp_logger_plugin.desktop
%{_kde4_modulesdir}/libexec/ktp-proxy
%{_kde4_datadir}/dbus-1/services/org.freedesktop.Telepathy.Client.KTp.Proxy.service
%{_kde4_configkcfgdir}/ktp-proxy-config.kcfg
%dir %{_kde4_datadir}/telepathy
%dir %{_kde4_datadir}/telepathy/clients
%{_kde4_datadir}/telepathy/clients/KTp.Proxy.client
%files -n ktp-kpeople -f filelists/kpeople
%defattr(-,root,root)
%files -n ktp-icons
%defattr(-,root,root)
%{_kde4_iconsdir}/hicolor/
%files devel
%defattr(-,root,root)
%{_kde4_includedir}/KTp/
%{_kde4_libdir}/libktp*.so
%changelog