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