2 # - add missing obsoletes and such
8 Summary: Multi-protocol plugin-based instant messenger
9 Summary(pl.UTF-8): Komunikator obsługujący wiele protokołów
14 Group: X11/Applications
15 Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
16 # Source0-md5: d05e478101292ebb08da2af00d1329ab
17 Patch0: %{name}-FindLibgadu.patch
18 Patch1: linphone-fix.patch
19 Patch2: mediastreamer.patch
20 URL: http://www.kde.org/
21 BuildRequires: cmake >= 2.8.0
22 BuildRequires: kde4-kdebase-devel >= %{version}
23 BuildRequires: kde4-kdepim-devel >= 4.14.0-2
24 BuildRequires: kde4-kdepimlibs-devel >= 4.14.0-2
25 BuildRequires: jsoncpp-devel
26 BuildRequires: libgadu-devel >= 1.8.0
27 BuildRequires: libktorrent-devel >= 1.0.2
28 BuildRequires: libjingle-devel
29 BuildRequires: libmms-devel
30 BuildRequires: libmsn-devel >= 4.1
31 BuildRequires: libotr-devel >= 4.0.0
32 BuildRequires: mediastreamer-devel >= 2.3.0
33 BuildRequires: openssl-devel >= 0.9.7d
34 BuildRequires: ortp-devel >= 0.16.1-3
35 BuildRequires: qimageblitz-devel
36 BuildRequires: qt4-build >= %{qtver}
37 BuildRequires: qt4-qmake >= %{qtver}
38 BuildRequires: rpm-pythonprov
39 BuildRequires: rpmbuild(macros) >= 1.600
40 BuildRequires: speex-devel
41 BuildRequires: telepathy-qt4-devel >= 0.9.0
42 BuildRequires: xmms-devel
43 BuildRequires: xorg-lib-libXdamage-devel
44 BuildRequires: xorg-lib-libXtst-devel
45 Obsoletes: kde4-kdenetwork-kopete
46 Obsoletes: kde4-kdenetwork-kopete-protocol-aim
47 Obsoletes: kde4-kdenetwork-kopete-protocol-bonjour
48 Obsoletes: kde4-kdenetwork-kopete-protocol-gg
49 Obsoletes: kde4-kdenetwork-kopete-protocol-groupwise
50 Obsoletes: kde4-kdenetwork-kopete-protocol-icq
51 Obsoletes: kde4-kdenetwork-kopete-protocol-jabber
52 Obsoletes: kde4-kdenetwork-kopete-protocol-meanwhile
53 Obsoletes: kde4-kdenetwork-kopete-protocol-skype
54 Obsoletes: kde4-kdenetwork-kopete-protocol-sms
55 Obsoletes: kde4-kdenetwork-kopete-protocol-winpopup
56 Obsoletes: kde4-kdenetwork-kopete-protocol-wlm
57 Obsoletes: kde4-kdenetwork-kopete-protocol-yahoo
58 Obsoletes: kde4-kdenetwork-kopete-tool-autoreplace
59 Obsoletes: kde4-kdenetwork-kopete-tool-avdeviceconfig
60 Obsoletes: kde4-kdenetwork-kopete-tool-contactnotes
61 Obsoletes: kde4-kdenetwork-kopete-tool-highlight
62 Obsoletes: kde4-kdenetwork-kopete-tool-history
63 Obsoletes: kde4-kdenetwork-kopete-tool-latex
64 Obsoletes: kde4-kdenetwork-kopete-tool-nowlistening
65 Obsoletes: kde4-kdenetwork-kopete-tool-texteffect
66 Obsoletes: kde4-kdenetwork-kopete-tool-translator
67 Obsoletes: kde4-kdenetwork-kopete-tool-webpresence
68 Obsoletes: kde4-kdenetwork-libkopete
69 Obsoletes: kde4-kdenetwork-libkopete_oscar
70 Obsoletes: kde4-kdenetwork-libkopete_otr
71 Obsoletes: kde4-kdenetwork-libkopete_videodevice
73 Obsoletes: kopete-plugin-protocols-aim
74 Obsoletes: kopete-plugin-protocols-gg
75 Obsoletes: kopete-plugin-protocols-icq
76 Obsoletes: kopete-plugin-protocols-irc
77 Obsoletes: kopete-plugin-protocols-jabber
78 Obsoletes: kopete-plugin-protocols-msn
79 Obsoletes: kopete-plugin-protocols-oscar
80 Obsoletes: kopete-plugin-protocols-sms
81 Obsoletes: kopete-plugin-protocols-winpopup
82 Obsoletes: kopete-plugin-protocols-yahoo
83 Obsoletes: kopete-plugin-tools-autoaway
84 Obsoletes: kopete-plugin-tools-autoreplace
85 Obsoletes: kopete-plugin-tools-conectionstatus
86 Obsoletes: kopete-plugin-tools-contactnotes
87 Obsoletes: kopete-plugin-tools-cryptography
88 Obsoletes: kopete-plugin-tools-highlight
89 Obsoletes: kopete-plugin-tools-history
90 Obsoletes: kopete-plugin-tools-importer
91 Obsoletes: kopete-plugin-tools-motionaway
92 Obsoletes: kopete-plugin-tools-nowlistening
93 Obsoletes: kopete-plugin-tools-spellcheck
94 Obsoletes: kopete-plugin-tools-texteffect
95 Obsoletes: kopete-plugin-tools-translator
96 Obsoletes: kopete-plugin-tools-webpresence
97 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
100 Kopete is a flexible and extendable multiple protocol instant
101 messaging system designed as a plugin-based system. All protocols are
102 plugins and allow modular installment, configuration, and usage
103 without the main application knowing anything about the plugin being
104 loaded. The goal of Kopete is to provide users with a standard and
105 easy to use interface between all of their instant messaging systems,
106 but at the same time also providing developers with the ease of
107 writing plugins to support a new protocol. The core Kopete development
108 team provides a handful of plugins that most users can use, in
109 addition to templates for new developers to base a plugin off of.
111 %description -l pl.UTF-8
112 Kopete to rozszerzalny i rozbudowywalny komunikator obsługujący wiele
113 protokołów, zaprojektowany w oparciu o wtyczki. Wszystkie protokoły są
114 wtyczkami, co pozwala na modularną instalację, konfigurację i używanie
115 bez potrzeby obsługi ładowanych wtyczek w głównej aplikacji. Celem
116 Kopete jest wyposażenie użytkowników w standardowy i łatwy w użyciu
117 interfejs pomiędzy wszystkimi systemami komunikatorów, a jednocześnie
118 zapewnienie programistom łatwości pisania wtyczek obsługujących nowe
119 protokoły. Załoga programistów Kopete udostępnia podręczny zestaw
120 wtyczek używanych przez większość użytkowników oraz szablony dla
121 nowych programistów, na których można opierać nowe wtyczki.
124 Summary: kopete header files
125 Summary(pl.UTF-8): Pliki nagłówkowe kopete
126 Group: X11/Development/Libraries
127 Requires: %{name} = %{version}-%{release}
128 Requires: kde4-kdelibs-devel >= %{version}
133 %description devel -l pl.UTF-8
134 Pliki nagłówkowe kopete.
136 %description devel -l pt_BR.UTF-8
137 Arquivos de inclusão para compilar aplicações que usem as bibliotecas
141 %setup -q -n %{orgname}-%{version}
150 -DMOZPLUGIN_INSTALL_DIR=%{_browserpluginsdir} \
156 rm -rf $RPM_BUILD_ROOT
158 %{__make} -C build install \
159 DESTDIR=$RPM_BUILD_ROOT \
160 kde_htmldir=%{_kdedocdir}
162 %find_lang kopete --with-kde
165 rm -rf $RPM_BUILD_ROOT
169 %update_browser_plugins
173 if [ "$1" = 0 ]; then
174 %update_browser_plugins
177 %files -f kopete.lang
178 %defattr(644,root,root,755)
179 %attr(755,root,root) %{_bindir}/libjingle-call
180 %attr(755,root,root) %{_bindir}/kopete
181 %attr(755,root,root) %{_bindir}/kopete_latexconvert.sh
182 %attr(755,root,root) %{_bindir}/winpopup-install
183 %attr(755,root,root) %{_bindir}/winpopup-send
184 %attr(755,root,root) %{_libdir}/kde4/kcm_kopete_*.so
185 %attr(755,root,root) %{_libdir}/kde4/kopete_*.so
186 %attr(755,root,root) %{_libdir}/kde4/libchattexteditpart.so
187 %attr(755,root,root) %{_libdir}/kde4/plugins/accessible/chatwindowaccessiblewidgetfactory.so
188 %attr(755,root,root) %{_libdir}/libkopete*.so.*.*
189 %attr(755,root,root) %ghost %{_libdir}/libkopete*.so.?
190 %attr(755,root,root) %{_libdir}/libkyahoo.so.*.*
191 %attr(755,root,root) %ghost %{_libdir}/libkyahoo.so.1
192 %attr(755,root,root) %{_libdir}/liboscar.so.*.*
193 %attr(755,root,root) %ghost %{_libdir}/liboscar.so.1
194 %attr(755,root,root) %{_libdir}/libqgroupwise.so
195 %{_desktopdir}/kde4/kopete.desktop
196 %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-*.pl
197 %attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-*.sh
198 %{_datadir}/apps/kconf_update/kopete-*.upd
199 %{_datadir}/apps/kopete*
200 %{_datadir}/config.kcfg/*.kcfg
201 %{_datadir}/config/kopeterc
202 %{_datadir}/dbus-1/interfaces/*Kopete.xml
203 %{_datadir}/dbus-1/interfaces/*kopete*.xml
204 %{_iconsdir}/*/*/*/*.mng
205 %{_iconsdir}/*/*/*/*.png
206 %{_iconsdir}/*/*/*/*.svgz
207 %{_datadir}/kde4/services/*.protocol
208 %{_datadir}/kde4/services/*.desktop
209 %{_datadir}/kde4/services/kconfiguredialog
210 %{_datadir}/kde4/servicetypes/*.desktop
211 %{_datadir}/sounds/Kopete*.ogg
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_libdir}/libkopete*.so
216 %attr(755,root,root) %{_libdir}/libkyahoo.so
217 %attr(755,root,root) %{_libdir}/liboscar.so
218 %{_includedir}/kopete