2 # Example SPEC file to generate a RPM for pidgin-sipe.
3 # It should work out-of-the-box on Fedora 10+ or RHEL5+.
6 #------------------------------- BUILD FROM GIT -------------------------------
7 # Add "--with git" to the rpmbuild command line to build from git
9 # Instructions how to access the repository: http://sipe.sourceforge.net/git/
11 # Run "./git-snapshot.sh ." in your local repository.
12 # Then update the following line from the generated archive name
13 %define git
20120905gitcc6065b
14 # Increment when you generate several RPMs on the same day...
16 #------------------------------- BUILD FROM GIT -------------------------------
19 %define purple_plugin purple
-sipe
20 %define telepathy_plugin telepathy
-sipe
21 %define common_files sipe
-common
22 %define empathy_files empathy
-sipe
23 %define ktp_files ktp
-accounts
-kcm
-sipe
24 %define pkg_group Applications
/Internet
27 Summary: Pidgin protocol plugin to connect to MS Office Communicator
30 Release: %{gitcount}.%{git}%{?dist}
31 Source: %{name}-%{git}.tar.bz2
32 # git package overrides official released package
36 Source: http
://downloads.sourceforge.net
/sipe
/%{name}-%{version}.tar.bz2
40 URL: http
://sipe.sourceforge.net
/
42 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n
)
44 BuildRequires
: libpurple
-devel
>= 2.4.0
45 BuildRequires
: glib2
-devel
>= 2.12.0
46 BuildRequires
: gmime
-devel
47 BuildRequires
: libxml2
-devel
48 BuildRequires
: nss
-devel
49 BuildRequires
: libtool
50 BuildRequires
: intltool
51 BuildRequires
: gettext
-devel
52 # Use "--with vv" to enable Voice & Video features
54 BuildRequires
: libpurple
-devel
>= 2.8.0
55 BuildRequires
: glib2
-devel
>= 2.28.0
56 BuildRequires
: libnice
-devel
>= 0.1.0
57 BuildRequires
: gstreamer
-devel
59 # Use "--without telepathy" to disable telepathy
60 %if !0%{?_without_telepathy:1}
61 BuildRequires
: telepathy
-glib
-devel
>= 0.18.0
62 BuildRequires
: glib2
-devel
>= 2.28.0
65 # Configurable components
66 # Use "--without kerberos" to disable krb5
67 %if !0%{?_without_kerberos:1}
68 BuildRequires
: krb5
-devel
71 Requires: %{purple_plugin} = %{?epoch:%{epoch}:}%{version}-%{release}
75 A third
-party plugin
for the Pidgin multi
-protocol instant messenger.
76 It implements the extended version of SIP
/SIMPLE used by various products
:
78 * Microsoft Lync Server
2010
79 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
80 * Microsoft Live Communications Server
(LCS
2003/2005)
83 With this plugin you should be able to replace your Microsoft Office
84 Communicator client with Pidgin.
86 This package provides the icon
set for Pidgin.
89 %package -n
%{purple_plugin}
90 Summary: Libpurple protocol plugin to connect to MS Office Communicator
93 Requires: %{common_files} = %{?epoch:%{epoch}:}%{version}-%{release}
95 %description -n
%{purple_plugin}
96 A third
-party plugin
for the Pidgin multi
-protocol instant messenger.
97 It implements the extended version of SIP
/SIMPLE used by various products
:
99 * Microsoft Lync Server
2010
100 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
101 * Microsoft Live Communications Server
(LCS
2003/2005)
104 This package provides the protocol plugin
for libpurple clients.
107 %if !0%{?_without_telepathy:1}
108 %package -n
%{empathy_files}
109 Summary: Telepathy connection manager to connect to MS Office Communicator
112 Requires: %{telepathy_plugin} = %{?epoch:%{epoch}:}%{version}-%{release}
114 %description -n
%{empathy_files}
115 A Telepathy connection manager that implements the extended version of
116 SIP
/SIMPLE used by various products
:
118 * Microsoft Lync Server
2010
119 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
120 * Microsoft Live Communications Server
(LCS
2003/2005)
123 This package provides the icon
set for Empathy.
126 %package -n
%{ktp_files}
127 Summary: Telepathy connection manager to connect to MS Office Communicator
130 Requires: %{telepathy_plugin} = %{?epoch:%{epoch}:}%{version}-%{release}
132 %description -n
%{ktp_files}
133 A Telepathy connection manager that implements the extended version of
134 SIP
/SIMPLE used by various products
:
136 * Microsoft Lync Server
2010
137 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
138 * Microsoft Live Communications Server
(LCS
2003/2005)
141 This package provides the profile
for KTP account manager.
144 %package -n
%{telepathy_plugin}
145 Summary: Telepathy connection manager to connect to MS Office Communicator
148 Requires: %{common_files} = %{?epoch:%{epoch}:}%{version}-%{release}
150 %description -n
%{telepathy_plugin}
151 A Telepathy connection manager that implements the extended version of
152 SIP
/SIMPLE used by various products
:
154 * Microsoft Lync Server
2010
155 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
156 * Microsoft Live Communications Server
(LCS
2003/2005)
159 This package provides the protocol support
for Telepathy clients.
163 %package -n
%{common_files}
164 Summary: Common files
for SIPE protocol plugins
169 %description -n
%{common_files}
170 This package provides common files
for the SIPE protocol plugins
:
177 %setup -q
-n
%{name}-%{git}
189 %if !0%{?_without_telepathy:1}
195 make %{_smp_mflags} check
200 find
%{buildroot} -type f
-name "
*.la"
-delete
-print
201 # Pidgin doesn't have 24 or 32 pixel icons
203 %{buildroot}%{_datadir}/pixmaps
/pidgin
/protocols
/24/sipe.png \
204 %{buildroot}%{_datadir}/pixmaps
/pidgin
/protocols
/32/sipe.png
212 %files -n
%{purple_plugin}
213 %defattr(-,root
,root
,-)
214 %doc AUTHORS ChangeLog COPYING NEWS README TODO
215 %{_libdir}/purple
-2/libsipe.so
218 %if !0%{?_without_telepathy:1}
219 %files -n
%{empathy_files}
220 %defattr(-,root
,root
,-)
222 %{_datadir}/empathy
/icons
/hicolor
/*/apps
/im
-sipe.png
223 %{_datadir}/empathy
/icons
/hicolor
/*/apps
/im
-sipe.svg
226 %files -n
%{ktp_files}
227 %defattr(-,root
,root
,-)
229 %{_datadir}/telepathy
/profiles
/sipe.profile
232 %files -n
%{telepathy_plugin}
233 %defattr(-,root
,root
,-)
234 %doc AUTHORS ChangeLog COPYING NEWS README TODO
235 %{_datadir}/dbus
-1/services
/*.sipe.service
236 %{_libexecdir}/telepathy
-sipe
240 %files -n
%{common_files} -f %{name}.lang
241 %defattr(-,root
,root
,-)
245 %defattr(-,root
,root
,-)
247 %{_datadir}/pixmaps
/pidgin
/protocols
/*/sipe.png
248 %{_datadir}/pixmaps
/pidgin
/protocols
/*/sipe.svg
252 * Sat Mar
09 2013 J. D. User
<jduser@noreply.com
> 1.15.0
255 * Wed Dec
26 2012 J. D. User
<jduser@noreply.com
> 1.14.1
258 * Sun Dec
16 2012 J. D. User
<jduser@noreply.com
> 1.14.0
261 * Sun Sep
09 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
262 - BR telepathy
-glib
-devel
>= 0.18.0
264 * Wed Sep
05 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
265 - BR telepathy
-glib
-devel
>= 0.14.0
267 * Mon Aug
27 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
268 - add ktp
-accounts
-kcm
-sipe package
270 * Sun Aug
26 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
271 - telepathy now requires glib
-2.0 >= 2.22.0
272 - use "
--without telepathy" to disable telepathy packages
274 * Fri Aug
24 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
275 - add empathy
-sipe package
277 * Wed Aug
22 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
278 - add telepathy
-sipe
& sipe
-common packages
280 * Sun Aug
19 2012 J. D. User
<jduser@noreply.com
> 1.13.3
283 * Sun Jun
10 2012 J. D. User
<jduser@noreply.com
> 1.13.2
286 * Mon Apr
09 2012 J. D. User
<jduser@noreply.com
> 1.13.1
289 * Wed Mar
14 2012 J. D. User
<jduser@noreply.com
> 1.13.0
292 * Mon Dec
12 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
293 - we
do support Microsoft Lync Server
2010 now.
295 * Tue Dec
06 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
296 - update GPL2 license name
298 * Sat Nov
12 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
301 * Mon Oct
31 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
304 * Mon Aug
29 2011 J. D. User
<jduser@noreply.com
> 1.12.0
307 * Wed Jun
22 2011 J. D. User
<jduser@noreply.com
> 1.11.2-*git
*
308 - add "
--with vv" option to
enable Voice
& Video features
310 * Tue Nov
02 2010 J. D. User
<jduser@noreply.com
> 1.11.2
313 * Sun Oct
24 2010 J. D. User
<jduser@noreply.com
> 1.11.1
316 * Sun Oct
04 2010 J. D. User
<jduser@noreply.com
> 1.11.0
319 * Fri Sep
02 2010 J. D. User
<jduser@noreply.com
> 1.10.1-*git
*
320 - add
(commented out
) BR libnice
-devel
322 * Sun Jun
27 2010 J. D. User
<jduser@noreply.com
> 1.10.1
325 * Mon Apr
12 2010 J. D. User
<jduser@noreply.com
> 1.10.0-*git
*
326 - add
(commented out
) BR nss
-devel
328 * Sun Apr
04 2010 J. D. User
<jduser@noreply.com
> 1.10.0
331 * Sun Mar
28 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
332 - changed
--with
/--without options to
--enable/--disable
334 * Sun Mar
28 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
335 - removed
--with
-krb5 configure option as it is autodetected now
337 * Tue Mar
23 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
340 * Sat Mar
20 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
341 - add BR glib2
-devel
>= 2.12.0
343 * Wed Mar
17 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
346 * Tue Mar
16 2010 J. D. User
<jduser@noreply.com
> 1.9.1
349 * Thu Mar
11 2010 J. D. User
<jduser@noreply.com
> 1.9.0-*git
*
350 - add BR libxml2
-devel
352 * Wed Mar
10 2010 J. D. User
<jduser@noreply.com
> 1.9.0
355 * Mon Mar
08 2010 J. D. User
<jduser@noreply.com
> 1.8.1-*git
*
356 - increased libpurple build requisite to
>= 2.4.0
358 * Sun Mar
07 2010 J. D. User
<jduser@noreply.com
> 1.8.1-*git
*
359 - sync with RPM SPEC from contrib
/OBS
361 * Sat Mar
06 2010 J. D. User
<jduser@noreply.com
> 1.8.1-*git
*
362 - update package summary
& description
364 * Tue Feb
16 2010 J. D. User
<jduser@noreply.com
> 1.8.1
367 * Sun Feb
07 2010 J. D. User
<jduser@noreply.com
> 1.8.0
370 * Thu Jan
14 2010 J. D. User
<jduser@noreply.com
> 1.7.1-*git
*
371 - autogen.sh no longer runs configure
373 * Tue Dec
29 2009 J. D. User
<jduser@noreply.com
> 1.7.1-*git
*
374 - add configure parameters
for purple and telepathy
376 * Sat Dec
12 2009 J. D. User
<jduser@noreply.com
> 1.7.1-*git
*
377 - add Epoch
: for git packages to avoid update clash with official packages
379 * Mon Nov
19 2009 J. D. User
<jduser@noreply.com
> 1.7.1
382 * Mon Oct
28 2009 J. D. User
<jduser@noreply.com
> 1.7.0-*git
*
383 - add missing
Group: to purple
-sipe
385 * Mon Oct
19 2009 J. D. User
<jduser@noreply.com
> 1.7.0
388 * Sun Oct
11 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
389 - move non
-Pidgin files to new sub
-package purple
-sipe
391 * Sun Oct
11 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
392 - remove directory
for emoticon theme icons
394 * Sun Oct
11 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
395 - libpurple protocol plugins are located under
%{_libdir}/purple
-2
397 * Mon Sep
28 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
398 - added directory
for emoticon theme icons
400 * Wed Sep
09 2009 J. D. User
<jduser@noreply.com
> 1.6.3
403 * Fri Aug
28 2009 J. D. User
<jduser@noreply.com
> 1.6.2-*git
*
404 - reduce libpurple
-devel requirement to
>= 2.3.1
406 * Mon Aug
24 2009 J. D. User
<jduser@noreply.com
> 1.6.2
409 * Fri Aug
21 2009 J. D. User
<jduser@noreply.com
> 1.6.1-*git
*
410 - reduce libpurple
-devel requirement to
>= 2.4.1
412 * Mon Aug
17 2009 J. D. User
<jduser@noreply.com
> 1.6.1-*git
*
413 - com_err.h only required
for kerberos
415 * Tue Aug
11 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
416 - require libpurple
-devel
>= 2.5.0
418 * Sun Aug
09 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
419 - refactor configure parameters
420 - make kerberos configurable
421 - don't hard code prefix
for git builds
423 * Sun Aug
09 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
424 - removed unnecessary zlib
-devel
426 * Sat Aug
08 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
427 - fix prefix
for git builds
429 * Sat Aug
01 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
430 - append
-Wno
-unused
-parameter
for GCC
<4.4 compilation errors
432 * Thu Jul
30 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
433 - remove duplicate GPL2
435 * Thu Jul
30 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
436 - use "
--with git" to build from git
437 - corrected download
URL for release archive
438 - add missing BR gettext
-devel
440 * Wed Jul
29 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
441 - use default rpmbuild CFLAGS also
for git builds
442 - merge with SPEC files created by mricon
& jberanek
444 * Tue Jul
28 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
445 - initial RPM SPEC example generated