2 # Example SPEC file to generate a RPM for pidgin-sipe.
3 # It should work out-of-the-box for any current Fedora or RHEL release.
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
20180827git1297745c
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
/Communications
27 Summary: Pidgin protocol plugin to connect to MS Office Communicator
30 Release: %{gitcount}.%{git}%{?dist}
31 Source0: %{name}-%{git}.tar.bz2
32 # git package overrides official released package
36 Source0: https
://downloads.sourceforge.net
/project
/sipe
/sipe
/%{name}-%{version}/%{name}-%{version}.tar.bz2
39 License: GPL
-2.0-or
-later
40 URL: http
://sipe.sourceforge.net
/
42 BuildRequires
: pkgconfig
(dbus
-1)
43 BuildRequires
: pkgconfig
(glib
-2.0) >= 2.18.0
44 BuildRequires
: pkgconfig
(gmodule
-2.0) >= 2.18.0
45 BuildRequires
: pkgconfig
(libxml
-2.0)
46 BuildRequires
: pkgconfig
(nss
)
47 BuildRequires
: pkgconfig
(purple
) >= 2.7.0
49 BuildRequires
: autoconf
50 BuildRequires
: automake
53 BuildRequires
: appstream
55 BuildRequires
: gettext
56 BuildRequires
: intltool
57 BuildRequires
: libtool
58 # Use "--without vv" to disable Voice & Video features
59 %if !0%{?_without_vv:1}
60 BuildRequires
: pkgconfig
(purple
) >= 2.8.0
61 BuildRequires
: pkgconfig
(farstream
-0.2)
62 BuildRequires
: pkgconfig
(freerdp
-shadow2
)
63 BuildRequires
: pkgconfig
(gio
-2.0)
64 BuildRequires
: pkgconfig
(gstreamer
-1.0)
65 BuildRequires
: pkgconfig
(gstreamer
-rtp
-1.0)
66 BuildRequires
: pkgconfig
(nice
) >= 0.1.0
68 # Use "--without telepathy" to disable telepathy
69 %if !0%{?_without_telepathy:1}
70 BuildRequires
: gmime
-devel
71 BuildRequires
: pkgconfig
(dbus
-glib
-1)
72 BuildRequires
: pkgconfig
(gio
-2.0) >= 2.32.0
73 BuildRequires
: pkgconfig
(glib
-2.0) >= 2.32.0
74 BuildRequires
: pkgconfig
(gobject
-2.0)
75 BuildRequires
: pkgconfig
(telepathy
-glib
) >= 0.24.0
78 # Configurable components
79 # Use "--without kerberos" to disable krb5
80 %if !0%{?_without_kerberos:1}
81 BuildRequires
: pkgconfig
(krb5
)
82 %if 0%{?fedora} || 0%{?rhel} >= 7
83 BuildRequires
: gssntlmssp
-devel
>= 0.5.0
84 %define requires_gssntlmssp
1
88 Requires: %{purple_plugin} = %{?epoch:%{epoch}:}%{version}-%{release}
92 A third
-party plugin
for the Pidgin multi
-protocol instant messenger.
93 It implements the extended version of SIP
/SIMPLE used by various products
:
96 * Microsoft Office
365
97 * Microsoft Business Productivity Online Suite
(BPOS
)
98 * Microsoft Lync Server
99 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
100 * Microsoft Live Communications Server
(LCS
2003/2005)
102 With this plugin you should be able to replace your Microsoft Office
103 Communicator client with Pidgin.
105 This package provides the icon
set for Pidgin.
108 %package -n
%{purple_plugin}
109 Summary: Libpurple protocol plugin to connect to MS Office Communicator
111 License: GPL
-2.0-or
-later
112 Requires: %{common_files} = %{?epoch:%{epoch}:}%{version}-%{release}
114 %if 0%{?requires_gssntlmssp}
115 Requires: gssntlmssp
>= 0.5.0
118 %description -n
%{purple_plugin}
119 A third
-party plugin
for the Pidgin multi
-protocol instant messenger.
120 It implements the extended version of SIP
/SIMPLE used by various products
:
123 * Microsoft Office
365
124 * Microsoft Business Productivity Online Suite
(BPOS
)
125 * Microsoft Lync Server
126 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
127 * Microsoft Live Communications Server
(LCS
2003/2005)
129 This package provides the protocol plugin
for libpurple clients.
132 %if !0%{?_without_telepathy:1}
133 %package -n
%{empathy_files}
134 Summary: Telepathy connection manager to connect to MS Office Communicator
136 License: GPL
-2.0-or
-later
137 Requires: %{telepathy_plugin} = %{?epoch:%{epoch}:}%{version}-%{release}
139 %description -n
%{empathy_files}
140 A Telepathy connection manager that implements the extended version of
141 SIP
/SIMPLE used by various products
:
144 * Microsoft Office
365
145 * Microsoft Business Productivity Online Suite
(BPOS
)
146 * Microsoft Lync Server
147 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
148 * Microsoft Live Communications Server
(LCS
2003/2005)
150 This package provides the icon
set for Empathy.
153 %package -n
%{ktp_files}
154 Summary: Telepathy connection manager to connect to MS Office Communicator
156 License: GPL
-2.0-or
-later
157 Requires: %{telepathy_plugin} = %{?epoch:%{epoch}:}%{version}-%{release}
159 %description -n
%{ktp_files}
160 A Telepathy connection manager that implements the extended version of
161 SIP
/SIMPLE used by various products
:
164 * Microsoft Office
365
165 * Microsoft Business Productivity Online Suite
(BPOS
)
166 * Microsoft Lync Server
167 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
168 * Microsoft Live Communications Server
(LCS
2003/2005)
170 This package provides the profile
for KTP account manager.
173 %package -n
%{telepathy_plugin}
174 Summary: Telepathy connection manager to connect to MS Office Communicator
176 License: GPL
-2.0-or
-later
177 Requires: %{common_files} = %{?epoch:%{epoch}:}%{version}-%{release}
179 %if 0%{?requires_gssntlmssp}
180 Requires: gssntlmssp
>= 0.5.0
183 %description -n
%{telepathy_plugin}
184 A Telepathy connection manager that implements the extended version of
185 SIP
/SIMPLE used by various products
:
188 * Microsoft Office
365
189 * Microsoft Business Productivity Online Suite
(BPOS
)
190 * Microsoft Lync Server
191 * Microsoft Office Communications Server
(OCS
2007/2007 R2
)
192 * Microsoft Live Communications Server
(LCS
2003/2005)
194 This package provides the protocol support
for Telepathy clients.
198 %package -n
%{common_files}
199 Summary: Common files
for SIPE protocol plugins
201 License: GPL
-2.0-or
-later
204 %description -n
%{common_files}
205 This package provides common files
for the SIPE protocol plugins
:
212 %setup -q
-n
%{name}-%{git}
223 %if 0%{?_without_vv:1}
228 %if !0%{?_without_kerberos:1}
232 %if !0%{?_without_telepathy:1}
242 find
%{buildroot} -type f
-name "
*.la"
-delete
-print
243 # Pidgin doesn't have 24 or 32 pixel icons
245 %{buildroot}%{_datadir}/pixmaps
/pidgin
/protocols
/24/sipe.png \
246 %{buildroot}%{_datadir}/pixmaps
/pidgin
/protocols
/32/sipe.png
251 make %{?_smp_mflags} check
254 %files -n
%{purple_plugin}
255 %defattr(-,root
,root
,-)
256 %doc AUTHORS ChangeLog COPYING NEWS README TODO
257 %{_libdir}/purple
-2/libsipe.so
260 %if !0%{?_without_telepathy:1}
261 %files -n
%{empathy_files}
262 %defattr(-,root
,root
,-)
263 %{_datadir}/empathy
/icons
/hicolor
/*/apps
/im
-sipe.png
264 %{_datadir}/empathy
/icons
/hicolor
/*/apps
/im
-sipe.svg
267 %files -n
%{ktp_files}
268 %defattr(-,root
,root
,-)
270 %{_datadir}/telepathy
/profiles
/sipe.profile
273 %files -n
%{telepathy_plugin}
274 %defattr(-,root
,root
,-)
275 %doc AUTHORS ChangeLog COPYING NEWS README TODO
276 %{_datadir}/dbus
-1/services
/*.sipe.service
277 %{_libexecdir}/telepathy
-sipe
281 %files -n
%{common_files} -f %{name}.lang
282 %defattr(-,root
,root
,-)
286 %defattr(-,root
,root
,-)
287 %{_datadir}/metainfo/%{name}.metainfo.xml
288 %{_datadir}/pixmaps
/pidgin
/protocols
/*/sipe.png
289 %{_datadir}/pixmaps
/pidgin
/protocols
/*/sipe.svg
293 * Tue Oct
15 2019 J. D. User
<jduser@noreply.com
> 1.25.0-*git
*
294 - make sure V
&V features are really enabled when requested
296 * Sat Oct
12 2019 J. D. User
<jduser@noreply.com
> 1.25.0
299 * Sun Jun
30 2019 J. D. User
<jduser@noreply.com
> 1.24.0-*git
*
300 - switch to SPDX identifier GPL
-2.0-or
-later
302 * Sun Jun
30 2019 J. D. User
<jduser@noreply.com
> 1.24.0-*git
*
303 - raise BR telepathy
-glib
>= 0.24.0
305 * Fri Dec
28 2018 J. D. User
<jduser@noreply.com
> 1.24.0-*git
*
306 - add BR flex
for git builds
308 * Sat Nov
10 2018 J. D. User
<jduser@noreply.com
> 1.24.0
311 * Mon Aug
27 2018 J. D. User
<jduser@noreply.com
> 1.23.3-*git
*
312 - add BR freerdp
-shadow2
314 * Mon Aug
20 2018 J. D. User
<jduser@noreply.com
> 1.23.3
317 * Sat Mar
10 2018 J. D. User
<jduser@noreply.com
> 1.23.2
320 * Sun Feb
25 2018 J. D. User
<jduser@noreply.com
> 1.23.1
323 * Sun Feb
18 2018 J. D. User
<jduser@noreply.com
> 1.23.0-*git
*
324 - remove obsolete clean section
326 * Sun Feb
18 2018 J. D. User
<jduser@noreply.com
> 1.23.0-*git
*
327 - change
source URL to https
://
329 * Sun Feb
18 2018 J. D. User
<jduser@noreply.com
> 1.23.0-*git
*
332 * Mon Nov
06 2017 J. D. User
<jduser@noreply.com
> 1.23.0-*git
*
335 * Sun Nov
05 2017 J. D. User
<jduser@noreply.com
> 1.23.0-*git
*
336 - add support
for new AppStream metadata file location
338 * Sat Oct
28 2017 J. D. User
<jduser@noreply.com
> 1.23.0
340 - raise BR glib
-2.0 >= 2.18.0
341 - raise BR purple
>= 2.7.0
343 * Fri Aug
11 2017 J. D. User
<jduser@noreply.com
> 1.22.1-*git
*
346 * Sun Jun
11 2017 J. D. User
<jduser@noreply.com
> 1.22.1
349 * Wed Feb
01 2017 J. D. User
<jduser@noreply.com
> 1.22.0
352 * Sun Dec
18 2016 J. D. User
<jduser@noreply.com
> 1.21.1-*git
*
355 * Wed Jun
15 2016 J. D. User
<jduser@noreply.com
> 1.21.1-*git
*
356 - add BR farstream
-0.2
358 * Sat May
28 2016 J. D. User
<jduser@noreply.com
> 1.21.1
361 * Sat Apr
23 2016 J. D. User
<jduser@noreply.com
> 1.21.0
364 * Tue Apr
05 2016 J. D. User
<jduser@noreply.com
> 1.20.1-*git
*
365 - align with Fedora SPEC file
367 * Fri Jan
01 2016 J. D. User
<jduser@noreply.com
> 1.20.1-*git
*
368 - add AppStream metadata file
370 * Sun Nov
08 2015 J. D. User
<jduser@noreply.com
> 1.20.1-*git
*
371 - add dependency on pkgconfig
(gstreamer
-1.0) for F22
+
373 * Sat Oct
24 2015 J. D. User
<jduser@noreply.com
> 1.20.1
376 * Thu Sep
03 2015 J. D. User
<jduser@noreply.com
> 1.20.0-*git
*
377 - we also support "Skype
for Business"
379 * Sat Aug
29 2015 J. D. User
<jduser@noreply.com
> 1.20.0
382 * Sat Apr
04 2015 J. D. User
<jduser@noreply.com
> 1.19.1
385 * Sat Feb
07 2015 J. D. User
<jduser@noreply.com
> 1.19.0
388 * Tue Jan
06 2015 J. D. User
<jduser@noreply.com
> 1.18.5-*git
*
389 - add dependency on gssntlmssp
(-devel
) >= 0.5.0 for F21
+
390 - enable Voice
& Video features by default
391 - move dependency on libnice
-gstreamer to correct packages
393 * Mon Dec
29 2014 J. D. User
<jduser@noreply.com
> 1.18.5
396 * Sat Oct
18 2014 J. D. User
<jduser@noreply.com
> 1.18.4
399 * Sat Aug
16 2014 J. D. User
<jduser@noreply.com
> 1.18.3
402 * Sat Jun
07 2014 J. D. User
<jduser@noreply.com
> 1.18.2
405 * Sat Apr
12 2014 J. D. User
<jduser@noreply.com
> 1.18.1
408 * Sat Mar
08 2014 J. D. User
<jduser@noreply.com
> 1.18.0-*git
*
409 - New Fedora packaging guidelines suggest to use pkgconfig
() for BRs
411 * Tue Mar
04 2014 J. D. User
<jduser@noreply.com
> 1.18.0-*git
*
412 - F20
+ require libnice
-gstreamer
for correct operation
414 * Sat Jan
11 2014 J. D. User
<jduser@noreply.com
> 1.18.0
417 * Wed Dec
11 2013 J. D. User
<jduser@noreply.com
> 1.17.3
420 * Sat Nov
30 2013 J. D. User
<jduser@noreply.com
> 1.17.2
423 * Sat Nov
16 2013 J. D. User
<jduser@noreply.com
> 1.17.1
426 * Sat Sep
21 2013 J. D. User
<jduser@noreply.com
> 1.17.0
429 * Sat Jul
13 2013 J. D. User
<jduser@noreply.com
> 1.16.1
432 * Fri Jun
14 2013 J. D. User
<jduser@noreply.com
> 1.16.0
435 * Thu May
16 2013 J. D. User
<jduser@noreply.com
> 1.15.1-*git
*
436 - BR glib
-2.0 >= 2.28.0 no longer required
for Voice
& Video features
438 * Sun Apr
07 2013 J. D. User
<jduser@noreply.com
> 1.15.1
441 * Fri Mar
29 2013 J. D. User
<jduser@noreply.com
> 1.15.0-*git
*
442 - update package description texts
444 * Sat Mar
09 2013 J. D. User
<jduser@noreply.com
> 1.15.0
447 * Wed Dec
26 2012 J. D. User
<jduser@noreply.com
> 1.14.1
450 * Sun Dec
16 2012 J. D. User
<jduser@noreply.com
> 1.14.0
453 * Sun Sep
09 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
454 - BR telepathy
-glib
-devel
>= 0.18.0
456 * Wed Sep
05 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
457 - BR telepathy
-glib
-devel
>= 0.14.0
459 * Mon Aug
27 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
460 - add ktp
-accounts
-kcm
-sipe package
462 * Sun Aug
26 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
463 - telepathy now requires glib
-2.0 >= 2.22.0
464 - use "
--without telepathy" to disable telepathy packages
466 * Fri Aug
24 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
467 - add empathy
-sipe package
469 * Wed Aug
22 2012 J. D. User
<jduser@noreply.com
> 1.13.3-*git
*
470 - add telepathy
-sipe
& sipe
-common packages
472 * Sun Aug
19 2012 J. D. User
<jduser@noreply.com
> 1.13.3
475 * Sun Jun
10 2012 J. D. User
<jduser@noreply.com
> 1.13.2
478 * Mon Apr
09 2012 J. D. User
<jduser@noreply.com
> 1.13.1
481 * Wed Mar
14 2012 J. D. User
<jduser@noreply.com
> 1.13.0
484 * Mon Dec
12 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
485 - we
do support Microsoft Lync Server
2010 now.
487 * Tue Dec
06 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
488 - update GPL2 license name
490 * Sat Nov
12 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
493 * Mon Oct
31 2011 J. D. User
<jduser@noreply.com
> 1.12.0-*git
*
496 * Mon Aug
29 2011 J. D. User
<jduser@noreply.com
> 1.12.0
499 * Wed Jun
22 2011 J. D. User
<jduser@noreply.com
> 1.11.2-*git
*
500 - add "
--with vv" option to
enable Voice
& Video features
502 * Tue Nov
02 2010 J. D. User
<jduser@noreply.com
> 1.11.2
505 * Sun Oct
24 2010 J. D. User
<jduser@noreply.com
> 1.11.1
508 * Mon Oct
04 2010 J. D. User
<jduser@noreply.com
> 1.11.0
511 * Thu Sep
02 2010 J. D. User
<jduser@noreply.com
> 1.10.1-*git
*
512 - add
(commented out
) BR libnice
-devel
514 * Sun Jun
27 2010 J. D. User
<jduser@noreply.com
> 1.10.1
517 * Mon Apr
12 2010 J. D. User
<jduser@noreply.com
> 1.10.0-*git
*
518 - add
(commented out
) BR nss
-devel
520 * Sun Apr
04 2010 J. D. User
<jduser@noreply.com
> 1.10.0
523 * Sun Mar
28 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
524 - changed
--with
/--without options to
--enable/--disable
526 * Sun Mar
28 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
527 - removed
--with
-krb5 configure option as it is autodetected now
529 * Tue Mar
23 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
532 * Sat Mar
20 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
533 - add BR glib2
-devel
>= 2.12.0
535 * Wed Mar
17 2010 J. D. User
<jduser@noreply.com
> 1.9.1-*git
*
538 * Tue Mar
16 2010 J. D. User
<jduser@noreply.com
> 1.9.1
541 * Thu Mar
11 2010 J. D. User
<jduser@noreply.com
> 1.9.0-*git
*
542 - add BR libxml2
-devel
544 * Wed Mar
10 2010 J. D. User
<jduser@noreply.com
> 1.9.0
547 * Mon Mar
08 2010 J. D. User
<jduser@noreply.com
> 1.8.1-*git
*
548 - increased libpurple build requisite to
>= 2.4.0
550 * Sun Mar
07 2010 J. D. User
<jduser@noreply.com
> 1.8.1-*git
*
551 - sync with RPM SPEC from contrib
/OBS
553 * Sat Mar
06 2010 J. D. User
<jduser@noreply.com
> 1.8.1-*git
*
554 - update package summary
& description
556 * Tue Feb
16 2010 J. D. User
<jduser@noreply.com
> 1.8.1
559 * Sun Feb
07 2010 J. D. User
<jduser@noreply.com
> 1.8.0
562 * Thu Jan
14 2010 J. D. User
<jduser@noreply.com
> 1.7.1-*git
*
563 - autogen.sh no longer runs configure
565 * Tue Dec
29 2009 J. D. User
<jduser@noreply.com
> 1.7.1-*git
*
566 - add configure parameters
for purple and telepathy
568 * Sat Dec
12 2009 J. D. User
<jduser@noreply.com
> 1.7.1-*git
*
569 - add Epoch
: for git packages to avoid update clash with official packages
571 * Thu Nov
19 2009 J. D. User
<jduser@noreply.com
> 1.7.1
574 * Wed Oct
28 2009 J. D. User
<jduser@noreply.com
> 1.7.0-*git
*
575 - add missing
Group: to purple
-sipe
577 * Mon Oct
19 2009 J. D. User
<jduser@noreply.com
> 1.7.0
580 * Sun Oct
11 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
581 - move non
-Pidgin files to new sub
-package purple
-sipe
583 * Sun Oct
11 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
584 - remove directory
for emoticon theme icons
586 * Sun Oct
11 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
587 - libpurple protocol plugins are located under %
%{_libdir}/purple
-2
589 * Mon Sep
28 2009 J. D. User
<jduser@noreply.com
> 1.6.3-*git
*
590 - added directory
for emoticon theme icons
592 * Wed Sep
09 2009 J. D. User
<jduser@noreply.com
> 1.6.3
595 * Fri Aug
28 2009 J. D. User
<jduser@noreply.com
> 1.6.2-*git
*
596 - reduce libpurple
-devel requirement to
>= 2.3.1
598 * Mon Aug
24 2009 J. D. User
<jduser@noreply.com
> 1.6.2
601 * Fri Aug
21 2009 J. D. User
<jduser@noreply.com
> 1.6.1-*git
*
602 - reduce libpurple
-devel requirement to
>= 2.4.1
604 * Mon Aug
17 2009 J. D. User
<jduser@noreply.com
> 1.6.1-*git
*
605 - com_err.h only required
for kerberos
607 * Tue Aug
11 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
608 - require libpurple
-devel
>= 2.5.0
610 * Sun Aug
09 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
611 - refactor configure parameters
612 - make kerberos configurable
613 - don't hard code prefix
for git builds
615 * Sun Aug
09 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
616 - removed unnecessary zlib
-devel
618 * Sat Aug
08 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
619 - fix prefix
for git builds
621 * Sat Aug
01 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
622 - append
-Wno
-unused
-parameter
for GCC
<4.4 compilation errors
624 * Thu Jul
30 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
625 - remove duplicate GPL2
627 * Thu Jul
30 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
628 - use "
--with git" to build from git
629 - corrected download
URL for release archive
630 - add missing BR gettext
-devel
632 * Wed Jul
29 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
633 - use default rpmbuild CFLAGS also
for git builds
634 - merge with SPEC files created by mricon
& jberanek
636 * Tue Jul
28 2009 J. D. User
<jduser@noreply.com
> 1.6.0-*git
*
637 - initial RPM SPEC example generated