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