]> git.pld-linux.org Git - packages/kde4-kopete.git/blame - kde4-kopete.spec
- clarified app vs library License, package COPYING with licensing notes (and also...
[packages/kde4-kopete.git] / kde4-kopete.spec
CommitLineData
a28bb935
AM
1%define _state stable
2%define orgname kopete
4f178157 3%define qt_ver 4.8.3
a28bb935
AM
4
5Summary: Multi-protocol plugin-based instant messenger
6Summary(pl.UTF-8): Komunikator obsługujący wiele protokołów
7Name: kde4-kopete
96eaaf96 8Version: 4.14.3
c3a229cb 9Release: 12
0e56b6cd 10License: GPL v2+ with OpenSSL exception (kopete), LGPL v2+ (libkopete)
a28bb935 11Group: X11/Applications
ee799ba8 12Source0: http://download.kde.org/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
96eaaf96 13# Source0-md5: d05e478101292ebb08da2af00d1329ab
a28bb935 14Patch0: %{name}-FindLibgadu.patch
d029bc51 15Patch2: mediastreamer.patch
0d3c19fc 16Patch3: gcc6.patch
7735a671 17Patch4: macros.patch
a06ed8e5 18Patch5: %{name}-qt.patch
a28bb935 19URL: http://www.kde.org/
8a3531f2 20BuildRequires: automoc4
a28bb935
AM
21BuildRequires: cmake >= 2.8.0
22BuildRequires: kde4-kdebase-devel >= %{version}
ee799ba8 23BuildRequires: kde4-kdepim-devel >= 4.14.0-2
7c7997aa 24BuildRequires: kde4-kdepimlibs-devel >= 4.14.0-2
a06c6c46 25BuildRequires: jsoncpp-devel
a28bb935
AM
26BuildRequires: libgadu-devel >= 1.8.0
27BuildRequires: libktorrent-devel >= 1.0.2
28BuildRequires: libmms-devel
29BuildRequires: libmsn-devel >= 4.1
30BuildRequires: libotr-devel >= 4.0.0
0a001c9e 31BuildRequires: meanwhile-devel
ada7d843 32BuildRequires: mediastreamer-devel >= 2.3.0
a28bb935
AM
33BuildRequires: openssl-devel >= 0.9.7d
34BuildRequires: ortp-devel >= 0.16.1-3
307fcd80 35BuildRequires: qca-devel >= 2.0.0
677cceb7 36BuildRequires: qimageblitz-devel
4f178157
JB
37BuildRequires: qt4-build >= %{qt_ver}
38BuildRequires: qt4-qmake >= %{qt_ver}
a28bb935
AM
39BuildRequires: rpm-pythonprov
40BuildRequires: rpmbuild(macros) >= 1.600
41BuildRequires: speex-devel
42BuildRequires: telepathy-qt4-devel >= 0.9.0
43BuildRequires: xmms-devel
44BuildRequires: xorg-lib-libXdamage-devel
45BuildRequires: xorg-lib-libXtst-devel
3fa5b220
JB
46Obsoletes: kde4-kdenetwork-kopete < 4.11
47Obsoletes: kde4-kdenetwork-kopete-protocol-aim < 4.11
48Obsoletes: kde4-kdenetwork-kopete-protocol-bonjour < 4.11
49Obsoletes: kde4-kdenetwork-kopete-protocol-gg < 4.11
50Obsoletes: kde4-kdenetwork-kopete-protocol-groupwise < 4.11
51Obsoletes: kde4-kdenetwork-kopete-protocol-icq < 4.11
52Obsoletes: kde4-kdenetwork-kopete-protocol-jabber < 4.11
53Obsoletes: kde4-kdenetwork-kopete-protocol-meanwhile < 4.11
54Obsoletes: kde4-kdenetwork-kopete-protocol-msn < 4.11
55Obsoletes: kde4-kdenetwork-kopete-protocol-skype < 4.11
56Obsoletes: kde4-kdenetwork-kopete-protocol-sms < 4.11
57Obsoletes: kde4-kdenetwork-kopete-protocol-testbed < 4.11
58Obsoletes: kde4-kdenetwork-kopete-protocol-winpopup < 4.11
59Obsoletes: kde4-kdenetwork-kopete-protocol-wlm < 4.11
60Obsoletes: kde4-kdenetwork-kopete-protocol-yahoo < 4.11
61Obsoletes: kde4-kdenetwork-kopete-tool-alias < 4.11
62Obsoletes: kde4-kdenetwork-kopete-tool-autoaway < 4.11
63Obsoletes: kde4-kdenetwork-kopete-tool-autoreplace < 4.11
64Obsoletes: kde4-kdenetwork-kopete-tool-avdeviceconfig < 4.11
65Obsoletes: kde4-kdenetwork-kopete-tool-contactnotes < 4.11
66Obsoletes: kde4-kdenetwork-kopete-tool-highlight < 4.11
67Obsoletes: kde4-kdenetwork-kopete-tool-history < 4.11
68Obsoletes: kde4-kdenetwork-kopete-tool-importer < 4.11
69Obsoletes: kde4-kdenetwork-kopete-tool-latex < 4.11
70Obsoletes: kde4-kdenetwork-kopete-tool-motionaway < 4.11
71Obsoletes: kde4-kdenetwork-kopete-tool-nowlistening < 4.11
72Obsoletes: kde4-kdenetwork-kopete-tool-spellcheck < 4.11
73Obsoletes: kde4-kdenetwork-kopete-tool-texteffect < 4.11
74Obsoletes: kde4-kdenetwork-kopete-tool-translator < 4.11
75Obsoletes: kde4-kdenetwork-kopete-tool-webpresence < 4.11
76Obsoletes: kde4-kdenetwork-libkopete < 4.11
77Obsoletes: kde4-kdenetwork-libkopete_oscar < 4.11
78Obsoletes: kde4-kdenetwork-libkopete_otr < 4.11
79Obsoletes: kde4-kdenetwork-libkopete_videodevice < 4.11
80Obsoletes: kdenetwork-libkopete < 10:4
81Obsoletes: kdenetwork-libkopete_msn < 10:4
82Obsoletes: kdenetwork-libkopete_videodevice < 10:4
83Obsoletes: kdenetwork-libkopete_oscar < 10:4
84Obsoletes: kdenetwork-kopete < 10:4
85Obsoletes: kdenetwork-kopete-protocol-aim < 10:4
86Obsoletes: kdenetwork-kopete-protocol-gg < 10:4
87Obsoletes: kdenetwork-kopete-protocol-groupwise < 10:4
88Obsoletes: kdenetwork-kopete-protocol-icq < 10:4
89Obsoletes: kdenetwork-kopete-protocol-irc < 10:4
90Obsoletes: kdenetwork-kopete-protocol-jabber < 10:4
91Obsoletes: kdenetwork-kopete-protocol-meanwhile < 10:4
92Obsoletes: kdenetwork-kopete-protocol-msn < 10:4
93Obsoletes: kdenetwork-kopete-protocol-skype < 10:4
94Obsoletes: kdenetwork-kopete-protocol-sms < 10:4
95Obsoletes: kdenetwork-kopete-protocol-winpopup < 10:4
96Obsoletes: kdenetwork-kopete-protocol-yahoo < 10:4
97Obsoletes: kdenetwork-kopete-protocol-testbed < 10:4
98Obsoletes: kdenetwork-kopete-tool-alias < 10:4
99Obsoletes: kdenetwork-kopete-tool-autoaway < 10:4
100Obsoletes: kdenetwork-kopete-tool-autoreplace < 10:4
101Obsoletes: kdenetwork-kopete-tool-avdeviceconfig < 10:4
102Obsoletes: kdenetwork-kopete-tool-conectionstatus < 10:4
103Obsoletes: kdenetwork-kopete-tool-contactnotes < 10:4
104Obsoletes: kdenetwork-kopete-tool-cryptography < 10:4
105Obsoletes: kdenetwork-kopete-tool-highlight < 10:4
106Obsoletes: kdenetwork-kopete-tool-history < 10:4
107Obsoletes: kdenetwork-kopete-tool-importer < 10:4
108Obsoletes: kdenetwork-kopete-tool-latex < 10:4
109Obsoletes: kdenetwork-kopete-tool-motionaway < 10:4
110Obsoletes: kdenetwork-kopete-tool-nowlistening < 10:4
111Obsoletes: kdenetwork-kopete-tool-smpppdcs < 10:4
112Obsoletes: kdenetwork-kopete-tool-spellcheck < 10:4
113Obsoletes: kdenetwork-kopete-tool-texteffect < 10:4
114Obsoletes: kdenetwork-kopete-tool-translator < 10:4
115Obsoletes: kdenetwork-kopete-tool-webpresence < 10:4
116Obsoletes: kopete < 1
117Obsoletes: kopete-designer < 1
118Obsoletes: kopete-libkopete < 1
119Obsoletes: kopete-libkopete_msn < 1
120Obsoletes: kopete-libkopete_videodevice < 1
121Obsoletes: kopete-libkopete_oscar < 1
122Obsoletes: kopete-plugin-protocols-aim < 1
123Obsoletes: kopete-plugin-protocols-gg < 1
124Obsoletes: kopete-plugin-protocols-icq < 1
125Obsoletes: kopete-plugin-protocols-irc < 1
126Obsoletes: kopete-plugin-protocols-jabber < 1
127Obsoletes: kopete-plugin-protocols-msn < 1
128Obsoletes: kopete-plugin-protocols-oscar < 1
129Obsoletes: kopete-plugin-protocols-sms < 1
130Obsoletes: kopete-plugin-protocols-winpopup < 1
131Obsoletes: kopete-plugin-protocols-yahoo < 1
132Obsoletes: kopete-plugin-tools-autoaway < 1
133Obsoletes: kopete-plugin-tools-autoreplace < 1
134Obsoletes: kopete-plugin-tools-conectionstatus < 1
135Obsoletes: kopete-plugin-tools-contactnotes < 1
136Obsoletes: kopete-plugin-tools-cryptography < 1
137Obsoletes: kopete-plugin-tools-highlight < 1
138Obsoletes: kopete-plugin-tools-history < 1
139Obsoletes: kopete-plugin-tools-importer < 1
140Obsoletes: kopete-plugin-tools-motionaway < 1
141Obsoletes: kopete-plugin-tools-nowlistening < 1
142Obsoletes: kopete-plugin-tools-spellcheck < 1
143Obsoletes: kopete-plugin-tools-texteffect < 1
144Obsoletes: kopete-plugin-tools-translator < 1
145Obsoletes: kopete-plugin-tools-webpresence < 1
146Obsoletes: kopete-protocol-aim < 1
147Obsoletes: kopete-protocol-gg < 1
148Obsoletes: kopete-protocol-groupwise < 1
149Obsoletes: kopete-protocol-icq < 1
150Obsoletes: kopete-protocol-irc < 1
151Obsoletes: kopete-protocol-jabber < 1
152Obsoletes: kopete-protocol-meanwhile < 1
153Obsoletes: kopete-protocol-msn < 1
154Obsoletes: kopete-protocol-sms < 1
155Obsoletes: kopete-protocol-winpopup < 1
156Obsoletes: kopete-protocol-yahoo < 1
157Obsoletes: kopete-tool-alias < 1
158Obsoletes: kopete-tool-autoaway < 1
159Obsoletes: kopete-tool-autoreplace < 1
160Obsoletes: kopete-tool-avdeviceconfig < 1
161Obsoletes: kopete-tool-connectionstatus < 1
162Obsoletes: kopete-tool-contactnotes < 1
163Obsoletes: kopete-tool-cryptography < 1
164Obsoletes: kopete-tool-highlight < 1
165Obsoletes: kopete-tool-history < 1
166Obsoletes: kopete-tool-importer < 1
167Obsoletes: kopete-tool-latex < 1
168Obsoletes: kopete-tool-motionaway < 1
169Obsoletes: kopete-tool-nowlistening < 1
170Obsoletes: kopete-tool-smpppdcs < 1
171Obsoletes: kopete-tool-spellcheck < 1
172Obsoletes: kopete-tool-texteffect < 1
173Obsoletes: kopete-tool-translator < 1
174Obsoletes: kopete-tool-webpresence < 1
a28bb935
AM
175BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
176
177%description
178Kopete is a flexible and extendable multiple protocol instant
179messaging system designed as a plugin-based system. All protocols are
180plugins and allow modular installment, configuration, and usage
181without the main application knowing anything about the plugin being
182loaded. The goal of Kopete is to provide users with a standard and
183easy to use interface between all of their instant messaging systems,
184but at the same time also providing developers with the ease of
185writing plugins to support a new protocol. The core Kopete development
186team provides a handful of plugins that most users can use, in
187addition to templates for new developers to base a plugin off of.
188
189%description -l pl.UTF-8
190Kopete to rozszerzalny i rozbudowywalny komunikator obsługujący wiele
191protokołów, zaprojektowany w oparciu o wtyczki. Wszystkie protokoły są
192wtyczkami, co pozwala na modularną instalację, konfigurację i używanie
193bez potrzeby obsługi ładowanych wtyczek w głównej aplikacji. Celem
194Kopete jest wyposażenie użytkowników w standardowy i łatwy w użyciu
195interfejs pomiędzy wszystkimi systemami komunikatorów, a jednocześnie
196zapewnienie programistom łatwości pisania wtyczek obsługujących nowe
197protokoły. Załoga programistów Kopete udostępnia podręczny zestaw
198wtyczek używanych przez większość użytkowników oraz szablony dla
199nowych programistów, na których można opierać nowe wtyczki.
200
201%package devel
202Summary: kopete header files
203Summary(pl.UTF-8): Pliki nagłówkowe kopete
0e56b6cd 204License: LGPL v2+
a28bb935
AM
205Group: X11/Development/Libraries
206Requires: %{name} = %{version}-%{release}
207Requires: kde4-kdelibs-devel >= %{version}
3fa5b220 208Obsoletes: kopete-devel < 1
a28bb935
AM
209
210%description devel
211kopete header files.
212
213%description devel -l pl.UTF-8
214Pliki nagłówkowe kopete.
215
216%description devel -l pt_BR.UTF-8
217Arquivos de inclusão para compilar aplicações que usem as bibliotecas
218do kopete.
219
220%prep
221%setup -q -n %{orgname}-%{version}
222%patch0 -p1
d029bc51 223%patch2 -p1
0d3c19fc 224%patch3 -p1
7735a671 225%patch4 -p1
a06ed8e5 226%patch5 -p1
a28bb935
AM
227
228%build
229install -d build
230cd build
231%cmake \
7735a671 232 -DWITH_libjingle=OFF \
a28bb935
AM
233 -DMOZPLUGIN_INSTALL_DIR=%{_browserpluginsdir} \
234 ../
235
236%{__make}
237
238%install
239rm -rf $RPM_BUILD_ROOT
240
241%{__make} -C build install \
242 DESTDIR=$RPM_BUILD_ROOT \
243 kde_htmldir=%{_kdedocdir}
244
245%find_lang kopete --with-kde
246
247%clean
248rm -rf $RPM_BUILD_ROOT
249
250%post
251/sbin/ldconfig
252%update_browser_plugins
253
254%postun
255/sbin/ldconfig
256if [ "$1" = 0 ]; then
257 %update_browser_plugins
258fi
259
260%files -f kopete.lang
261%defattr(644,root,root,755)
0e56b6cd 262%doc COPYING README TODO
a28bb935
AM
263%attr(755,root,root) %{_bindir}/kopete
264%attr(755,root,root) %{_bindir}/kopete_latexconvert.sh
265%attr(755,root,root) %{_bindir}/winpopup-install
266%attr(755,root,root) %{_bindir}/winpopup-send
267%attr(755,root,root) %{_libdir}/kde4/kcm_kopete_*.so
268%attr(755,root,root) %{_libdir}/kde4/kopete_*.so
269%attr(755,root,root) %{_libdir}/kde4/libchattexteditpart.so
270%attr(755,root,root) %{_libdir}/kde4/plugins/accessible/chatwindowaccessiblewidgetfactory.so
271%attr(755,root,root) %{_libdir}/libkopete*.so.*.*
272%attr(755,root,root) %ghost %{_libdir}/libkopete*.so.?
273%attr(755,root,root) %{_libdir}/libkyahoo.so.*.*
274%attr(755,root,root) %ghost %{_libdir}/libkyahoo.so.1
275%attr(755,root,root) %{_libdir}/liboscar.so.*.*
276%attr(755,root,root) %ghost %{_libdir}/liboscar.so.1
a06c6c46 277%attr(755,root,root) %{_libdir}/libqgroupwise.so
a28bb935
AM
278%{_desktopdir}/kde4/kopete.desktop
279%attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-*.pl
280%attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-*.sh
281%{_datadir}/apps/kconf_update/kopete-*.upd
282%{_datadir}/apps/kopete*
283%{_datadir}/config.kcfg/*.kcfg
284%{_datadir}/config/kopeterc
285%{_datadir}/dbus-1/interfaces/*Kopete.xml
286%{_datadir}/dbus-1/interfaces/*kopete*.xml
287%{_iconsdir}/*/*/*/*.mng
288%{_iconsdir}/*/*/*/*.png
289%{_iconsdir}/*/*/*/*.svgz
290%{_datadir}/kde4/services/*.protocol
291%{_datadir}/kde4/services/*.desktop
a06c6c46 292%{_datadir}/kde4/services/kconfiguredialog
a28bb935
AM
293%{_datadir}/kde4/servicetypes/*.desktop
294%{_datadir}/sounds/Kopete*.ogg
295
296%files devel
297%defattr(644,root,root,755)
a06c6c46
WF
298%attr(755,root,root) %{_libdir}/libkopete*.so
299%attr(755,root,root) %{_libdir}/libkyahoo.so
300%attr(755,root,root) %{_libdir}/liboscar.so
a28bb935 301%{_includedir}/kopete
This page took 0.071974 seconds and 4 git commands to generate.