~ubuntu-branches/ubuntu/feisty/gnumeric/feisty-security

« back to all changes in this revision

Viewing changes to debian/rules

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Holbach
  • Date: 2006-07-11 14:20:05 UTC
  • Revision ID: james.westby@ubuntu.com-20060711142005-ji7dk1772uysxhcj
Tags: 1.7.0-1ubuntu2
fix upload mistake, upload Gauvain's changes for real this time.

Show diffs side-by-side

added added

removed removed

Lines of Context:
27
27
# Are we building a release version, or are we doing development?
28
28
CVS_BUILD=$(shell test ! -d CVS; echo $$?)
29
29
 
30
 
upstreamversion=$(shell dpkg-parsechangelog | grep Version | head -1 | sed -e 's/Version: //g' -e 's/-[A-Za-z0-9+\.]*$$//g')
 
30
upstreamversion=$(shell dpkg-parsechangelog | grep Version | head -1 | sed -e 's/Version: //g' -e 's/-[A-Za-z0-9\.]*$$//g')
31
31
 
32
32
# Features configuration
33
33
# ---------------------- 
37
37
 
38
38
features:=
39
39
 
40
 
# Spreadsheet indexer for beagle
41
 
features+= --enable-ssindex
42
 
 
43
 
# Plugins to access databases through the GDA framework and through GnomeDB.
44
 
#
45
 
# The GDA and GnomeDB plugins for gnumeric now require versions of GDA and
46
 
# GnomeDB that are not available as packages yet.
47
 
#       Mon, 10 Oct 2005 20:37:06 +0200
48
 
features+= --without-gda --without-gnomedb
 
40
# The Python executable
 
41
features+= PYTHON=/usr/bin/python
 
42
 
 
43
# The Python support offers a nice way to extend gnumeric's functionality.
 
44
 
 
45
features+= --with-python
 
46
 
 
47
# Bonobo allows us to use parts of other applications as components via
 
48
# CORBA, and was supposed to allow us to work as a component for other
 
49
# applications. However, that promise hasn't really been realised and
 
50
# according to Morten Welinder "drop bonobo from your build.  it's
 
51
# pointless."
 
52
 
 
53
features+= --without-bonobo
 
54
 
 
55
# Plugin to access databases through the GDA framework.
 
56
 
 
57
features+= --with-gda
 
58
 
 
59
# Guile offers an additional way to extension gnumeric, but the guile
 
60
# support is for guile 1.5 or newer, which is not currently available in
 
61
# Debian.
 
62
 
 
63
features+= --without-guile
49
64
 
50
65
# configure.in: "Gnome Basic is extremely API unstable; it is likely that
51
66
# gnumeric will only build with the single version mentioned in
52
67
# configure.in, if at all. It is possible, but unlikely, that Gnome Basic
53
68
# contains security vulnerabilities."
 
69
 
54
70
features+= --without-gb
55
71
 
 
72
# The GDA and GnomeDB plugins for gnumeric now require versions of GDA and
 
73
# GnomeDB that are not available as packages yet.
 
74
#       Mon, 10 Oct 2005 20:37:06 +0200
 
75
features+= --without-gda --without-gnomedb
 
76
 
56
77
# Debian's psiconv packages are not recent enough for gnumeric; see
57
78
# http://bugs.debian.org/268576
58
79
#       Tue,  9 Aug 2005 17:36:09 +0200
61
82
# Paradox database files plugin
62
83
features+= --with-paradox
63
84
 
64
 
# Perl plugin
65
 
features+= --with-perl
66
 
 
67
 
# The Python plugin
68
 
features+= PYTHON=/usr/bin/python --with-python
69
 
 
70
 
# Bonobo allows us to use parts of other applications as components via
71
 
# CORBA, and was supposed to allow us to work as a component for other
72
 
# applications. However, that promise hasn't really been realised and
73
 
# according to Morten Welinder "drop bonobo from your build.  it's
74
 
# pointless."
75
 
features+= --without-bonobo
76
 
 
77
 
confflags :=    --prefix=/usr \
 
85
# Spreadsheet indexer for beagle
 
86
features+= --enable-ssindex
 
87
 
 
88
confflags := --prefix=/usr \
78
89
                --mandir=\$${prefix}/share/man \
79
90
                --sysconfdir=/etc \
80
91
                --localstatedir=/var/lib \
219
230
        rm -rf debian/tmp-$*/usr/lib/bonobo
220
231
        # libspreadsheet is far from a mature library; loose the development
221
232
        # files
222
 
        rm -f debian/tmp-$*/usr/lib/libspreadsheet.la debian/tmp/usr/lib/libspreadsheet.so
 
233
        rm -f debian/tmp-$*/usr/lib/libspreadsheet*.la
 
234
        rm -f debian/tmp-$*/usr/lib/pkgconfig/libspreadsheet-*.pc
 
235
        rm -rf debian/tmp-$*/usr/include/libspreadsheet-*
 
236
 
223
237
        # Outdated
224
238
        rm -f debian/tmp-$*/usr/share/mc/templates/gnumeric.desktop
225
239
 
247
261
        dh_testdir -i
248
262
        dh_testroot -i
249
263
        dh_installdebconf -i
250
 
        dh_installdocs -i
 
264
        dh_installdocs -pgnumeric-doc
251
265
 
252
266
        dh_installexamples -i
253
267
        dh_installmenu -i
258
272
#       dh_installinit -i
259
273
        dh_installcron -i
260
274
#       dh_installman -i
 
275
        
261
276
        dh_link -i
262
277
        dh_installinfo -i
263
278
#       dh_undocumented -i
265
280
        dh_gconf -i
266
281
        dh_scrollkeeper -i
267
282
        dh_desktop -i
268
 
        dh_link -i
269
283
        dh_compress -i
270
284
        dh_fixperms -i
271
285
        dh_installdeb -i