SPECS: fpdf.spec (NEW) - initial

arekm arekm at pld-linux.org
Fri Nov 3 10:31:58 CET 2006


Author: arekm                        Date: Fri Nov  3 09:31:58 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   fpdf.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/fpdf.spec
diff -u /dev/null SPECS/fpdf.spec:1.1
--- /dev/null	Fri Nov  3 10:31:58 2006
+++ SPECS/fpdf.spec	Fri Nov  3 10:31:53 2006
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+%define	sver	%(echo %{version} | tr -d .)
+Summary:	PHP class  which allows to generate PDF files with pure PHP
+Name:		fpdf
+Version:	1.53
+Release:	1
+License:	Freeware
+Group:		Libraries
+Source0:	%{name}%{sver}.tgz
+# Source0-md5:	6106c8d0aba37563b7ca9ccc94bc6c95
+# http://www.fpdf.de/downloads/addons/69/
+Source1:	fpdf-draw.php
+URL:		http://www.fpdf.org/
+Requires:	php-common
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define		_phpsharedir	%{_datadir}/php
+
+%description
+FPDF is a PHP class which allows to generate PDF files with pure PHP,
+that is to say without using the PDFlib library. F from FPDF stands
+for Free: you may use it for any kind of usage and modify it to suit
+your needs.
+
+%prep
+%setup  -q -n %{name}%{sver}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_phpsharedir}/%{name}
+
+cp -a fpdf.* font $RPM_BUILD_ROOT%{_phpsharedir}/%{name}
+install %{SOURCE1} $RPM_BUILD_ROOT%{_phpsharedir}/%{name}/draw.php
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc doc tutorial *.htm *.txt
+%{_phpsharedir}/%{name}
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2006/11/03 09:31:53  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list