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