author | Sven Velt <sven@velt.de> | |
Thu, 20 Jan 2011 15:49:40 +0000 (16:49 +0100) | ||
committer | Sven Velt <sven@velt.de> | |
Thu, 20 Jan 2011 15:49:40 +0000 (16:49 +0100) |
debian/changelog | [new file with mode: 0644] | patch | blob |
debian/compat | [new file with mode: 0644] | patch | blob |
debian/control | [new file with mode: 0644] | patch | blob |
debian/patches/01-correct-path.diff | [new file with mode: 0644] | patch | blob |
debian/patches/series | [new file with mode: 0644] | patch | blob |
debian/php-fpdi.dirs | [new file with mode: 0644] | patch | blob |
debian/rules | [new file with mode: 0755] | patch | blob |
debian/source/format | [new file with mode: 0644] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+php-fpdi (1.4-1) unstable; urgency=low
+
+ * Inital release
+
+ -- Sven Velt <sven@velt.de> Thu, 20 Jan 2011 16:18:43 +0100
diff --git a/debian/control b/debian/control
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,16 @@
+Source: php-fpdi
+Section: web
+Priority: optional
+Maintainer: Sven Velt <sven@velt.de>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.9.1
+Homepage: http://www.setasign.de/products/pdf-php-solutions/fpdi/
+
+Package: php-fpdi
+Architecture: all
+Depends: ${misc:Depends}, php5, php-fpdf-tpl
+Description: Import existing PDF documents into FPDF
+ FPDI is a collection of PHP classes facilitating developers to read pages from
+ existing PDF documents and use them as templates in FPDF, which was developed
+ by Olivier Plathey. Apart from a copy of FPDF, FPDI does not require any
+ special PHP extensions.
diff --git a/debian/patches/01-correct-path.diff b/debian/patches/01-correct-path.diff
--- /dev/null
@@ -0,0 +1,13 @@
+Use full path as "fpdf_tpl" is in its own directory/package.
+
+--- php-fpdi-1.4.old/fpdi.php 2010-11-11 17:08:05.000000000 +0100
++++ php-fpdi-1.4/fpdi.php 2011-01-20 16:33:58.747054008 +0100
+@@ -24,7 +24,7 @@
+ require_once('fpdi2tcpdf_bridge.php');\r
+ }\r
+ \r
+-require_once('fpdf_tpl.php');\r
++require_once('/usr/share/php/fpdf-tpl/fpdf_tpl.php');\r
+ require_once('fpdi_pdf_parser.php');\r
+ \r
+ \r
diff --git a/debian/patches/series b/debian/patches/series
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01-correct-path.diff
diff --git a/debian/php-fpdi.dirs b/debian/php-fpdi.dirs
--- /dev/null
+++ b/debian/php-fpdi.dirs
@@ -0,0 +1 @@
+usr/share/php/fpdi
diff --git a/debian/rules b/debian/rules
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_install:
+ cp -r *.php filters debian/php-fpdi/usr/share/php/fpdi
diff --git a/debian/source/format b/debian/source/format
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)