rpms/php-pear-Auth-SASL/F-10 php-pear-Auth-SASL.spec,1.2,1.3
Remi Collet
remi at fedoraproject.org
Sat Apr 25 06:05:54 UTC 2009
- Previous message (by thread): rpms/php-pear-Auth-SASL/F-11 php-pear-Auth-SASL.spec,1.3,1.4
- Next message (by thread): rpms/kBuild/devel .cvsignore, 1.4, 1.5 kBuild.spec, 1.7, 1.8 sources, 1.4, 1.5 kBuild-0.1.5-revert2027.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/php-pear-Auth-SASL/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25501
Modified Files:
php-pear-Auth-SASL.spec
Log Message:
spec cleanup - remove php/httpd dependency
Index: php-pear-Auth-SASL.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-SASL/F-10/php-pear-Auth-SASL.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- php-pear-Auth-SASL.spec 8 Sep 2006 16:43:52 -0000 1.2
+++ php-pear-Auth-SASL.spec 25 Apr 2009 06:05:24 -0000 1.3
@@ -1,16 +1,11 @@
# default values when new /etc/rpm/macros.pear not present
%{!?__pear: %define __pear %{_bindir}/pear}
-%{!?pear_phpdir: %define pear_phpdir %(%{__pear} config-get php_dir 2> /dev/null || echo undefined)}
-%{!?pear_docdir: %define pear_docdir %(%{__pear} config-get doc_dir 2> /dev/null || echo undefined)}
-%{!?pear_testdir: %define pear_testdir %(%{__pear} config-get test_dir 2> /dev/null || echo undefined)}
-%{!?pear_datadir: %define pear_datadir %(%{__pear} config-get data_dir 2> /dev/null || echo undefined)}
-%{!?pear_xmldir: %define pear_xmldir %{pear_phpdir}/.pkgxml}
-Summary: PEAR: Abstraction of various SASL mechanism responses
-Summary(fr): PEAR: Abstraction de différents mécanismes de réponse SASL
+Summary: Abstraction of various SASL mechanism responses
+Summary(fr): Abstraction de différents mécanismes de réponse SASL
Name: php-pear-Auth-SASL
Version: 1.0.2
-Release: 4%{?dist}
+Release: 6%{?dist}
License: BSD
Group: Development/Libraries
Source: http://pear.php.net/get/Auth_SASL-%{version}.tgz
@@ -18,8 +13,8 @@
URL: http://pear.php.net/package/Auth_SASL
BuildArch: noarch
-BuildRequires: php-pear(PEAR) >= 1.4.9
-Requires: php-pear(PEAR) >= 1.4.9, php >= 4.0.0
+BuildRequires: php-pear >= 1:1.4.9-1.2
+Requires: php-pear(PEAR) >= 1.4.9
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(Auth_SASL) = %{version}
@@ -40,36 +35,43 @@
o Anonymous (anonyme)
o Login (Pseudo-mécanisme)
+
%prep
%setup -c -q
-mv package.xml Auth_SASL-%{version}/Auth_SASL.xml
+mv package.xml Auth_SASL-%{version}/%{name}.xml
+
%build
# Empty build section
+
%install
rm -rf %{buildroot}
cd Auth_SASL-%{version}
-%{__pear} install --nodeps --packagingroot %{buildroot} Auth_SASL.xml
+%{__pear} install --nodeps --packagingroot %{buildroot} %{name}.xml
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*
# Install XML package description
%{__mkdir_p} %{buildroot}%{pear_xmldir}
-%{__install} -pm 644 Auth_SASL.xml %{buildroot}%{pear_xmldir}
+%{__install} -pm 644 %{name}.xml %{buildroot}%{pear_xmldir}
+
%check
# Sanity check
lst=$(find %{buildroot}%{pear_phpdir} -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}/Auth_SASL.xml >/dev/null || :
+%{__pear} install --nodeps --soft --force --register-only %{pear_xmldir}/%{name}.xml >/dev/null || :
+
%postun
# if refcount = 0 then package has been removed (not upgraded)
@@ -80,9 +82,14 @@
%files
%defattr(-,root,root,-)
%{pear_phpdir}/Auth
-%{pear_xmldir}/Auth_SASL.xml
+%{pear_xmldir}/%{name}.xml
%changelog
+* Sat Apr 25 2009 Remi Collet <Fedora at FamilleCollet.com> 1.0.2-6
+- remove PEAR from sumnary
+- remove php (httpd) dependency
+- spec clean up
+
* Thu Sep 07 2006 Remi Collet <Fedora at FamilleCollet.com> 1.0.2-4
- last template.spec
- Previous message (by thread): rpms/php-pear-Auth-SASL/F-11 php-pear-Auth-SASL.spec,1.3,1.4
- Next message (by thread): rpms/kBuild/devel .cvsignore, 1.4, 1.5 kBuild.spec, 1.7, 1.8 sources, 1.4, 1.5 kBuild-0.1.5-revert2027.patch, 1.1, NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list