rpms/php-pear-Net-SMTP/devel php-pear-Net-SMTP.spec,1.1,1.2
Remi Collet (remi)
fedora-extras-commits at redhat.com
Fri Sep 8 17:17:17 UTC 2006
Author: remi
Update of /cvs/extras/rpms/php-pear-Net-SMTP/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30208
Modified Files:
php-pear-Net-SMTP.spec
Log Message:
latest template.spec
Index: php-pear-Net-SMTP.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Net-SMTP/devel/php-pear-Net-SMTP.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- php-pear-Net-SMTP.spec 4 Sep 2006 16:26:41 -0000 1.1
+++ php-pear-Net-SMTP.spec 8 Sep 2006 17:17:17 -0000 1.2
@@ -10,7 +10,7 @@
Summary(fr): PEAR: Fournit une mise en oeuvre du protocol SMTP
Name: php-pear-Net-SMTP
Version: 1.2.8
-Release: 4%{?dist}
+Release: 5%{?dist}
License: PHP License
Group: Development/Libraries
Source: http://pear.php.net/get/Net_SMTP-%{version}.tgz
@@ -37,24 +37,32 @@
l'extension "php-pear-Auth-SASL".
%prep
-%setup -q -n Net_SMTP-%{version}
-mv ../package2.xml .
+%setup -c -q
+mv package2.xml Net_SMTP-%{version}/Net_SMTP.xml
%{__install} -m 644 -c %{SOURCE1} LICENSE
+%build
+# Empty build section
+
%install
-%{__pear} install --nodeps --packagingroot %{buildroot} package2.xml
+rm -rf %{buildroot} docdir
+
+pushd Net_SMTP-%{version}
+%{__pear} install --nodeps --packagingroot %{buildroot} Net_SMTP.xml
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*
+# Install XML package description
+%{__mkdir_p} %{buildroot}%{pear_xmldir}
+%{__install} -pm 644 Net_SMTP.xml %{buildroot}%{pear_xmldir}
+
+popd
# Sort out documentation
%{__mkdir} docdir
mv %{buildroot}%{pear_docdir}/* docdir
-%{__mkdir_p} %{buildroot}%{pear_xmldir}
-%{__install} -pm 644 package2.xml %{buildroot}%{pear_xmldir}/Net_SMTP.xml
-
%check
# Sanity check
lst=$(find %{buildroot}%{pear_phpdir} -exec grep -q %{buildroot} {} \; -print)
@@ -74,12 +82,15 @@
%files
%defattr(-,root,root,-)
-%doc LICENSE docdir/Net_SMTP/docs/guide.txt docdir/Net_SMTP/docs/examples
+%doc LICENSE docdir/Net_SMTP/docs/*
%{pear_phpdir}/Net
%{pear_testdir}/Net_SMTP
%{pear_xmldir}/Net_SMTP.xml
%changelog
+* Fri Sep 08 2006 Remi Collet <Fedora at FamilleCollet.com> 1.2.8-5
+- last template.spec
+
* Sun Sep 03 2006 Remi Collet <Fedora at FamilleCollet.com> 1.2.8-4
- new and simpler %%prep and %%install
More information about the fedora-extras-commits
mailing list