packages: php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec, php-pear-Crypt_CHAP...
glen
glen at pld-linux.org
Tue Sep 21 10:39:11 CEST 2010
Author: glen Date: Tue Sep 21 08:39:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 1.5.0
---- Files affected:
packages/php-pear-Crypt_CHAP:
php-pear-Crypt_CHAP.spec (1.36 -> 1.37) , mhash.patch (1.1 -> NONE) (REMOVED)
---- Diffs:
================================================================
Index: packages/php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec
diff -u packages/php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec:1.36 packages/php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec:1.37
--- packages/php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec:1.36 Wed Sep 1 22:35:18 2010
+++ packages/php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec Tue Sep 21 10:39:06 2010
@@ -1,31 +1,28 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.php
-%define _class Crypt
-%define _subclass CHAP
%define _status stable
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Crypt_CHAP
Summary: %{_pearname} - Generating CHAP packets
Summary(pl.UTF-8): %{_pearname} - Generowanie pakietów CHAP
Name: php-pear-%{_pearname}
-Version: 1.0.2
-Release: 3
-Epoch: 0
+Version: 1.5.0
+Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 4175a1d5486f305831adba517009c253
-Patch0: mhash.patch
+# Source0-md5: 6706a6aad9a576a2f9a13b2d9c936e93
URL: http://pear.php.net/package/Crypt_CHAP/
+BuildRequires: php-packagexml2cl
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-pear
+Suggests: php-hash
Suggests: php-mcrypt
-Suggests: php-mhash
+Obsoletes: php-pear-Crypt_CHAP-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
-
%description
This package provides Classes for generating CHAP packets. Currently
these types of CHAP are supported:
@@ -44,46 +41,28 @@
Ta klasa ma w PEAR status: %{_status}.
-%package tests
-Summary: Tests for PEAR::%{_pearname}
-Summary(pl.UTF-8): Testy dla PEAR::%{_pearname}
-Group: Development/Languages/PHP
-Requires: %{name} = %{epoch}:%{version}-%{release}
-AutoProv: no
-AutoReq: no
-
-%description tests
-Tests for PEAR::%{_pearname}.
-
-%description tests -l pl.UTF-8
-Testy dla PEAR::%{_pearname}.
-
%prep
%pear_package_setup
-%patch0 -p1
+
+%build
+packagexml2cl package.xml > ChangeLog
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-if [ -f %{_docdir}/%{name}-%{version}/optional-packages.txt ]; then
- cat %{_docdir}/%{name}-%{version}/optional-packages.txt
-fi
-
%files
%defattr(644,root,root,755)
-%doc install.log optional-packages.txt
-%{php_pear_dir}/%{_class}/*.php
+%doc ChangeLog install.log
%{php_pear_dir}/.registry/*.reg
-
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/Crypt/CHAP.php
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -91,6 +70,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.37 2010/09/21 08:39:06 glen
+- up to 1.5.0
+
Revision 1.36 2010/09/01 20:35:18 areq
- s/mhash/hash/ by Adam Chabin
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Crypt_CHAP/php-pear-Crypt_CHAP.spec?r1=1.36&r2=1.37&f=u
More information about the pld-cvs-commit
mailing list