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