Sisyphus repository
Last update: 25 february 2021 | SRPMs: 17845 | Visits: 20337184
en ru br
ALT Linux repos
S:17.08.3-alt5

Group :: Networking/Instant messaging
RPM: kde4-kopete

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 


%add_findpackage_path %_kde4_bindir

%if_enabled kde_mobile
%def_disable desktop
%else
%def_enable desktop
%endif

%def_enable kopete_irc
%def_disable mediastreamer

%ifdef _kde_alternate_placement
%add_findreq_skiplist %_kde4_bindir/kopete_*.sh
%add_findreq_skiplist %_kde4_bindir/winpopup-*.sh
%else
%add_findreq_skiplist %_K4bindir/kopete_*.sh
%add_findreq_skiplist %_K4bindir/winpopup-*.sh
%endif
%add_findreq_skiplist %_K4apps/kopete_skype/call_*

%define rname kopete
Name: kde4-kopete
Version: 17.08.3
Release: alt3

Group: Networking/Instant messaging
Summary: Instant Messaging client
License: GPLv2

Provides: kde4network-kopete = %EVR
Obsoletes: kde4network-kopete < %EVR

Requires: qca2-ossl
%if_enabled mediastreamer
Requires: libmediastreamer-ilbc
%endif

Source: %rname-%version.tar
# ALT
Patch1: alt-mobile.patch
#Patch2: alt-xmpp-service-reg-form-layout.patch

# Automatically added by buildreq on Thu Sep 26 2013 (-bi)

# optimized out: automoc cmake cmake-modules docbook-dtds docbook-style-xsl elfutils fontconfig fontconfig-devel glib2-devel glibc-devel-static kde4libs kde4libs-devel kde4pimlibs libICE-devel libSM-devel libX11-devel libXScrnSaver-devel libXau-devel libXcomposite-devel libXcursor-devel libXdamage-devel libXdmcp-devel libXext-devel libXfixes-devel libXft-devel libXi-devel libXinerama-devel libXpm-devel libXrandr-devel libXrender-devel libXt-devel libXtst-devel libXv-devel libXxf86vm-devel libdbus-devel libdbusmenu-qt2 libfreetype-devel libgcrypt-devel libgif-devel libgpg-error libgpg-error-devel libopencore-amrnb0 libopencore-amrwb0 libortp-devel libp11-kit libpng-devel libqt4-core libqt4-dbus libqt4-devel libqt4-gui libqt4-network libqt4-qt3support libqt4-sql libqt4-svg libqt4-test libqt4-xml libsoprano-devel libssl-devel libstdc++-devel libxkbfile-devel libxml2-devel phonon-devel pkg-config python-base python3 python3-base ruby ruby-stdlibs xml-common xml-utils xorg-kbproto-devel xorg-scrnsaverproto-devel xorg-xproto-devel xsltproc zlib-devel
#BuildRequires: boost-devel-headers fonts-ttf-google-droid-kufi fonts-ttf-google-droid-sans fonts-ttf-google-droid-serif gcc-c++ kde4-nepomuk-core-devel kde4base-runtime-core kde4pimlibs-devel libexpat-devel libgadu-devel libidn-devel libjasper-devel libjpeg-devel libmeanwhile-devel libmediastreamer-devel libmsn-devel libotr-devel libqca2-devel libqimageblitz-devel libsqlite3-devel libsrtp libv4l-devel libxslt-devel python-module-distribute rpm-build-python3 rpm-build-ruby samba-client xorg-xf86miscproto-devel zlib-devel-static
BuildRequires(pre): rpm-build-ubt
BuildRequires: boost-devel gcc-c++ qjson-devel
BuildRequires: kde4base-runtime-devel kde4pim-devel
BuildRequires: kde4pimlibs-devel libgpgme-devel
BuildRequires: libexpat-devel libjasper-devel libjpeg-devel
#BuildRequires: libidn-devel
BuildRequires: libgadu-devel libgnutls-devel libtasn1-devel jsoncpp-devel
BuildRequires: libmeanwhile-devel libotr5-devel libalsa-devel
%if_enabled mediastreamer
BuildRequires: libmediastreamer-devel libmediastreamer-ilbc
%endif
BuildRequires: libqca2-devel libqimageblitz-devel libsqlite3-devel
BuildRequires: libsrtp-devel libortp-devel libv4l-devel libxslt-devel python-devel
BuildRequires: kde-common-devel rpm-macros-browser-plugins

%description
Kopete is an Instant Messaging client
designed to be modular and plugin based.

%package common
Summary: %name common package
Group: System/Configuration/Other
BuildArch: noarch
%description common
%name common package

%package core
Summary: Core files for %name
Group: Graphical desktop/KDE
Requires: %name-common = %version-%release
%description core
Core files for %name

%package -n libkopete4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
%description -n libkopete4
%name libraries

%package -n libkopete4_videodevice
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopete4_videodevice
%name libraries

%package -n libkopeteaddaccountwizard4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopeteaddaccountwizard4
%name libraries

%package -n libkopeteprivacy4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopeteprivacy4
%name libraries

%package -n libkopetechatwindow4_shared
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopetechatwindow4_shared
%name libraries

%package -n libkopete4_oscar
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopete4_oscar
%name libraries

%package -n liboscar4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n liboscar4
%name libraries

%package -n libkopete4_otr_shared
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopete4_otr_shared
%name libraries

%package -n libkopeteidentity4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopeteidentity4
%name libraries

%package -n libkopetestatusmenu4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopetestatusmenu4
%name libraries

%package -n libkopetecontactlist4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkopetecontactlist4
%name libraries

%package -n libkyahoo4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkyahoo4
%name libraries

%package -n libkirc4_client
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkirc4_client
%name libraries

%package -n libkirc4
Summary: %name libraries
Group: System/Libraries
License: LGPLv2.1
Requires: %name-common = %version-%release
Conflicts: libkopete4 <= 4.11.1-alt1
%description -n libkirc4
%name libraries

%package devel
Summary: Devel stuff for %name
Group: Development/KDE and QT
Requires: kde4libs-devel
Requires: %name-common = %version-%release
Conflicts: kde4network-devel <= 4.11.1-alt1
%description devel
This package contains header files needed if you wish to build applications
based on %name.

%prep
%setup -q -n %rname-%version
%if_disabled desktop
%patch1 -p1
%endif
#%patch2 -p1

%build
%K4build \
   -DKDE4_ENABLE_FPIE:BOOL=ON \
   -DWITH_irc:BOOL=%{?_enable_kopete_irc:ON}%{!?_enable_kopete_irc:OFF} \
   -DWITH_msn:BOOL=OFF \
   -DWITH_wlm:BOOL=OFF \
   -DMOZPLUGIN_INSTALL_DIR:PATH=%browser_plugins_path \
   #

%install
%K4install

%files common
%doc AUTHORS IDENTITY_REFACTORY README TODO
%dir %_K4srv/kconfiguredialog/
%_K4iconsdir/oxygen/*/*/*.*
%_K4iconsdir/hicolor/*/*/*.*

#%files core


%files
%if_enabled mediastreamer
%_K4bindir/libjingle-call
%endif
%_K4bindir/kopete
%_K4bindir/kopete_latexconvert.sh
%_K4bindir/winpopup-install
%_K4bindir/winpopup-send
%_K4libdir/libqgroupwise.so
%_K4lib/libchattexteditpart.so
%_K4lib/kcm_kopete_*
%_K4lib/kopete_*
%_K4plug/accessible/chatwindowaccessiblewidgetfactory.so
%browser_plugins_path/skypebuttons.so
%_K4conf_update/kopete-*
%_K4xdg_apps/kopete.desktop
%_K4conf/kopeterc
%_K4cfg/historyconfig.kcfg
%_K4cfg/kopete_otr.kcfg
%_K4cfg/kopeteappearancesettings.kcfg
%_K4cfg/kopetebehaviorsettings.kcfg
%_K4cfg/kopetestatussettings.kcfg
%_K4cfg/latexconfig.kcfg
%_K4cfg/nowlisteningconfig.kcfg
%_K4cfg/webpresenceconfig.kcfg
%_K4cfg/translatorconfig.kcfg
%_K4cfg/history2config.kcfg
%_K4srv/aim.protocol
%_K4srv/chatwindow.desktop
%_K4srv/emailwindow.desktop
%_K4srv/kconfiguredialog/kopete_*
%_K4srv/kopete_*
%_K4srv/*.protocol
%_K4srvtyp/kopete*
%_K4snd/Kopete_Event.ogg
%_K4snd/Kopete_Received.ogg
%_K4snd/Kopete_Sent.ogg
%_K4snd/Kopete_User_is_Online.ogg
%_K4apps/kopete/
%_K4apps/kopete_*/
%_K4apps/kopeterichtexteditpart/
%_K4cfg/urlpicpreview.kcfg
%_K4doc/*/kopete

%if_enabled kopete_irc
%files -n libkirc4
%_K4libdir/libkirc.so.*
%files -n libkirc4_client
%_K4libdir/libkirc_client.so.*
%endif
%files -n libkyahoo4
%_K4libdir/libkyahoo.so.*
%files -n libkopete4_videodevice
%_K4libdir/libkopete_videodevice.so.*
%files -n libkopeteaddaccountwizard4
%_K4libdir/libkopeteaddaccountwizard.so.*
%files -n libkopete4
%_K4libdir/libkopete.so.*
%files -n libkopeteprivacy4
%_K4libdir/libkopeteprivacy.so.*
%files -n libkopetechatwindow4_shared
%_K4libdir/libkopetechatwindow_shared.so.*
%files -n libkopete4_oscar
%_K4libdir/libkopete_oscar.so.*
%files -n libkopete4_otr_shared
%_K4libdir/libkopete_otr_shared.so.*
%files -n liboscar4
%_K4libdir/liboscar.so.*
%files -n libkopeteidentity4
%_K4libdir/libkopeteidentity.so.*
%files -n libkopetestatusmenu4
%_K4libdir/libkopetestatusmenu.so.*
%files -n libkopetecontactlist4
%_K4libdir/libkopetecontactlist.so.*

%files devel
%_K4link/*.so
%_K4includedir/*/
%_K4dbus_interfaces/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin