rpms/php-pear-Net-POP3/devel php-pear-Net-POP3.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Christopher Stone (xulchris)
fedora-extras-commits at redhat.com
Sat Jan 13 22:17:44 UTC 2007
Author: xulchris
Update of /cvs/extras/rpms/php-pear-Net-POP3/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32359/devel
Modified Files:
.cvsignore sources
Added Files:
php-pear-Net-POP3.spec
Log Message:
auto-import php-pear-Net-POP3-1.3.6-2 on branch devel from php-pear-Net-POP3-1.3.6-2.src.rpm
--- NEW FILE php-pear-Net-POP3.spec ---
%{!?__pear: %{expand: %%global __pear %{_bindir}/pear}}
%define pear_name Net_POP3
Name: php-pear-Net-POP3
Version: 1.3.6
Release: 2%{?dist}
Summary: Provides a POP3 class to access POP3 server
Group: Development/Languages
License: BSD
URL: http://pear.php.net/package/Net_POP3
Source0: http://pear.php.net/get/%{pear_name}-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: php-pear >= 1:1.4.9-1.2
Requires: php-pear(PEAR)
Requires: php-pear(Net_Socket) >= 1.0
Requires(hint): php-pear(Auth_SASL) >= 1.0
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(%{pear_name}) = %{version}
%description
Provides a POP3 class to access POP3 server. Support all POP3 commands
including UIDL listings, APOP authentication, DIGEST-MD5 and CRAM-MD5 using
optional Auth_SASL package.
%prep
%setup -q -c
[ -f package2.xml ] || mv package.xml package2.xml
mv package2.xml %{pear_name}-%{version}/%{pear_name}.xml
cd %{pear_name}-%{version}
%build
cd %{pear_name}-%{version}
# Empty build section, most likely nothing required.
%install
cd %{pear_name}-%{version}
rm -rf $RPM_BUILD_ROOT docdir
%{__pear} install --nodeps --packagingroot $RPM_BUILD_ROOT %{pear_name}.xml
# Clean up unnecessary files
rm -rf $RPM_BUILD_ROOT%{pear_phpdir}/.??*
# Install XML package description
mkdir -p $RPM_BUILD_ROOT%{pear_xmldir}
install -pm 644 %{pear_name}.xml $RPM_BUILD_ROOT%{pear_xmldir}
%clean
rm -rf $RPM_BUILD_ROOT
%post
%{__pear} install --nodeps --soft --force --register-only \
%{pear_xmldir}/%{pear_name}.xml >/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
%{__pear} uninstall --nodeps --ignore-errors --register-only \
%{pear_name} >/dev/null || :
fi
%files
%defattr(-,root,root,-)
%{pear_xmldir}/%{pear_name}.xml
%{pear_testdir}/%{pear_name}
%{pear_phpdir}/Net/POP3.php
%changelog
* Sat Jan 13 2007 Christopher Stone <chris.stone at gmail.com> 1.3.6-2
- Fix Requires for Auth_SASL
* Fri Jan 05 2007 Christopher Stone <chris.stone at gmail.com> 1.3.6-1
- Initial Release
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Net-POP3/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 13 Jan 2007 22:16:58 -0000 1.1
+++ .cvsignore 13 Jan 2007 22:17:14 -0000 1.2
@@ -0,0 +1 @@
+Net_POP3-1.3.6.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Net-POP3/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 13 Jan 2007 22:16:58 -0000 1.1
+++ sources 13 Jan 2007 22:17:14 -0000 1.2
@@ -0,0 +1 @@
+dad6200744d2c8f326fbec1f5e0c8249 Net_POP3-1.3.6.tgz
More information about the scm-commits
mailing list