Author: glen                         Date: Thu Dec 20 22:40:59 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/phpmailer.spec
diff -u /dev/null SPECS/phpmailer.spec:1.1
--- /dev/null   Thu Dec 20 23:40:59 2007
+++ SPECS/phpmailer.spec        Thu Dec 20 23:40:54 2007
@@ -0,0 +1,67 @@
+# $Revision$, $Date$
+Summary:       Full featured email transfer class for PHP
+Name:          phpmailer
+Version:       2.0.0
+Release:       0.1
+License:       LGPL
+Group:         Development/Languages/PHP
+URL:           http://phpmailer.codeworxtech.com/
+Source0:       http://dl.sourceforge.net/phpmailer/PHPMailer_v%{version}.tar.gz
+# Source0-md5: 1fba7b3b8f67197c371da2f791d517de
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _appdir /usr/share/php/%{name}
+
+%description
+PHP email transport class featuring multiple file attachments, SMTP
+servers, CCs, BCCs, HTML messages, and word wrap, and more. It can
+send email via sendmail, PHP mail(), or with SMTP. Methods are based
+on the popular AspEmail active server component.
+
+%package phpdoc
+Summary:       Online manual for %{name}
+Summary(pl.UTF-8):     Dokumentacja online do %{name}
+Group:         Documentation
+
+%description phpdoc
+Documentation for %{name}.
+
+%description phpdoc -l pl.UTF-8
+Dokumentacja do %{name}.
+
+%prep
+%setup -q -n PHPMailer_v%{version}
+
+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
+cp -a *.php $RPM_BUILD_ROOT%{_appdir}
+cp -a language/*.php $RPM_BUILD_ROOT%{_appdir}/language
+
+install -d $RPM_BUILD_ROOT%{_docdir}/%{name}
+cp -a phpdoc/* $RPM_BUILD_ROOT%{_docdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog.txt README LICENSE docs/*
+%{_appdir}
+
+%files phpdoc
+%defattr(644,root,root,755)
+%{_docdir}/%{name}
+
+%define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <[EMAIL PROTECTED]>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-20 22:40:54  glen
+- new
+
================================================================
_______________________________________________
pld-cvs-commit mailing list
pld-cvs-commit@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to