rpms/php-pear-Auth-SASL/EL-5 php-pear-Auth-SASL.spec, 1.2, 1.3 sources, 1.2, 1.3
Remi Collet
remi at fedoraproject.org
Sat Aug 8 06:39:24 UTC 2009
- Previous message: rpms/perl-Catalyst-Plugin-Session-State-Cookie/devel .cvsignore, 1.4, 1.5 perl-Catalyst-Plugin-Session-State-Cookie.spec, 1.7, 1.8 sources, 1.4, 1.5
- Next message: rpms/perl-Catalyst-Plugin-Authentication/devel .cvsignore, 1.8, 1.9 perl-Catalyst-Plugin-Authentication.spec, 1.10, 1.11 sources, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: remi
Update of /cvs/extras/rpms/php-pear-Auth-SASL/EL-5
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv13645
Modified Files:
php-pear-Auth-SASL.spec sources
Log Message:
update to 1.0.3 (bugfix)
Index: php-pear-Auth-SASL.spec
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-SASL/EL-5/php-pear-Auth-SASL.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- php-pear-Auth-SASL.spec 8 Sep 2006 16:43:52 -0000 1.2
+++ php-pear-Auth-SASL.spec 8 Aug 2009 06:39:23 -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}
+Version: 1.0.3
+Release: 1%{?dist}
License: BSD
Group: Development/Libraries
Source: http://pear.php.net/get/Auth_SASL-%{version}.tgz
@@ -18,8 +13,8 @@ BuildRoot: %{_tmppath}/%{name}-%{versi
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 Plain (en clair)
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,15 @@ fi
%files
%defattr(-,root,root,-)
%{pear_phpdir}/Auth
-%{pear_xmldir}/Auth_SASL.xml
+%{pear_xmldir}/%{name}.xml
%changelog
+* Sat Aug 08 2009 Remi Collet <Fedora at FamilleCollet.com> 1.0.3-1
+- update to 1.0.3
+- 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
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-SASL/EL-5/sources,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -p -r1.2 -r1.3
--- sources 4 Sep 2006 16:16:56 -0000 1.2
+++ sources 8 Aug 2009 06:39:23 -0000 1.3
@@ -1 +1 @@
-e6a4f4e56dec992ac965678233437aa4 Auth_SASL-1.0.2.tgz
+8202de3b24015b6885871103e3af1e33 Auth_SASL-1.0.3.tgz
- Previous message: rpms/perl-Catalyst-Plugin-Session-State-Cookie/devel .cvsignore, 1.4, 1.5 perl-Catalyst-Plugin-Session-State-Cookie.spec, 1.7, 1.8 sources, 1.4, 1.5
- Next message: rpms/perl-Catalyst-Plugin-Authentication/devel .cvsignore, 1.8, 1.9 perl-Catalyst-Plugin-Authentication.spec, 1.10, 1.11 sources, 1.8, 1.9
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the scm-commits
mailing list