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