]> git.pld-linux.org Git - packages/php-phpmailer.git/commitdiff
- new
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 20 Dec 2007 22:40:54 +0000 (22:40 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-phpmailer.spec -> 1.1

php-phpmailer.spec [new file with mode: 0644]

diff --git a/php-phpmailer.spec b/php-phpmailer.spec
new file mode 100644 (file)
index 0000000..0025049
--- /dev/null
@@ -0,0 +1,56 @@
+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}
This page took 0.066197 seconds and 4 git commands to generate.