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