rpms/php-PHPMailer/F-10 import.log, NONE, 1.1 php-PHPMailer.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Patrick Monnerat monnerat at fedoraproject.org
Wed Aug 5 09:46:30 UTC 2009


Author: monnerat

Update of /cvs/pkgs/rpms/php-PHPMailer/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv29483/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log php-PHPMailer.spec 
Log Message:

* Wed Aug  5 2009 Patrick Monnerat <pm at datasphere.ch> 5.0.2-3
- Initial import



--- NEW FILE import.log ---
php-PHPMailer-5_0_2-3_fc10:F-10:php-PHPMailer-5.0.2-3.fc10.src.rpm:1249465490


--- NEW FILE php-PHPMailer.spec ---
Name:		php-PHPMailer
Summary:	PHP email transport class with a lot of features
Version:	5.0.2
Release:	3%{?dist}
License:	LGPLv2+
Group:		System Environment/Libraries
Source0:	http://downloads.sourceforge.net/phpmailer/PHPMailer_v%{version}.tar.gz
URL:		http://phpmailer.worxware.com/
Requires:	php-mbstring >= 5.1.0
BuildRequires:	dos2unix
Buildarch:	noarch
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root

%description
Full Featured Email Transfer Class for PHP. PHPMailer features:

    * Supports emails digitally signed with S/MIME encryption!
    * Supports emails with multiple TOs, CCs, BCCs and REPLY-TOs
    * Works on any platform.
    * Supports Text & HTML emails.
    * Embedded image support.
    * Multipart/alternative emails for mail clients that do not read
      HTML email.
    * Flexible debugging.
    * Custom mail headers.
    * Redundant SMTP servers.
    * Support for 8bit, base64, binary, and quoted-printable encoding.
    * Word wrap.
    * Multiple fs, string, and binary attachments (those from database,
      string, etc).
    * SMTP authentication.
    * Tested on multiple SMTP servers: Sendmail, qmail, Postfix, Gmail,
      Imail, Exchange, etc.
    * Good documentation, many examples included in download.
    * It's swift, small, and simple.


#-------------------------------------------------------------------------------
%prep
#-------------------------------------------------------------------------------

%setup -q -n PHPMailer_v%{version}

#	Make sure all files are \n terminated.

find . -type f | xargs dos2unix

#	Change default language path.

sed -i -e								\
    "/function SetLanguage/s#'language/'#'%{_datadir}/PHPMailer/language/'#" \
    class.phpmailer.php


#-------------------------------------------------------------------------------
%build
#-------------------------------------------------------------------------------

#	Nothing to do.


#-------------------------------------------------------------------------------
%install
#-------------------------------------------------------------------------------

rm -rf "${RPM_BUILD_ROOT}"

#	install directories.

install -p -d -m 755 "${RPM_BUILD_ROOT}/%{_datadir}/php/PHPMailer/"
install -p -d -m 755 "${RPM_BUILD_ROOT}/%{_datadir}/PHPMailer/language/"


#	Install class files.

install -p -m 644							\
	class.phpmailer.php "${RPM_BUILD_ROOT}/%{_datadir}/php/PHPMailer/"
install -p -m 644 class.smtp.php "${RPM_BUILD_ROOT}/%{_datadir}/php/PHPMailer/"
install -p -m 644 class.pop3.php "${RPM_BUILD_ROOT}/%{_datadir}/php/PHPMailer/"


#	Install language files (these are not gettextized).

install -p -m 644 language/*.php					\
	"${RPM_BUILD_ROOT}/%{_datadir}/PHPMailer/language"

#	Tag language files.

(
	cd "${RPM_BUILD_ROOT}"
	find ".%{_datadir}/PHPMailer/language" -name "phpmailer.lang-*.php" |
		sed -e 's/^\.//'					\
		    -e 's#^.*/phpmailer\.lang-\(.*\)\.php$#%lang(\1) &#'
) > files.list


#-------------------------------------------------------------------------------
%clean
#-------------------------------------------------------------------------------

rm -rf "${RPM_BUILD_ROOT}"


#-------------------------------------------------------------------------------
%files -f files.list
#-------------------------------------------------------------------------------

%defattr(-, root, root, -)
%doc docs/* README LICENSE ChangeLog.txt
%doc examples
%{_datadir}/php/PHPMailer
%dir %{_datadir}/PHPMailer
%dir %{_datadir}/PHPMailer/language


#-------------------------------------------------------------------------------
%changelog
#-------------------------------------------------------------------------------

* Mon Aug  3 2009 Patrick Monnerat <pm at datasphere.ch> 5.0.2-3
- Home page change.
- Package description from new home page.
- Requires php-mbstring.

* Fri Jun 19 2009 Patrick Monnerat <pm at datasphere.ch> 5.0.2-2
- Suppress "ed" build requirement.
- Tag language files.
- Move class files to a package-specific directory.

* Tue Jun  2 2009 Patrick Monnerat <pm at datasphere.ch> 5.0.2-1
- Initial RPM spec file.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/php-PHPMailer/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	4 Aug 2009 20:29:50 -0000	1.1
+++ .cvsignore	5 Aug 2009 09:46:29 -0000	1.2
@@ -0,0 +1 @@
+PHPMailer_v5.0.2.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/php-PHPMailer/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	4 Aug 2009 20:29:50 -0000	1.1
+++ sources	5 Aug 2009 09:46:30 -0000	1.2
@@ -0,0 +1 @@
+2f7296bb63e863c5528c2d591e38f4e5  PHPMailer_v5.0.2.tar.gz




More information about the fedora-extras-commits mailing list