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