# TODO: # - fix tool-avdeviceconfig summary and description (copy-pasto!) # - subpackage linphone's oRTP libraries to add Jingle support for jabber # # Conditional build: %bcond_without xmms %bcond_without noatun %bcond_with meanwhile # Kopete Meanwhile plugin (Lotus Sametime support) %bcond_without smpppd # support for the SuSE Meta PPP Daemon (smpppd) %bcond_without winpopup %bcond_without smsgsm # GSM SMS protocol %bcond_without slp # don't require libslp (Browsing in krfb and krdc not possible) %bcond_with jingle # enable Jabber Jingle voice support # Summary: Multi-protocol plugin-based instant messenger Summary(pl.UTF-8): Komunikator obsługujący wiele protokołów Name: kopete Version: 0.12.2 Release: 2 Epoch: 1 License: GPL Group: X11/Applications/Networking Source0: http://dl.sourceforge.net/kopete/%{name}-%{version}.tar.bz2 # Source0-md5: 1526f3c44ee2b2ed3ee4a236893c9f46 Patch0: %{name}-desktop.patch # http://www.kde-apps.org/content/show.php?content=40844 Patch1: %{name}-crypt.patch Patch2: %{name}-icqconn.patch URL: http://kopete.kde.org/ BuildRequires: autoconf BuildRequires: automake BuildRequires: fam-devel BuildRequires: glib-devel %{?with_smsgsm:BuildRequires: gsmlib-devel} BuildRequires: kdelibs-devel >= 9:3.5.0 BuildRequires: kdemultimedia-devel >= 9:3.5.0 BuildRequires: kdemultimedia-kscd >= 9:3.5.0 %{?with_noatun:BuildRequires: kdemultimedia-noatun >= 9:3.5.0} BuildRequires: libgadu-devel >= 1.0 #BuildRequires: libpsi-devel >= 20021108 BuildRequires: libxml2-devel >= 2.4.8 BuildRequires: libxslt-devel >= 1.0.7 %{?with_meanwhile:BuildRequires: meanwhile-devel <= 1.1.0} %{?with_meanwhile:BuildRequires: meanwhile-devel >= 1.0.1} BuildRequires: openssl-devel BuildRequires: perl-devel BuildRequires: qt-devel >= 6:3.3 BuildRequires: rpmbuild(macros) >= 1.129 %{?with_xmms:BuildRequires: xmms-devel >= 1.0.0} Requires: %{name}-libkopete = %{epoch}:%{version}-%{release} Requires: kdebase-core >= 6:3.5.0 Requires: perl-modules Requires: qt >= 6:3.3 Provides: kdenetwork-kopete Obsoletes: kdenetwork-kopete Obsoletes: kdenetwork-kopete-protocol-testbed Obsoletes: kopete-designer Obsoletes: kopete-plugin-protocols-aim Obsoletes: kopete-plugin-protocols-gg Obsoletes: kopete-plugin-protocols-icq Obsoletes: kopete-plugin-protocols-irc Obsoletes: kopete-plugin-protocols-jabber Obsoletes: kopete-plugin-protocols-msn Obsoletes: kopete-plugin-protocols-oscar Obsoletes: kopete-plugin-protocols-sms Obsoletes: kopete-plugin-protocols-winpopup Obsoletes: kopete-plugin-protocols-yahoo Obsoletes: kopete-plugin-tools-autoaway Obsoletes: kopete-plugin-tools-autoreplace Obsoletes: kopete-plugin-tools-conectionstatus Obsoletes: kopete-plugin-tools-contactnotes Obsoletes: kopete-plugin-tools-cryptography Obsoletes: kopete-plugin-tools-highlight Obsoletes: kopete-plugin-tools-history Obsoletes: kopete-plugin-tools-importer Obsoletes: kopete-plugin-tools-motionaway Obsoletes: kopete-plugin-tools-nowlistening Obsoletes: kopete-plugin-tools-spellcheck Obsoletes: kopete-plugin-tools-texteffect Obsoletes: kopete-plugin-tools-translator Obsoletes: kopete-plugin-tools-webpresence BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Kopete is a flexible and extendable multiple protocol instant messaging system designed as a based system. All protocols are plugins and allow modular installment, configuration, and usage without the main application knowing anything about the plugin being loaded. The goal of Kopete is to provide users with a standard and easy to use interface between all of their instant messaging systems, but at the same time also providing developers with the ease of writing plugins to support a new protocol. The core Kopete development team provides a handful of plugins that most users can use, in addition to templates for new developers to base a plugin off of. %description -l pl.UTF-8 Kopete to rozszerzalny i rozbudowywalny komunikator obsługujący wiele protokołów, zaprojektowany w oparciu o wtyczki. Wszystkie protokoły są wtyczkami, co pozwala na modularną instalację, konfigurację i używanie bez potrzeby obsługi ładowanych wtyczek w głównej aplikacji. Celem Kopete jest wyposażenie użytkowników w standardowy i łatwy w użyciu interfejs pomiędzy wszystkimi systemami komunikatorów, a jednocześnie zapewnienie programistom łatwości pisania wtyczek obsługujących nowe protokoły. Załoga programistów Kopete udostępnia podręczny zestaw wtyczek używanych przez większość użytkowników oraz szablony dla nowych programistów, na których można opierać nowe wtyczki. %package devel Summary: kopete - header files Summary(pl.UTF-8): kopete - pliki nagłówkowe do kopete Group: X11/Development/Libraries Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-libkopete_msn = %{epoch}:%{version}-%{release} Requires: %{name}-libkopete_oscar = %{epoch}:%{version}-%{release} Requires: %{name}-libkopete_videodevice = %{epoch}:%{version}-%{release} %description devel This package contains header files for kopete. %description devel -l pl.UTF-8 Pakiet ten zawiera pliki nagłówkowe potrzebną przy pisaniu własnych programów wykorzystujących kopete. %package tool-alias Summary: Kopete plugin to add custom aliases for commands Summary(pl.UTF-8): Wtyczka Kopete do dodawania własnych aliasów dla poleceń Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-alias Obsoletes: kdenetwork-kopete-tool-alias %description tool-alias Kopete plugin to add custom aliases for commands. %description tool-alias -l pl.UTF-8 Wtyczka Kopete do dodawania własnych aliasów dla poleceń. %package tool-autoaway Summary: Kopete autoaway plugin Summary(pl.UTF-8): Wtyczka Kopete do automatycznego przechodzenia w stan zajęty Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-autoaway Obsoletes: kdenetwork-kopete-tool-autoaway %description tool-autoaway Kopete plugin which automatically changes status to away. Conditions are configurable. %description tool-autoaway -l pl.UTF-8 Wtyczka Kopete automatycznie zmieniająca status na zajęty. Warunki, po zaistnieniu których ma nastąpić, są konfigurowalne. %package tool-autoreplace Summary: Kopete plugin which autoreplaces some text you can choose Summary(pl.UTF-8): Wtyczka Kopete do automatycznej zamiany tekstu Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-autoreplace Obsoletes: kdenetwork-kopete-tool-autoreplace %description tool-autoreplace Kopete plugin which autoreplaces some text you can choose. %description tool-autoreplace -l pl.UTF-8 Wtyczka Kopete do automatycznej zamiany tekstu. %package tool-avdeviceconfig Summary: Kopete avdeviceconfig plugin Summary(pl.UTF-8): Wtyczka Kopete do automatycznego przechodzenia w stan zajęty Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-avdeviceconfig Obsoletes: kdenetwork-kopete-tool-avdeviceconfig %description tool-avdeviceconfig Kopete plugin which automatically changes status to away. Conditions are configurable. %description tool-avdeviceconfig -l pl.UTF-8 Wtyczka Kopete automatycznie zmieniająca status na zajęty. Warunki, po zaistnieniu których ma nastąpić, są konfigurowalne. %package tool-connectionstatus Summary: Kopete Internet connection detector Summary(pl.UTF-8): Wykrywacz połączeń internetowych dla Kopete Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-conectionstatus Obsoletes: kdenetwork-kopete-tool-conectionstatus %description tool-connectionstatus Kopete tool which automatically detects whether the internet connection is available or not. %description tool-connectionstatus -l pl.UTF-8 Narzędzie Kopete automatycznie sprawdzające, czy dostępne jest połączenie do Internetu. %package tool-contactnotes Summary: Kopete tool which adds personal notes to your contacts Summary(pl.UTF-8): Narzędzie Kopete do dodawania notatek do kontaktów Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-contactnotes Obsoletes: kdenetwork-kopete-tool-contactnotes %description tool-contactnotes Kopete tool which allows adding personal notes to your contacts. %description tool-contactnotes -l pl.UTF-8 Narzędzie Kopete umożliwiające dodawanie notatek do kontaktów. %package tool-cryptography Summary: Kopete messages encryptor Summary(pl.UTF-8): Program do szyfrowania wiadomości dla Kopete Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-cryptography Obsoletes: kdenetwork-kopete-tool-cryptography %description tool-cryptography OpenPGP messages encryptor for Kopete. %description tool-cryptography -l pl.UTF-8 Program dla Kopete do szyfrowania wiadomości przy pomocy OpenPGP. %package tool-highlight Summary: A highlighter plugin for Kopete Summary(pl.UTF-8): Wtyczka Kopete podkreślająca wybrane teksty Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-highlight Obsoletes: kdenetwork-kopete-tool-highlight %description tool-highlight A highlighter plugin for Kopete. %description tool-highlight -l pl.UTF-8 Wtyczka Kopete podkreślająca wybrane teksty. %package tool-history Summary: A history plugin for Kopete Summary(pl.UTF-8): Wtyczka Kopete obsługująca historię rozmów Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-history Obsoletes: kdenetwork-kopete-tool-history %description tool-history A history plugin for Kopete. %description tool-history -l pl.UTF-8 Wtyczka Kopete obsługująca historię rozmów. %package tool-importer Summary: Contact importer for Kopete Summary(pl.UTF-8): Importer kontaktów dla Kopete Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-importer Obsoletes: kdenetwork-kopete-tool-importer %description tool-importer Kopete tool which allows importing contacts from other instant messengers. %description tool-importer -l pl.UTF-8 Narzędzie Kopete umożliwiające importowanie kontaktów z innych komunikatorów. %package tool-latex Summary: A LaTeX plugin for Kopete Summary(pl.UTF-8): Wtyczka Kopete renderująca tekst w formacie LaTeXa Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-latex Obsoletes: kdenetwork-kopete-tool-latex %description tool-latex A LaTeX plugin for Kopete. %description tool-latex -l pl.UTF-8 Wtyczka Kopete renderująca tekst w formacie LaTeXa. %package tool-motionaway Summary: Kopete plugin which sets away status when not detecting movement near the computer Summary(pl.UTF-8): Wtyczka Kopete zmieniająca status na zajęty jeśli nie wykrywa ruchu wokół komputera Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-motionaway Obsoletes: kdenetwork-kopete-tool-motionaway %description tool-motionaway This Kopete plugin sets away status when not detecting movement near the computer. %description tool-motionaway -l pl.UTF-8 Ta wtyczka Kopete zmienia status na zajęty jeśli nie wykrywa ruchu wokół komputera. %package tool-nowlistening Summary: Playlist informer for Kopete Summary(pl.UTF-8): Informator o playliście dla Kopete Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-nowlistening Obsoletes: kdenetwork-kopete-tool-nowlistening %description tool-nowlistening This Kopete plugin tells selected live chats what you're currently listening to in xmms/kscd/noatun. %description tool-nowlistening -l pl.UTF-8 Ta wtyczka Kopete wypisuje podczas wybranych rozmów nazwę aktualnie słuchanej piosenki w xmms/kscd/noatun. %package tool-smpppdcs Summary: Kopete smpppdcs plugin Summary(pl.UTF-8): Wtyczka Kopete do automatycznego przechodzenia w stan zajęty Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-smpppdcs Obsoletes: kdenetwork-kopete-tool-smpppdcs %description tool-smpppdcs Kopete plugin which automatically changes status to away. Conditions are configurable. %description tool-smpppdcs -l pl.UTF-8 Wtyczka Kopete automatycznie zmieniająca status na zajęty. Warunki, po zaistnieniu których ma nastąpić, są konfigurowalne. %package tool-spellcheck Summary: A spell checking plugin for Kopete Summary(pl.UTF-8): Wtyczka Kopete sprawdzająca pisownię Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-spellcheck Obsoletes: kdenetwork-kopete-tool-spellcheck %description tool-spellcheck A spell checking plugin for Kopete. %description tool-spellcheck -l pl.UTF-8 Wtyczka Kopete sprawdzająca pisownię. %package tool-texteffect Summary: Kopete plugin that adds nice effects to your messages Summary(pl.UTF-8): Wtyczka Kopete dodająca ładne efekty do wiadomości Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-texteffect Obsoletes: kdenetwork-kopete-tool-texteffect %description tool-texteffect Kopete plugin that adds nice effects to your messages. %description tool-texteffect -l pl.UTF-8 Wtyczka Kopete dodająca ładne efekty do wiadomości. %package tool-translator Summary: Kopete plugin which uses babelfish to translate messages Summary(pl.UTF-8): Wtyczka Kopete wykorzystująca babelfish do tłumaczenia wiadomości Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-tool-translator Obsoletes: kdenetwork-kopete-tool-translator %description tool-translator This Kopete plugin uses web translating engines (like Altavista's babelfish or Google) to translate messages. %description tool-translator -l pl.UTF-8 Ta wtyczka Kopete wykorzystuje babelfish do tłumaczenia wiadomości. %package tool-webpresence Summary: Web contactlist presenter for Kopete Summary(pl.UTF-8): Wyświetlacz listy kontaktów na WWW dla Kopete Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Requires: libxml2 >= 2.4.8 Requires: libxslt >= 1.0.7 Provides: kopete-tool-webpresence Obsoletes: kopete-tool-webpresence %description tool-webpresence This Kopete plugin shows the status of your IM accounts on a webpage. %description tool-webpresence -l pl.UTF-8 Ta wtyczka Kopete pokazuje status (całej lub części) listy kontaktów na stronie WWW. %package protocol-aim Summary: Kopete plugin which adds AIM protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu AIM Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-libkopete_oscar = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-aim Obsoletes: kdenetwork-kopete-protocol-aim %description protocol-aim Kopete plugin which adds AIM protocol support. %description protocol-aim -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu AIM. %package protocol-gg Summary: Kopete plugin which adds GaduGadu protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu GaduGadu Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-gg Obsoletes: kdenetwork-kopete-protocol-gg %description protocol-gg Kopete plugin which adds GaduGadu protocol support. %description protocol-gg -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu GaduGadu. %package protocol-groupwise Summary: Kopete plugin which adds Groupwise protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Groupwise Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-groupwise Obsoletes: kdenetwork-kopete-protocol-groupwise %description protocol-groupwise Kopete plugin which adds Groupwise protocol support. %description protocol-groupwise -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu Groupwise. %package protocol-icq Summary: Kopete plugin which adds ICQ protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu ICQ Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-libkopete_oscar = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-icq Obsoletes: kdenetwork-kopete-protocol-icq %description protocol-icq Kopete plugin which adds ICQ protocol support. %description protocol-icq -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu ICQ. %package protocol-irc Summary: Kopete plugin which adds IRC support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę IRC-a Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-irc Obsoletes: kdenetwork-kopete-protocol-irc %description protocol-irc Kopete plugin which adds IRC support. %description protocol-irc -l pl.UTF-8 Wtyczka Kopete dodająca obsługę IRC-a. %package protocol-jabber Summary: Kopete plugin which adds Jabber protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Jabber Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-jabber Obsoletes: kdenetwork-kopete-protocol-jabber %description protocol-jabber Kopete plugin which adds Jabber protocol support. %description protocol-jabber -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu Jabber. %package protocol-msn Summary: Kopete plugin which adds MSN protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu MSN Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Requires: %{name}-libkopete_msn = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-msn Obsoletes: kdenetwork-kopete-protocol-msn %description protocol-msn Kopete plugin which adds MSN protocol support. %description protocol-msn -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu MSN. %package protocol-meanwhile Summary: Kopete plugin which adds Lotus Sametime protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Lotus Sametime Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-meanwhile Obsoletes: kdenetwork-kopete-protocol-meanwhile %description protocol-meanwhile Kopete plugin which adds meanwhile Lotus Sametime support. %description protocol-meanwhile -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu Lotus Sametime. %package protocol-sms Summary: Kopete plugin which adds SMS contact support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę kontaktów SMS Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-sms Obsoletes: kdenetwork-kopete-protocol-sms %description protocol-sms Kopete plugin which adds SMS contact support. %description protocol-sms -l pl.UTF-8 Wtyczka Kopete dodająca obsługę kontaktów SMS. %package protocol-winpopup Summary: Kopete plugin which adds WinPopUp messaging support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę komunikacji przez WinPopUp Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-winpopup Obsoletes: kdenetwork-kopete-protocol-winpopup %description protocol-winpopup Kopete plugin which adds WinPopUp messaging support. %description protocol-winpopup -l pl.UTF-8 Wtyczka Kopete dodająca obsługę komunikacji przez WinPopUp. %package protocol-yahoo Summary: Kopete plugin which adds Yahoo protocol support Summary(pl.UTF-8): Wtyczka Kopete dodająca obsługę protokołu Yahoo Group: X11/Applications/Networking Requires: %{name} = %{epoch}:%{version}-%{release} Provides: kdenetwork-kopete-protocol-yahoo Obsoletes: kdenetwork-kopete-protocol-yahoo %description protocol-yahoo Kopete plugin which adds Yahoo protocol support. %description protocol-yahoo -l pl.UTF-8 Wtyczka Kopete dodająca obsługę protokołu Yahoo. # libraries %package libkopete Summary: kopete library Summary(pl.UTF-8): Biblioteka kopete Group: X11/Libraries Requires: kdelibs >= %{_minlibsevr} Provides: kdenetwork-libkopete Obsoletes: kdenetwork-libkopete %description libkopete kopete library. %description libkopete -l pl.UTF-8 Biblioteka kopete. %package libkopete_msn Summary: MSN protocol shared library Summary(pl.UTF-8): Biblioteka współdzielona dla protokołu MSN Group: X11/Libraries Requires: %{name}-libkopete = %{epoch}:%{version}-%{release} Provides: kdenetwork-libkopete_msn Obsoletes: kdenetwork-libkopete_msn %description libkopete_msn MSN protocol shared library. %description libkopete_msn -l pl.UTF-8 Biblioteka współdzielona dla protokołu MSN. %package libkopete_videodevice Summary: Video input device support library for kopete Summary(pl.UTF-8): Biblioteka z obsługą urządzeń wejścia video dla kopete Group: X11/Libraries Requires: %{name}-libkopete = %{epoch}:%{version}-%{release} Provides: kdenetwork-libkopete_videodevice Obsoletes: kdenetwork-libkopete_videodevice %description libkopete_videodevice Video input device support library for kopete. %description libkopete_videodevice -l pl.UTF-8 Biblioteka z obsługą urządzeń wejścia video dla kopete. %package libkopete_oscar Summary: Shared library which adds OSCAR protocol support Summary(pl.UTF-8): Biblioteka dodająca obsługę protokołu OSCAR Group: X11/Applications/Networking Requires: %{name}-libkopete = %{epoch}:%{version}-%{release} Provides: kdenetwork-libkopete_oscar Obsoletes: kdenetwork-libkopete_oscar %description libkopete_oscar A shared library which adds OSCAR protocol support needed eg. by AIM and ICQ. %description libkopete_oscar -l pl.UTF-8 Biblioteka dodająca obsługę protokołu OSCAR, używanego między innymi przez AIM i ICQ. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p0 %build kde_appsdir="%{_desktopdir}"; export kde_appsdir kde_htmldir="%{_kdedocdir}"; export kde_htmldir %{__make} -f admin/Makefile.common cvs %configure \ %if "%{_lib}" == "lib64" --enable-libsuffix=64 \ %endif --%{?debug:en}%{!?debug:dis}able-debug \ --with-distribution="PLD Linux Distribution" \ --with-qt-libraries=%{_libdir} \ --disable-testbed \ %{!?debug:--disable-rpath} \ --%{?with_meanwhile:en}%{!?with_meanwhile:dis}able-meanwhile \ --%{?with_smpppd:en}%{!?with_smpppd:dis}able-smpppd \ --%{?with_jingle:en}%{!?with_jingle:dis}able-jingle \ --%{?with_smsgsm:en}%{!?with_smsgsm:dis}able-smsgsm \ --%{?with_slp:en}%{!?with_slp:dis}able-slp \ %{__make} \ CXXLD=%{_host_cpu}-%{_vendor}-%{_os}-g++ \ CCLD=%{_host_cpu}-%{_vendor}-%{_os}-gcc \ AM_MAKEFLAGS='CXXLD=$(CXXLD) CCLD=$(CCLD)' %if %{with winpopup} %{__make} -C kopete/protocols/winpopup %endif %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %if %{with winpopup} %{__make} -C kopete/protocols/winpopup install \ DESTDIR=$RPM_BUILD_ROOT %endif %find_lang %{name} --with-kde # in kdelibs rm -f $RPM_BUILD_ROOT%{_datadir}/mimelnk/application/x-icq.desktop %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f kopete.lang %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/kopete %{_libdir}/kde3/kcm_kopete_addbookmarks.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_addbookmarks.so %{_libdir}/kde3/kcm_kopete_accountconfig.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_accountconfig.so %{_libdir}/kde3/kcm_kopete_appearanceconfig.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_appearanceconfig.so %{_libdir}/kde3/kcm_kopete_behaviorconfig.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_behaviorconfig.so %{_libdir}/kde3/kcm_kopete_netmeeting.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_netmeeting.so %{_libdir}/kde3/kcm_kopete_identityconfig.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_identityconfig.so %{_libdir}/kde3/kopete_addbookmarks.la %attr(755,root,root) %{_libdir}/kde3/kopete_addbookmarks.so %{_libdir}/kde3/kopete_chatwindow.la %attr(755,root,root) %{_libdir}/kde3/kopete_chatwindow.so %{_libdir}/kde3/kopete_emailwindow.la %attr(755,root,root) %{_libdir}/kde3/kopete_emailwindow.so %{_libdir}/kde3/kopete_statistics.la %attr(755,root,root) %{_libdir}/kde3/kopete_statistics.so %{_libdir}/kde3/libkrichtexteditpart.la %attr(755,root,root) %{_libdir}/kde3/libkrichtexteditpart.so %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-account-0.10.pl %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-account-kconf_update.sh %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-jabberpriorityaddition-kconf_update.sh %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-jabberproxytype-kconf_update.sh %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-pluginloader.pl %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-pluginloader2.sh %attr(755,root,root) %{_libdir}/kconf_update_bin/kopete-account-kconf_update %attr(755,root,root) %{_libdir}/kconf_update_bin/kopete-nameTracking-kconf_update %attr(755,root,root) %{_libdir}/kconf_update_bin/kopete-pluginloader2-kconf_update %dir %{_datadir}/apps/kopete %dir %{_datadir}/apps/kopete/icons %dir %{_datadir}/apps/kopete/icons/crystalsvg %dir %{_datadir}/apps/kopete/icons/crystalsvg/* %dir %{_datadir}/apps/kopete/icons/crystalsvg/*/* %dir %{_datadir}/apps/kopete/icons/hicolor %dir %{_datadir}/apps/kopete/icons/hicolor/* %dir %{_datadir}/apps/kopete/icons/hicolor/*/* %dir %{_datadir}/apps/kopete/pics %dir %{_datadir}/apps/kopeterichtexteditpart %{_datadir}/apps/kconf_update/kopete-account-kconf_update.upd %{_datadir}/apps/kconf_update/kopete-jabberpriorityaddition-kconf_update.upd %{_datadir}/apps/kconf_update/kopete-jabberproxytype-kconf_update.upd %{_datadir}/apps/kconf_update/kopete-nameTracking.upd %{_datadir}/apps/kconf_update/kopete-pluginloader.upd %{_datadir}/apps/kconf_update/kopete-pluginloader2.upd %{_datadir}/apps/kopete/*rc %{_datadir}/apps/kopete/icons/*/*/actions/kgpg_key?.png %{_datadir}/apps/kopete/icons/*/*/actions/logging.png %{_datadir}/apps/kopete/pics/statistics %{_datadir}/apps/kopete/styles %{_datadir}/apps/kopete_statistics %{_datadir}/apps/kopeterichtexteditpart/kopeterichtexteditpartfull.rc %{_datadir}/config.kcfg/kopete.kcfg %{_datadir}/config.kcfg/kopeteidentityconfigpreferences.kcfg %{_datadir}/mimelnk/application/x-kopete-emoticons.desktop %{_datadir}/services/chatwindow.desktop %{_datadir}/services/emailwindow.desktop #%{_datadir}/services/invitation.protocol %{_datadir}/services/kopete_accountconfig.desktop %{_datadir}/services/kopete_addbookmarks.desktop %{_datadir}/services/kopete_appearanceconfig.desktop %{_datadir}/services/kopete_behaviorconfig.desktop %{_datadir}/services/kopete_identityconfig.desktop %{_datadir}/services/kopete_statistics.desktop %{_datadir}/servicetypes/kopeteplugin.desktop %{_datadir}/servicetypes/kopeteprotocol.desktop %{_datadir}/servicetypes/kopeteui.desktop %{_datadir}/sounds/Kopete_Event.ogg %{_datadir}/sounds/Kopete_Received.ogg %{_datadir}/sounds/Kopete_Sent.ogg %{_datadir}/sounds/Kopete_User_is_Online.ogg %{_desktopdir}/kde/kopete.desktop %{_iconsdir}/*/*/actions/account_offline_overlay.png %{_iconsdir}/*/*/actions/account_offline_overlay.svgz %{_iconsdir}/*/*/actions/contact_away_overlay.png %{_iconsdir}/*/*/actions/contact_busy_overlay.png %{_iconsdir}/*/*/actions/contact_food_overlay.png %{_iconsdir}/*/*/actions/contact_invisible_overlay.png %{_iconsdir}/*/*/actions/contact_phone_overlay.png %{_iconsdir}/*/*/actions/contact_xa_overlay.png %{_iconsdir}/*/*/actions/delete_user.png %{_iconsdir}/*/*/actions/edit_user.png %{_iconsdir}/*/*/actions/emoticon.png %{_iconsdir}/*/*/actions/kopeteavailable.png %{_iconsdir}/*/*/actions/kopeteaway.png %{_iconsdir}/*/*/actions/kopeteeditstatusmessage.png %{_iconsdir}/*/*/actions/kopetestatusmessage.png %{_iconsdir}/*/*/actions/metacontact_away.png %{_iconsdir}/*/*/actions/metacontact_offline.png %{_iconsdir}/*/*/actions/metacontact_online.png %{_iconsdir}/*/*/actions/metacontact_unknown.png %{_iconsdir}/*/*/actions/newmessage.mng %{_iconsdir}/*/*/actions/newmsg.png %{_iconsdir}/*/*/actions/show_offliners.png %{_iconsdir}/*/*/actions/status_unknown.png %{_iconsdir}/*/*/actions/status_unknown_overlay.png %{_iconsdir}/*/*/actions/voicecall.png %{_iconsdir}/*/*/actions/webcamreceive.png %{_iconsdir}/*/*/actions/webcamsend.png %{_iconsdir}/*/*/actions/add_user.png %{_iconsdir}/*/*/actions/search_user.png %{_iconsdir}/*/*/apps/kopete.png %{_iconsdir}/*/*/apps/kopete2.svgz %{_iconsdir}/*/*/apps/kopete_all_away.png %{_iconsdir}/*/*/apps/kopete_offline.png %{_iconsdir}/*/*/apps/kopete_some_away.png %{_iconsdir}/*/*/apps/kopete_some_online.png %{_iconsdir}/*/*/mimetypes/kopete_emoticons.png %files devel %defattr(644,root,root,755) %attr(755,root,root) %{_libdir}/libkopete.so %attr(755,root,root) %{_libdir}/libkopete_msn_shared.so %attr(755,root,root) %{_libdir}/libkopete_oscar.so %attr(755,root,root) %{_libdir}/libkopete_videodevice.so %{_includedir}/kopete %files protocol-aim %defattr(644,root,root,755) %{_libdir}/kde3/kopete*aim*.la %attr(755,root,root) %{_libdir}/kde3/kopete*aim*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/*aim* %{_datadir}/apps/kopete/icons/hicolor/*/*/*aim* %{_datadir}/services/aim.protocol %{_datadir}/services/kopete_aim.desktop %files protocol-gg %defattr(644,root,root,755) %{_libdir}/kde3/kopete*gadu*.la %attr(755,root,root) %{_libdir}/kde3/kopete*gadu*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/gadu* %{_datadir}/apps/kopete/icons/crystalsvg/*/*/gg* %{_datadir}/services/kopete_gadu.desktop %files protocol-groupwise %defattr(644,root,root,755) %{_libdir}/kde3/kopete*groupwise*.la %attr(755,root,root) %{_libdir}/kde3/kopete*groupwise*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/groupwise* %{_datadir}/apps/kopete_groupwise %{_datadir}/services/kopete_groupwise.desktop %files protocol-icq %defattr(644,root,root,755) %{_libdir}/kde3/kopete*icq*.la %attr(755,root,root) %{_libdir}/kde3/kopete*icq*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/*icq* %{_datadir}/apps/kopete/icons/hicolor/*/*/*icq* %{_datadir}/services/kopete_icq.desktop %files protocol-irc %defattr(644,root,root,755) %{_libdir}/kde3/kopete*irc*.la %attr(755,root,root) %{_libdir}/kde3/kopete*irc*.so %{_datadir}/apps/kopete/ircnetworks.xml %{_datadir}/apps/kopete/icons/crystalsvg/*/*/irc* %{_datadir}/services/kopete_irc.desktop %{_datadir}/services/irc.protocol %files protocol-jabber %defattr(644,root,root,755) %{_libdir}/kde3/kopete*jabber*.la %attr(755,root,root) %{_libdir}/kde3/kopete*jabber*.so %{_iconsdir}/*/*/*/jabber* %{_libdir}/kde3/kio_jabberdisco.la %attr(755,root,root) %{_libdir}/kde3/kio_jabberdisco.so %{_datadir}/apps/kopete_jabber %{_datadir}/services/jabberdisco.protocol %{_datadir}/services/kopete_jabber.desktop %if %{with meanwhile} %files protocol-meanwhile %defattr(644,root,root,755) %{_libdir}/kde3/kopete*meanwhile*.la %attr(755,root,root) %{_libdir}/kde3/kopete*meanwhile*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/meanwhile* %{_datadir}/services/kopete_meanwhile.desktop %endif %files protocol-msn %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_msn.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_msn.so %{_libdir}/kde3/kopete*msn*.la %attr(755,root,root) %{_libdir}/kde3/kopete*msn*.so %{_libdir}/kde3/kopete_netmeeting.la %attr(755,root,root) %{_libdir}/kde3/kopete_netmeeting.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/msn* %{_datadir}/apps/kopete_msn %{_datadir}/apps/kopete_netmeeting %{_datadir}/services/kconfiguredialog/kopete_msn_config.desktop %{_datadir}/services/kconfiguredialog/kopete_netmeeting_config.desktop %{_datadir}/services/kopete_msn.desktop %{_datadir}/services/kopete_netmeeting.desktop %if %{with smsgsm} %files protocol-sms %defattr(644,root,root,755) %{_libdir}/kde3/kopete*sms*.la %attr(755,root,root) %{_libdir}/kde3/kopete*sms*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/sms* %{_datadir}/services/kopete_sms.desktop %endif %if %{with winpopup} %files protocol-winpopup %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/winpopup*.sh %{_libdir}/kde3/kopete*wp*.la %attr(755,root,root) %{_libdir}/kde3/kopete*wp*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/wp* %{_datadir}/services/kopete_wp.desktop %endif %files protocol-yahoo %defattr(644,root,root,755) %{_libdir}/kde3/kopete_yahoo.la %attr(755,root,root) %{_libdir}/kde3/kopete_yahoo.so %{_datadir}/apps/kopete_yahoo %{_datadir}/apps/kopete/icons/*/*/*/yahoo* %{_datadir}/services/kopete_yahoo.desktop %files tool-alias %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_alias.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_alias.so %{_libdir}/kde3/kopete_alias.la %attr(755,root,root) %{_libdir}/kde3/kopete_alias.so %{_datadir}/services/kconfiguredialog/kopete_alias_config.desktop %{_datadir}/services/kopete_alias.desktop %files tool-autoreplace %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_autoreplace.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_autoreplace.so %{_libdir}/kde3/kopete*autoreplace*.la %attr(755,root,root) %{_libdir}/kde3/kopete*autoreplace*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/autoreplace.png %{_datadir}/services/kopete_autoreplace.desktop %{_datadir}/services/kconfiguredialog/kopete_autoreplace_config.desktop %files tool-avdeviceconfig %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_avdeviceconfig.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_avdeviceconfig.so %{_datadir}/services/kopete_avdeviceconfig.desktop %{_datadir}/apps/kopete/icons/*/*/*/kopete_avdevice.png %files tool-connectionstatus %defattr(644,root,root,755) %{_libdir}/kde3/kopete*connectionstatus*.la %attr(755,root,root) %{_libdir}/kde3/kopete*connectionstatus*.so %{_datadir}/services/kopete_connectionstatus.desktop %files tool-contactnotes %defattr(644,root,root,755) %{_libdir}/kde3/kopete*contactnotes*.la %attr(755,root,root) %{_libdir}/kde3/kopete*contactnotes*.so %{_datadir}/apps/kopete_contactnotes %{_datadir}/services/kopete_contactnotes.desktop %files tool-cryptography %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_cryptography.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_cryptography.so %{_libdir}/kde3/kopete*cryptography*.la %attr(755,root,root) %{_libdir}/kde3/kopete*cryptography*.so %{_datadir}/apps/kopete_cryptography %{_datadir}/services/kopete_cryptography.desktop %{_datadir}/services/kconfiguredialog/kopete_cryptography_config.desktop %files tool-latex %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/kopete_latexconvert.sh %{_libdir}/kde3/kcm_kopete_latex.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_latex.so %{_libdir}/kde3/kopete_latex.la %attr(755,root,root) %{_libdir}/kde3/kopete_latex.so %{_datadir}/apps/kopete/icons/crystalsvg/32x32/apps/latex.png %{_datadir}/config.kcfg/latexconfig.kcfg %{_datadir}/apps/kopete_latex %{_datadir}/services/kconfiguredialog/kopete_addbookmarks_config.desktop %{_datadir}/services/kconfiguredialog/kopete_latex_config.desktop %{_datadir}/services/kopete_latex.desktop %files tool-highlight %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_highlight.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_highlight.so %{_libdir}/kde3/kopete*highlight*.la %attr(755,root,root) %{_libdir}/kde3/kopete*highlight*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/highlight.png %{_datadir}/services/kopete_highlight.desktop %{_datadir}/services/kconfiguredialog/kopete_highlight_config.desktop %files tool-history %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_history.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_history.so %{_libdir}/kde3/kopete*history*.la %attr(755,root,root) %{_libdir}/kde3/kopete*history*.so %{_datadir}/apps/kopete_history %{_datadir}/config.kcfg/historyconfig.kcfg %{_datadir}/services/kopete_history.desktop %{_datadir}/services/kconfiguredialog/kopete_history_config.desktop %files tool-nowlistening %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_nowlistening.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_nowlistening.so %{_libdir}/kde3/kopete*nowlistening*.la %attr(755,root,root) %{_libdir}/kde3/kopete*nowlistening*.so %{_datadir}/config.kcfg/nowlisteningconfig.kcfg %{_datadir}/services/kconfiguredialog/kopete_nowlistening_config.desktop %{_datadir}/services/kopete_nowlistening.desktop %if %{with smpppd} %files tool-smpppdcs %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_smpppdcs.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_smpppdcs.so %{_libdir}/kde3/kopete*smpppdcs*.la %attr(755,root,root) %{_libdir}/kde3/kopete*smpppdcs*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/smpppdcs.png %{_datadir}/config.kcfg/smpppdcs.kcfg %{_datadir}/services/kconfiguredialog/kopete_smpppdcs_config.desktop %{_datadir}/services/kopete_smpppdcs.desktop %endif %files tool-texteffect %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_texteffect.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_texteffect.so %{_libdir}/kde3/kopete*texteffect*.la %attr(755,root,root) %{_libdir}/kde3/kopete*texteffect*.so %{_datadir}/apps/kopete/icons/crystalsvg/*/*/texteffect.png %{_datadir}/services/kconfiguredialog/kopete_texteffect_config.desktop %{_datadir}/services/kopete_texteffect.desktop %files tool-translator %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_translator.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_translator.so %{_libdir}/kde3/kopete*translator*.la %attr(755,root,root) %{_libdir}/kde3/kopete*translator*.so %{_datadir}/apps/kopete_translator %{_datadir}/services/kconfiguredialog/kopete_translator_config.desktop %{_datadir}/services/kopete_translator.desktop %files tool-webpresence %defattr(644,root,root,755) %{_libdir}/kde3/kcm_kopete_webpresence.la %attr(755,root,root) %{_libdir}/kde3/kcm_kopete_webpresence.so %{_libdir}/kde3/kopete*webpresence*.la %attr(755,root,root) %{_libdir}/kde3/kopete*webpresence*.so %{_datadir}/apps/kopete/webpresence %{_datadir}/services/kconfiguredialog/kopete_webpresence_config.desktop %{_datadir}/services/kopete_webpresence.desktop %files libkopete %defattr(644,root,root,755) %{_libdir}/libkopete.la %attr(755,root,root) %{_libdir}/libkopete.so.*.*.* %files libkopete_videodevice %defattr(644,root,root,755) %{_libdir}/libkopete_videodevice.la %attr(755,root,root) %{_libdir}/libkopete_videodevice.so.*.*.* %files libkopete_msn %defattr(644,root,root,755) %{_libdir}/libkopete_msn_shared.la %attr(755,root,root) %{_libdir}/libkopete_msn_shared.so.*.*.* %files libkopete_oscar %defattr(644,root,root,755) %{_libdir}/libkopete_oscar.la %attr(755,root,root) %{_libdir}/libkopete_oscar.so.*.*.*