File ktp-accounts-kcm.spec of Package ktp-accounts-kcm4
#
# spec file for package ktp-accounts-kcm
#
# 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-accounts-kcm
Version: 0.9.0
Release: 0
Summary: KCM Module for configuring Telepathy Instant Messaging Accounts
License: LGPL-2.1+
Group: Productivity/Networking/Instant Messenger
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: ktp-common-internals-devel >= %{version}
BuildRequires: libkde4-devel >= 4.7.0
BuildRequires: telepathy-qt4-devel >= 0.8.9
Requires: telepathy-mission-control
Recommends: %{name}-lang
Recommends: telepathy-gabble
Recommends: telepathy-haze
Recommends: telepathy-idle
Recommends: telepathy-rakia
Recommends: telepathy-salut
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%kde4_runtime_requires
%description
This is a KControl Module which handles adding/editing/removing Telepathy
Accounts. It interacts with any Telepathy Spec compliant AccountManager,
such as telepathy-accountmanager-kwallet to manipulate the accounts. It is
modular in design, with each ConnectionManager-Protocol combination having a
plugin that provides customised forms for adding or editing their accounts,
and also with a generic plugin which can be used as a fallback for
ConnectionManager-Protocol combinations where no plugin exists.
%package -n libktpaccountskcminternal4
Summary: Headers for KDE Telepathy accounts kcm
Group: System/Libraries
%description -n libktpaccountskcminternal4
This is a KControl Module which handles adding/editing/removing Telepathy
Accounts. It interacts with any Telepathy Spec compliant AccountManager,
such as telepathy-accountmanager-kwallet to manipulate the accounts. It is
modular in design, with each ConnectionManager-Protocol combination having a
plugin that provides customised forms for adding or editing their accounts,
and also with a generic plugin which can be used as a fallback for
ConnectionManager-Protocol combinations where no plugin exists.
%lang_package
%prep
%setup -q
%build
%cmake_kde4 -d build
%make_jobs
%install
%kde4_makeinstall -C build
%kde_post_install
%fdupes -s %{buildroot}
%find_lang kcmtelepathyaccounts_plugin_butterfly %{name}.lang
%find_lang kcmtelepathyaccounts_plugin_gabble %{name}.lang
%find_lang kcmtelepathyaccounts_plugin_haze %{name}.lang
%find_lang kcmtelepathyaccounts_plugin_idle %{name}.lang
%find_lang kcmtelepathyaccounts_plugin_rakia %{name}.lang
%find_lang kcmtelepathyaccounts_plugin_salut %{name}.lang
%find_lang kcmtelepathyaccounts_plugin_sunshine %{name}.lang
%find_lang kcm_ktp_accounts %{name}.lang
%post -n libktpaccountskcminternal4 -p /sbin/ldconfig
%postun -n libktpaccountskcminternal4 -p /sbin/ldconfig
%files lang -f %{name}.lang
%files -n libktpaccountskcminternal4
%defattr(-,root,root)
%{_kde4_libdir}/libktpaccountskcminternal.so.*
%files
%defattr(-,root,root)
%doc COPYING README
%{_kde4_datadir}/telepathy/profiles/*.profile
%{_kde4_libdir}/libktpaccountskcminternal.so
%{_kde4_modules}/ktpaccountskcm_plugin_*
%{_kde4_modulesdir}/kcm_ktp_accounts.so
%{_kde4_servicesdir}/kcm_ktp_accounts.desktop
%{_kde4_servicesdir}/ktpaccountskcm_plugin_*.desktop
%{_kde4_servicesdir}/settings-im-and-voip.desktop
%{_kde4_servicetypesdir}/ktpaccountskcminternal-accountuiplugin.desktop
%dir %{_kde4_datadir}/telepathy
%dir %{_kde4_datadir}/telepathy/profiles
%changelog