rpms/php-pear-Mail-mimeDecode/devel php-pear-Mail-mimeDecode.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Brandon Holbrook (static) fedora-extras-commits at redhat.com
Tue Apr 1 04:10:11 UTC 2008


Author: static

Update of /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32475

Modified Files:
	.cvsignore sources 
Added Files:
	php-pear-Mail-mimeDecode.spec 
Log Message:
Initial checkin



--- NEW FILE php-pear-Mail-mimeDecode.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}

Name:		php-pear-Mail-mimeDecode
Version:	1.5.0
Release:	3%{?dist}
Summary:	Class to decode mime messages

Group:		Development/Libraries
License:	BSD
URL:		http://pear.php.net/package/Mail_mimeDecode
Source0:	http://pear.php.net/get/Mail_mimeDecode-%{version}.tgz
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:	noarch
BuildRequires:	php-pear >= 1:1.6.0
Requires:	php-pear(PEAR) >= 1.6.0
Requires:	php-pear(Mail_Mime) > 1.4.0
Requires(post):	%{__pear}
Requires(postun): %{__pear}
Provides:	php-pear(Mail_mimeDecode) = %{version}


%description
Provides a class to deal with the decoding and interpreting of mime messages.
This package used to be part of the Mail_Mime package, but has been split off.

To run post-installation tests, execute:
pear run-tests -p Mail_mimeDecode


%prep
%setup -q -c
#cd Mail_mimeDecode-%{version}
[ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml Mail_mimeDecode-%{version}/Mail_mimeDecode.xml


# Empty build section, nothing required
%build


%install
rm -rf %{buildroot} docdir

cd Mail_mimeDecode-%{version}
%{__pear} install --nodeps --packagingroot %{buildroot} Mail_mimeDecode.xml

# Move documentation
# Uncomment these lines whenever this package starts including docs
#mkdir -p docdir
#mv %{buildroot}%{pear_docdir}/* docdir

# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*

# Install XML package description
mkdir -p %{buildroot}%{pear_xmldir}
install -pm 644 Mail_mimeDecode.xml %{buildroot}%{pear_xmldir}


%check
# Sanity check
lst=$(find %{buildroot}%{pear_xmldir} -exec grep -q %{buildroot} {} \; -print)
[ ! -z "$lst" ] && echo "Reference to BUILDROOT in $lst" && exit 1;


%clean
rm -rf %{buildroot}


%post
%{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/Mail_mimeDecode.xml >/dev/null ||:


%postun
# if refcount = 0 then package has been removed (not upgraded)
if [ "$1" -eq "0" ]; then
	%{__pear} uninstall --nodeps --ignore-errors --register-only Mail_mimeDecode >/dev/null ||:
fi


%files
%defattr(-,root,root,-)
# Uncomment whenever this package starts including docs
#%doc Mail_mimeDecode-%{version}/docdir/Mail_mimeDecode/*
%{pear_xmldir}/Mail_mimeDecode.xml
%{pear_testdir}/Mail_mimeDecode
%{pear_phpdir}/Mail/mimeDecode.php


%changelog
* Sun Mar 30 2008 Brandon Holbrook <fedora at theholbrooks.org> 1.5.0-3
- Re-Corrected license :)

* Wed Mar 26 2008 Brandon Holbrook <fedora at theholbrooks.org> 1.5.0-2
- Corrected license
- No longer own pear_datadir/Mail

* Thu Dec  6 2007 Brandon Holbrook <fedora at theholbrooks.org> 1.5.0-1
- Initial Build



Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	1 Apr 2008 03:18:31 -0000	1.1
+++ .cvsignore	1 Apr 2008 04:09:31 -0000	1.2
@@ -0,0 +1 @@
+Mail_mimeDecode-1.5.0.tgz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Mail-mimeDecode/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	1 Apr 2008 03:18:31 -0000	1.1
+++ sources	1 Apr 2008 04:09:31 -0000	1.2
@@ -0,0 +1 @@
+e81f99c951eb5f199caa9dcd9c16f97f  Mail_mimeDecode-1.5.0.tgz




More information about the fedora-extras-commits mailing list