pear-Mail_Mime/pear-Mail_Mime.spec

59 lines
1.7 KiB
RPMSpec

Name: pear-Mail_Mime
Version: 1.10.2
Release: 1mamba
Summary: Provides php/pear classes to create and decode mime messages
Group: Applications/Web
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pear.php.net
Source: http://download.pear.php.net/package/Mail_Mime-%{version}.tgz
License: GPL
Requires: php >= 4.3.3
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Provides classes to deal with creation and manipulation of mime messages:
mime.php: Create mime email, with html, attachments, embedded images etc.
mimePart.php: Advanced method of creating mime messages.
mimeDecode.php - Decodes mime messages to a usable structure.
xmail.dtd: An XML DTD to acompany the getXML() method of the decoding class.
xmail.xsl: An XSLT stylesheet to transform the output of the getXML() method back to an email.
%prep
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
%build
%install
mkdir -p %{buildroot}%{_libdir}
pushd %{buildroot}%{_libdir}
tar xzvf %{SOURCE0}
mv Mail_Mime-%{version} php
rm package.xml
popd
%clean
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_libdir}/php/Mail/*
%{_libdir}/php/scripts/phail.php
%{_libdir}/php/tests/*phpt
%changelog
* Sat Feb 20 2021 Automatic Build System <autodist@mambasoft.it> 1.10.2-1mamba
- automatic version update by autodist
* Thu Feb 21 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.7-1mamba
- update to 1.8.7
* Mon May 28 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-1mamba
- update to 1.4.0
* Tue Sep 09 2003 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1qilnx
- first build