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