LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File kopete.spec of Package kopete4 (Project home:wolfi323:branches:KDE:Frameworks5)

#
# spec file for package kopete
#
# Copyright (c) 2017 SUSE LINUX 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:           kopete
Version:        17.08.3
Release:        0
Summary:        Instant Messenger
License:        GPL-2.0+
Group:          Productivity/Networking/Instant Messenger
Source0:        %{name}-%{version}.tar.xz
BuildRequires:  alsa-devel
BuildRequires:  giflib-devel
BuildRequires:  libgadu-devel
BuildRequires:  libidn-devel
BuildRequires:  libjasper-devel
BuildRequires:  libkdepimlibs4-devel
BuildRequires:  libqca2-devel
BuildRequires:  libqimageblitz-devel
BuildRequires:  libv4l-devel
BuildRequires:  libxml2-devel
BuildRequires:  libxslt-devel
BuildRequires:  meanwhile-devel
%if 0%{?is_opensuse} || !0%{?sle_version}
BuildRequires:  mediastreamer2-devel
%endif
BuildRequires:  openslp-devel
BuildRequires:  pkgconfig
BuildRequires:  speex-devel
BuildRequires:  sqlite-devel
BuildRequires:  pkgconfig(expat)
BuildRequires:  pkgconfig(libotr) >= 4.0.0
BuildRequires:  pkgconfig(libsrtp)
%if 0%{?is_opensuse} || !0%{?sle_version}
BuildRequires:  pkgconfig(ortp) >= 0.22
%endif
# binary compatibility doesn't really exist here
%requires_eq    libmsn0_1
Recommends:     kdepim4-runtime
Recommends:     kopete-protocol-facebook
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
%{kde4_runtime_requires}
%{kde4_pimlibs_requires}

%description
Kopete is the KDE instant messenger and supports multiple protocols.

%package devel
Summary:        Instant Messenger - Development Files
Group:          Productivity/Networking/Instant Messenger
Requires:       kopete >= %{version}
Requires:       libkdepimlibs4-devel
Provides:       kde4-kopete-devel = %{version}
Obsoletes:      kde4-kopete-devel < %{version}
%{kde4_runtime_requires}

%description devel
Kopete is the KDE instant messenger and supports multiple protocols.

%prep
%setup -q

%build
%ifarch ppc ppc64
export RPM_OPT_FLAGS="%{optflags} -mminimal-toc"
%endif
export RPM_OPT_FLAGS="%{optflags} -fPIE"
export LDFLAGS="-pie"
  %cmake_kde4 -d build -- -DMOZPLUGIN_INSTALL_DIR=%{_libdir}/browser-plugins
  %make_jobs

%install
  %kde4_makeinstall -C build
  %suse_update_desktop_file kopete          Network  InstantMessaging
  %kde_post_install

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%{_kde4_bindir}/kopete
%{_kde4_bindir}/kopete_latexconvert.sh
%{_kde4_bindir}/winpopup-*
%{_kde4_modulesdir}/kcm_kopete_*.so
%{_kde4_modulesdir}/kopete_*.so
%{_kde4_modulesdir}/libchattexteditpart.so
%{_kde4_libdir}/libkopete.so.*
%{_kde4_libdir}/libkopete*.so.*
%{_kde4_libdir}/libkyahoo.so.*
%{_kde4_libdir}/liboscar.so.*
%{_kde4_libdir}/libqgroupwise.so
%{_kde4_libdir}/browser-plugins/skypebuttons.so
%{_kde4_applicationsdir}/kopete.desktop
%{_kde4_datadir}/dbus-1/interfaces/
%{_kde4_htmldir}/en/kopete/
%{_kde4_iconsdir}/hicolor/*/apps/kopete*.*
%{_kde4_iconsdir}/oxygen/*/actions/*
%{_kde4_iconsdir}/oxygen/*/status/*
%{_kde4_appsdir}/kconf_update/
%{_kde4_appsdir}/kopete/
%{_kde4_configkcfgdir}/*
%{_kde4_servicesdir}/*.protocol
%{_kde4_servicesdir}/*.desktop
%{_kde4_servicetypesdir}/*.desktop
%{_kde4_datadir}/sounds/*.ogg
%{_kde4_appsdir}/kopete_contactnotes/
%{_kde4_appsdir}/kopete_groupwise/
%{_kde4_appsdir}/kopete_history/
%{_kde4_appsdir}/kopete_history2/
%{_kde4_appsdir}/kopete_jabber/
%{_kde4_appsdir}/kopete_latex/
%{_kde4_appsdir}/kopete_otr/
%{_kde4_appsdir}/kopete_privacy/
%{_kde4_appsdir}/kopete_skype/
%{_kde4_appsdir}/kopete_statistics/
%{_kde4_appsdir}/kopete_translator/
%{_kde4_appsdir}/kopete_yahoo/
%{_kde4_modulesdir}/plugins/accessible/
%{_kde4_appsdir}/kopeterichtexteditpart/
%{_kde4_servicesdir}/kconfiguredialog/
%{_kde4_configdir}/kopeterc

%files devel
%defattr(-,root,root)
%doc COPYING COPYING.DOC README
%{_kde4_includedir}/kopete/
%{_kde4_libdir}/libkopete.so
%{_kde4_libdir}/libkopete*.so
%{_kde4_libdir}/libkyahoo.so
%{_kde4_libdir}/liboscar.so

%changelog