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