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