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