~ubuntu-branches/ubuntu/quantal/gnumeric/quantal

« back to all changes in this revision

Viewing changes to gnumeric.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Gauvain Pocentek
  • Date: 2009-06-07 11:10:47 UTC
  • mfrom: (1.1.19 upstream) (2.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090607111047-l3rtbzfjxvmi1kx0
Tags: 1.9.8-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Promoted gnumeric-doc to Recommends in gnumeric package for help to be
    installed automatically
  - gnumeric-gtk is a transitional package
  - gnumeric conflicts with gnumeric-gtk << 1.8.3-3ubuntu1
  - call initltool-update in po*
  - remove psiconv support (psiconv is in universe):
    o debian/control: remove B-D on libpsiconv-dev
    o debian/rules: don't pass --with-psiconv to ./configure

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This file is basically not maintained.  Use as inspiration only.
 
2
 
1
3
# conditional features selected using --with <foo> or --without <foo>
2
 
%{!?_with_bonobo:       %{!?_without_bonobo: %define _without_bonobo --without-bonobo}}
 
4
%{!?_with_gnome:        %{!?_without_gnome: %define _without_gnome --without-gnome}}
3
5
%{!?_with_gda:          %{!?_without_gda: %define _without_gda --without-gda}}
4
6
%{!?_with_guile:        %{!?_without_guile: %define _without_guile --without-guile}}
5
7
%{!?_with_long_double:  %{!?_without_long_double: %define _without_long_double --without-long-double}}
17
19
Source: ftp://ftp.gnome.org/pub/GNOME/sources/gnumeric/gnumeric-%{version}.tar.gz
18
20
Url:            http://www.gnome.org/gnumeric
19
21
BuildRoot:      %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
20
 
BuildRequires:  glib2-devel             >= 2.6.0
 
22
BuildRequires:  glib2-devel             >= 2.10.0
21
23
BuildRequires:  libgsf-devel            >= 1.14.6
22
24
BuildRequires:  gtk2-devel              >= 2.10.0
23
25
BuildRequires:  libxml2-devel           >= 2.4.12
24
26
BuildRequires:  libglade2-devel         >= 2.3.6
 
27
%if %{?_with_gnome:1}%{!?_with_gnome:0}
25
28
BuildRequires:  libgnome-devel          >= 2.0.0
26
29
BuildRequires:  libgnomeui-devel        >= 2.0.0
27
 
# What about libart requirement?
28
 
%if %{?_with_bonobo:1}%{!?_with_bonobo:0}
29
 
BuildRequires: libbonobo-devel          >= 2.0.0
30
 
BuildRequires: libbonoboui-devel        >= 2.0.0
 
30
BuildRequires:  libbonobo-devel         >= 2.0.0
 
31
BuildRequires:  libbonoboui-devel       >= 2.0.0
31
32
%endif
32
33
%{?_with_gda:BuildRequires:     libgda-devel            >= 1.0.1}
33
34
%{?_with_guile:BuildRequires:   guile-devel             >= 1.5}
59
60
 
60
61
%build
61
62
%configure \
62
 
  %{?_with_bonobo} %{?_without_bonobo} \
 
63
  %{?_with_gnome} %{?_without_gnome} \
63
64
  %{?_with_gda} %{?_without_gda} \
64
65
  %{?_with_guile} %{?_without_guile} \
65
66
  %{?_with_long_double} %{?_without_long_double} \