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