rpms/php-pear-Auth-SASL/devel php-pear-Auth-SASL.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Remi Collet (remi)
fedora-extras-commits at redhat.com
Mon Sep 4 16:16:57 UTC 2006
Author: remi
Update of /cvs/extras/rpms/php-pear-Auth-SASL/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv5462/devel
Modified Files:
.cvsignore sources
Added Files:
php-pear-Auth-SASL.spec
Log Message:
auto-import php-pear-Auth-SASL-1.0.2-3.fc5 on branch devel from php-pear-Auth-SASL-1.0.2-3.fc5.src.rpm
--- NEW FILE php-pear-Auth-SASL.spec ---
# 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
Name: php-pear-Auth-SASL
Version: 1.0.2
Release: 3%{?dist}
License: BSD
Group: Development/Libraries
Source: http://pear.php.net/get/Auth_SASL-%{version}.tgz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
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
Requires(post): %{__pear}
Requires(postun): %{__pear}
Provides: php-pear(Auth_SASL) = %{version}
%description
Provides code to generate responses to common SASL mechanisms, including:
o Digest-MD5
o CramMD5
o Plain
o Anonymous
o Login (Pseudo mechanism)
%description -l fr
Fournit le code pour répondre aux mécanismes SASL commun, comprennant :
o Digest-MD5 (secret partagé)
o CramMD5 (secret partagé)
o Plain (en clair)
o Anonymous (anonyme)
o Login (Pseudo-mécanisme)
%prep
%setup -q -n Auth_SASL-%{version}
mv ../package.xml .
%install
rm -rf %{buildroot}
%{__pear} install --nodeps --packagingroot %{buildroot} package.xml
# Clean up unnecessary files
rm -rf %{buildroot}%{pear_phpdir}/.??*
# Install XML package description
%{__mkdir_p} %{buildroot}%{pear_xmldir}
%{__install} -pm 644 package.xml %{buildroot}%{pear_xmldir}/Auth_SASL.xml
%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 || :
%postun
# if refcount = 0 then package has been removed (not upgraded)
if [ "$1" -eq "0" ]; then
%{__pear} uninstall --nodeps --ignore-errors --register-only Auth_SASL >/dev/null || :
fi
%files
%defattr(-,root,root,-)
%{pear_phpdir}/Auth
%{pear_xmldir}/Auth_SASL.xml
%changelog
* Sun Sep 03 2006 Remi Collet <Fedora at FamilleCollet.com> 1.0.2-3
- new and simpler %%prep and %%install
* Sun Jul 23 2006 Remi Collet <Fedora at FamilleCollet.com> 1.0.2-2
- use new macros from /etc/rpm/macros.pear
- own /usr/share/pear/Auth
* Sun May 21 2006 Remi Collet <Fedora at FamilleCollet.com> 1.0.2-1
- update to new 1.0.2
* Sat May 20 2006 Remi Collet <Fedora at FamilleCollet.com> 1.0.1-2
- Require pear >= 1.4.9
- use --packagingroot (instead of -R)
- check from install to check (as in php-pear)
* Sat May 06 2006 Remi Collet <Fedora at FamilleCollet.com> 1.0.1-1
- spec for extras
- use %%{_datadir}/pear/.pkgxml for XML (Bug #190252)
* Thu Apr 06 2006 Remi Collet <rpms at FamilleCollet.com> 1.0.1-2.fc{3,4,5}.remi
- change /var/lib/pear to %%{_libdir}/php/pear for XML (as in extras for FC5)
- spec cleanning
* Sat Mar 04 2006 Remi Collet <RPMS at FamilleCollet.com> 1.0.1-1.fc{3,4}.remi
- initial RPM of 1.0.1
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-SASL/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 4 Sep 2006 16:16:08 -0000 1.1
+++ .cvsignore 4 Sep 2006 16:16:56 -0000 1.2
@@ -0,0 +1 @@
+Auth_SASL-1.0.2.tgz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/php-pear-Auth-SASL/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 4 Sep 2006 16:16:08 -0000 1.1
+++ sources 4 Sep 2006 16:16:56 -0000 1.2
@@ -0,0 +1 @@
+e6a4f4e56dec992ac965678233437aa4 Auth_SASL-1.0.2.tgz
More information about the scm-commits
mailing list