]> git.pld-linux.org Git - packages/kde4-kopete.git/blame - kde4-kopete.spec
- initial
[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
11Version: 4.11.3
12Release: 1
13License: GPL v2+
14Group: X11/Applications
15Source0: ftp://ftp.kde.org/pub/kde/%{_state}/%{version}/src/%{orgname}-%{version}.tar.xz
16# Source0-md5: cf98891ab800ff565b8077bfd6f2e498
17Patch0: %{name}-FindLibgadu.patch
18Patch1: linphone-fix.patch
19Patch2: otr.patch
20URL: http://www.kde.org/
21BuildRequires: cmake >= 2.8.0
22BuildRequires: kde4-kdebase-devel >= %{version}
23BuildRequires: libgadu-devel >= 1.8.0
24BuildRequires: libktorrent-devel >= 1.0.2
25BuildRequires: libmms-devel
26BuildRequires: libmsn-devel >= 4.1
27BuildRequires: libotr-devel >= 4.0.0
28BuildRequires: openssl-devel >= 0.9.7d
29BuildRequires: ortp-devel >= 0.16.1-3
30BuildRequires: qt4-build >= %{qtver}
31BuildRequires: qt4-qmake >= %{qtver}
32BuildRequires: rpm-pythonprov
33BuildRequires: rpmbuild(macros) >= 1.600
34BuildRequires: speex-devel
35BuildRequires: telepathy-qt4-devel >= 0.9.0
36BuildRequires: xmms-devel
37BuildRequires: xorg-lib-libXdamage-devel
38BuildRequires: xorg-lib-libXtst-devel
39Obsoletes: kde4-kdenetwork-kopete
40Obsoletes: kde4-kdenetwork-kopete-protocol-aim
41Obsoletes: kde4-kdenetwork-kopete-protocol-bonjour
42Obsoletes: kde4-kdenetwork-kopete-protocol-gg
43Obsoletes: kde4-kdenetwork-kopete-protocol-groupwise
44Obsoletes: kde4-kdenetwork-kopete-protocol-icq
45Obsoletes: kde4-kdenetwork-kopete-protocol-jabber
46Obsoletes: kde4-kdenetwork-kopete-protocol-meanwhile
47Obsoletes: kde4-kdenetwork-kopete-protocol-skype
48Obsoletes: kde4-kdenetwork-kopete-protocol-sms
49Obsoletes: kde4-kdenetwork-kopete-protocol-winpopup
50Obsoletes: kde4-kdenetwork-kopete-protocol-wlm
51Obsoletes: kde4-kdenetwork-kopete-protocol-yahoo
52Obsoletes: kde4-kdenetwork-kopete-tool-autoreplace
53Obsoletes: kde4-kdenetwork-kopete-tool-avdeviceconfig
54Obsoletes: kde4-kdenetwork-kopete-tool-contactnotes
55Obsoletes: kde4-kdenetwork-kopete-tool-highlight
56Obsoletes: kde4-kdenetwork-kopete-tool-history
57Obsoletes: kde4-kdenetwork-kopete-tool-latex
58Obsoletes: kde4-kdenetwork-kopete-tool-nowlistening
59Obsoletes: kde4-kdenetwork-kopete-tool-texteffect
60Obsoletes: kde4-kdenetwork-kopete-tool-translator
61Obsoletes: kde4-kdenetwork-kopete-tool-webpresence
62Obsoletes: kde4-kdenetwork-libkopete
63Obsoletes: kde4-kdenetwork-libkopete_oscar
64Obsoletes: kde4-kdenetwork-libkopete_otr
65Obsoletes: kde4-kdenetwork-libkopete_videodevice
66Obsoletes: kopete
67Obsoletes: kopete-plugin-protocols-aim
68Obsoletes: kopete-plugin-protocols-gg
69Obsoletes: kopete-plugin-protocols-icq
70Obsoletes: kopete-plugin-protocols-irc
71Obsoletes: kopete-plugin-protocols-jabber
72Obsoletes: kopete-plugin-protocols-msn
73Obsoletes: kopete-plugin-protocols-oscar
74Obsoletes: kopete-plugin-protocols-sms
75Obsoletes: kopete-plugin-protocols-winpopup
76Obsoletes: kopete-plugin-protocols-yahoo
77Obsoletes: kopete-plugin-tools-autoaway
78Obsoletes: kopete-plugin-tools-autoreplace
79Obsoletes: kopete-plugin-tools-conectionstatus
80Obsoletes: kopete-plugin-tools-contactnotes
81Obsoletes: kopete-plugin-tools-cryptography
82Obsoletes: kopete-plugin-tools-highlight
83Obsoletes: kopete-plugin-tools-history
84Obsoletes: kopete-plugin-tools-importer
85Obsoletes: kopete-plugin-tools-motionaway
86Obsoletes: kopete-plugin-tools-nowlistening
87Obsoletes: kopete-plugin-tools-spellcheck
88Obsoletes: kopete-plugin-tools-texteffect
89Obsoletes: kopete-plugin-tools-translator
90Obsoletes: kopete-plugin-tools-webpresence
91BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
92
93%description
94Kopete is a flexible and extendable multiple protocol instant
95messaging system designed as a plugin-based system. All protocols are
96plugins and allow modular installment, configuration, and usage
97without the main application knowing anything about the plugin being
98loaded. The goal of Kopete is to provide users with a standard and
99easy to use interface between all of their instant messaging systems,
100but at the same time also providing developers with the ease of
101writing plugins to support a new protocol. The core Kopete development
102team provides a handful of plugins that most users can use, in
103addition to templates for new developers to base a plugin off of.
104
105%description -l pl.UTF-8
106Kopete to rozszerzalny i rozbudowywalny komunikator obsługujący wiele
107protokołów, zaprojektowany w oparciu o wtyczki. Wszystkie protokoły są
108wtyczkami, co pozwala na modularną instalację, konfigurację i używanie
109bez potrzeby obsługi ładowanych wtyczek w głównej aplikacji. Celem
110Kopete jest wyposażenie użytkowników w standardowy i łatwy w użyciu
111interfejs pomiędzy wszystkimi systemami komunikatorów, a jednocześnie
112zapewnienie programistom łatwości pisania wtyczek obsługujących nowe
113protokoły. Załoga programistów Kopete udostępnia podręczny zestaw
114wtyczek używanych przez większość użytkowników oraz szablony dla
115nowych programistów, na których można opierać nowe wtyczki.
116
117%package devel
118Summary: kopete header files
119Summary(pl.UTF-8): Pliki nagłówkowe kopete
120Group: X11/Development/Libraries
121Requires: %{name} = %{version}-%{release}
122Requires: kde4-kdelibs-devel >= %{version}
123
124%description devel
125kopete header files.
126
127%description devel -l pl.UTF-8
128Pliki nagłówkowe kopete.
129
130%description devel -l pt_BR.UTF-8
131Arquivos de inclusão para compilar aplicações que usem as bibliotecas
132do kopete.
133
134%prep
135%setup -q -n %{orgname}-%{version}
136%patch0 -p1
137%patch1 -p2
138%patch2 -p2
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
188%{_desktopdir}/kde4/kopete.desktop
189%attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-*.pl
190%attr(755,root,root) %{_datadir}/apps/kconf_update/kopete-*.sh
191%{_datadir}/apps/kconf_update/kopete-*.upd
192%{_datadir}/apps/kopete*
193%{_datadir}/config.kcfg/*.kcfg
194%{_datadir}/config/kopeterc
195%{_datadir}/dbus-1/interfaces/*Kopete.xml
196%{_datadir}/dbus-1/interfaces/*kopete*.xml
197%{_iconsdir}/*/*/*/*.mng
198%{_iconsdir}/*/*/*/*.png
199%{_iconsdir}/*/*/*/*.svgz
200%{_datadir}/kde4/services/*.protocol
201%{_datadir}/kde4/services/*.desktop
202%{_datadir}/kde4/services/kconfiguredialog/*.desktop
203%{_datadir}/kde4/servicetypes/*.desktop
204%{_datadir}/sounds/Kopete*.ogg
205
206%files devel
207%defattr(644,root,root,755)
208%attr(755,root,root) %{_libdir}/lib*.so
209%{_includedir}/kopete
This page took 0.768896 seconds and 4 git commands to generate.