~prateek.karandikar/ubuntu/precise/pidgin/add_quicklist

« back to all changes in this revision

Viewing changes to pidgin.spec

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-11-05 19:44:21 UTC
  • mfrom: (62.1.1 maverick-security) (2.3.12 sid)
  • Revision ID: james.westby@ubuntu.com-20101105194421-8r8o4pzw2m5j4hiy
Tags: 1:2.7.5-1ubuntu1
Resync on Debian

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
#define beta 7
10
10
 
11
11
%if 0%{?beta}
12
 
%define pidginver %(echo "2.7.3"|sed -e 's/dev.*//; s/beta.*//')
 
12
%define pidginver %(echo "2.7.5"|sed -e 's/dev.*//; s/beta.*//')
13
13
%else
14
 
%define pidginver 2.7.3
 
14
%define pidginver 2.7.5
15
15
%endif
16
16
 
17
17
# define the minimum API version required, so we can use it for plugin deps
18
 
%define apiver %(echo "2.7.3"|awk -F. '{print $1"."$2}')
 
18
%define apiver %(echo "2.7.5"|awk -F. '{print $1"."$2}')
19
19
 
20
20
Summary:    A GTK+ based multiprotocol instant messaging client
21
21
Name:       pidgin
24
24
License:    GPL
25
25
Group:      Applications/Internet
26
26
URL:        http://pidgin.im/
27
 
Source:     %{name}-2.7.3.tar.bz2
 
27
Source:     %{name}-2.7.5.tar.bz2
28
28
BuildRoot:  %{_tmppath}/%{name}-%{version}-root
29
29
 
30
30
# Generic build requirements
46
46
%if "%{_vendor}" == "suse"
47
47
# For SuSE:
48
48
BuildRequires: gnutls-devel
 
49
%define sslopts "--enable-gnutls=yes --enable-nss=no"
49
50
%{?_with_dbus:BuildRequires: dbus-1-devel >= 0.35}
50
51
%{!?_without_gstreamer:BuildRequires: gstreamer010-devel >= 0.10}
51
52
Requires(pre): gconf2
52
53
Requires(post): gconf2
53
54
Requires(preun): gconf2
54
55
%else
 
56
%define sslopts "--enable-gnutls=no --enable-nss=yes"
55
57
%{?_with_dbus:BuildRequires: dbus-devel >= 0.35}
56
58
%{!?_without_gstreamer:BuildRequires: gstreamer-devel >= 0.10}
57
59
Requires(pre): GConf2
219
221
%endif
220
222
 
221
223
%prep
222
 
%setup -q -n %{name}-2.7.3
 
224
%setup -q -n %{name}-2.7.5
223
225
 
224
226
%build
225
227
CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%{_prefix} \
230
232
                                    --mandir=%{_mandir} \
231
233
                                    --sysconfdir=%{_sysconfdir} \
232
234
                                    --disable-schemas-install \
 
235
                                    %{sslopts} \
233
236
                                    %{!?_with_vv:--disable-vv} \
234
237
                                    %{!?_with_dbus:--disable-dbus} \
235
238
                                    %{!?_with_avahi:--disable-avahi} \
471
474
%endif
472
475
 
473
476
%changelog
 
477
* Wed Sep 01 2010 Stu Tomlinson <stu@nosnilmot.com>
 
478
- Ensure predictable use of SSL libs
 
479
 
474
480
* Wed Jun 02 2010 Stu Tomlinson <stu@nosnilmot.com>
475
481
- add an option to build RPMs using --enable-trayicon-compat
476
482
  (--with trayiconcompat)