SPECS: phpmailer.spec - 2.2.1
blues
blues at pld-linux.org
Mon Aug 25 23:40:43 CEST 2008
Author: blues Date: Mon Aug 25 21:40:43 2008 GMT
Module: SPECS Tag: HEAD
---- Log message:
- 2.2.1
---- Files affected:
SPECS:
phpmailer.spec (1.5 -> 1.6)
---- Diffs:
================================================================
Index: SPECS/phpmailer.spec
diff -u SPECS/phpmailer.spec:1.5 SPECS/phpmailer.spec:1.6
--- SPECS/phpmailer.spec:1.5 Tue Jun 17 07:43:00 2008
+++ SPECS/phpmailer.spec Mon Aug 25 23:40:38 2008
@@ -1,15 +1,19 @@
# $Revision$, $Date$
+# TODO:
+# - separate version for php4
+# - better requires with proper php modules.
Summary: Full featured email transfer class for PHP
Summary(pl.UTF-8): W pełni funkcjonalna klasa PHP do przesyłania e-maili
Name: phpmailer
-Version: 2.0.0
+Version: 2.2.1
Release: 1
License: LGPL
Group: Development/Languages/PHP
-Source0: http://dl.sourceforge.net/phpmailer/PHPMailer_v%{version}.tar.gz
-# Source0-md5: 1fba7b3b8f67197c371da2f791d517de
+Source0: http://dl.sourceforge.net/phpmailer/phpMailer_v%{version}.tar.gz
+# Source0-md5: 9f9e9bca95fb11eee2d3e892778319d1
URL: http://phpmailer.codeworxtech.com/
BuildRequires: rpmbuild(macros) >= 1.461
+Requires: php-common >= 5.0
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -43,18 +47,18 @@
Dokumentacja do %{name}.
%prep
-%setup -q -n PHPMailer_v%{version}
+%setup -q -c
find '(' -name '*.php' -o -name '*.html' -o -name '*.txt' ')' -print0 | xargs -0 %{__sed} -i -e 's,\r$,,'
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_appdir}/language
+install -d $RPM_BUILD_ROOT{%{_appdir}/language,%{_phpdocdir}/%{name}}
+
cp -a *.php $RPM_BUILD_ROOT%{_appdir}
cp -a language/*.php $RPM_BUILD_ROOT%{_appdir}/language
-
-install -d $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
cp -a phpdoc/* $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
+cp -a examples $RPM_BUILD_ROOT%{_phpdocdir}/%{name}
%clean
rm -rf $RPM_BUILD_ROOT
@@ -74,6 +78,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.6 2008/08/25 21:40:38 blues
+- 2.2.1
+
Revision 1.5 2008/06/17 05:43:00 glen
- use phpdoc dir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/phpmailer.spec?r1=1.5&r2=1.6&f=u
More information about the pld-cvs-commit
mailing list