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