|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
1 |
#!/usr/bin/make -f
|
2 |
# -*- mode: makefile; coding: utf-8 -*-
|
|
|
3.2.1
by Jonas Smedegaard
* Use more of (newly added) main cdbs and drop most local snippets. |
3 |
# Copyright © 2009-2010 Jonas Smedegaard <dr@jones.dk>
|
|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
4 |
# Description: Main Debian packaging script for pyabiword
|
5 |
#
|
|
6 |
# This program is free software; you can redistribute it and/or
|
|
7 |
# modify it under the terms of the GNU General Public License as
|
|
8 |
# published by the Free Software Foundation; either version 2, or (at
|
|
9 |
# your option) any later version.
|
|
10 |
#
|
|
11 |
# This program is distributed in the hope that it will be useful, but
|
|
12 |
# WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
14 |
# General Public License for more details.
|
|
15 |
#
|
|
16 |
# You should have received a copy of the GNU General Public License
|
|
17 |
# along with this program; if not, write to the Free Software
|
|
18 |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
|
|
19 |
# 02111-1307 USA.
|
|
20 |
||
21 |
DEB_BUILDDIR = build |
|
22 |
DEB_PYTHON_SYSTEM = pycentral |
|
|
3.2.1
by Jonas Smedegaard
* Use more of (newly added) main cdbs and drop most local snippets. |
23 |
include /usr/share/cdbs/1/rules/upstream-tarball.mk |
24 |
include /usr/share/cdbs/1/rules/utils.mk |
|
|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
25 |
include /usr/share/cdbs/1/rules/debhelper.mk |
|
8
by Luke Faraone
* Don't use internal CDBS includes. (LP: #603214) |
26 |
include /usr/share/cdbs/1/class/python-autotools.mk |
|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
27 |
|
28 |
DEB_UPSTREAM_URL = http://www.abisource.com/downloads/pyabiword/$(DEB_UPSTREAM_VERSION) |
|
29 |
DEB_UPSTREAM_TARBALL_MD5 = 826ea3e4cdcdd11906ce8739d07e6c26 |
|
30 |
||
|
3.1.1
by Jonas Smedegaard
* Update local CDBS snippets: |
31 |
DEB_INSTALL_EXAMPLES_python-abiword = examples/* |
32 |
||
|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
33 |
# Needed by upstream build process
|
|
3.1.1
by Jonas Smedegaard
* Update local CDBS snippets: |
34 |
CDBS_BUILD_DEPENDS += , libabiword-2.8-dev (>= 2.8.1-1.0), python-gtk2-dev |
|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
35 |
|
36 |
# workaround for missing build-dependencies of libabiword-2.8-dev
|
|
|
3.1.2
by Jonas Smedegaard
* Build-depend on libgoffice-0.8-dev (not dropped libgoffice-0-8-dev). |
37 |
CDBS_BUILD_DEPENDS += , libfribidi-dev (>= 0.10.4), libglib2.0-dev (>= 2.6.0), libgsf-1-dev (>= 1.12), libwv-dev (>= 1.2.0), libenchant-dev (>= 1.2.0), libgoffice-0.8-dev, libgucharmap2-dev, libcairo-dev, libpango1.0-dev, libgtk2.0-dev (>= 2.12.0), librsvg2-dev (>= 2.16.0) |
|
2
by Jonas Smedegaard
Initial release (targeting experimental, as it FTBFS due to |
38 |
|
39 |
# force-clean builddir (cleanup bug in multiflavor routine?)
|
|
40 |
clean:: |
|
41 |
rm -rf $(DEB_BUILDDIR) |
|
42 |
||
|
3.2.1
by Jonas Smedegaard
* Use more of (newly added) main cdbs and drop most local snippets. |
43 |
# We need recent cdbs anyway, so can just as well include other
|
44 |
# backport-unfriendly features
|
|
45 |
CDBS_BUILD_DEPENDS += , devscripts (>= 2.10.7), dh-buildinfo |
|
46 |
||
47 |
# Temporary cleanup of new dependencies not yet handled in main cdbs
|
|
48 |
CDBS_BUILD_DEPENDS := $(shell echo '$(CDBS_BUILD_DEPENDS)' | perl -pe '/\bcdbs \(>= 0\.4\.70~\)/ && s/\bcdbs *\(>= (0\.4\.63~|0\.4\.67~)\)/, /g') |