packages: php-pear-Math_Matrix/php-pear-Math_Matrix.spec - up to 0.8.7; dro...
glen
glen at pld-linux.org
Sat Oct 9 18:06:02 CEST 2010
Author: glen Date: Sat Oct 9 16:06:03 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.8.7; drop tests
---- Files affected:
packages/php-pear-Math_Matrix:
php-pear-Math_Matrix.spec (1.19 -> 1.20)
---- Diffs:
================================================================
Index: packages/php-pear-Math_Matrix/php-pear-Math_Matrix.spec
diff -u packages/php-pear-Math_Matrix/php-pear-Math_Matrix.spec:1.19 packages/php-pear-Math_Matrix/php-pear-Math_Matrix.spec:1.20
--- packages/php-pear-Math_Matrix/php-pear-Math_Matrix.spec:1.19 Sat Aug 21 21:09:22 2010
+++ packages/php-pear-Math_Matrix/php-pear-Math_Matrix.spec Sat Oct 9 18:05:54 2010
@@ -1,26 +1,23 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.php
-%define _class Math
-%define _subclass Matrix
%define _status beta
-%define _pearname %{_class}_%{_subclass}
+%define _pearname Math_Matrix
Summary: %{_pearname} - class to represent matrices and matrix operations
Summary(pl.UTF-8): %{_pearname} - klasa do prezentowanie macierzy i operacji na nich
Name: php-pear-%{_pearname}
-Version: 0.8.5
-Release: 6
-Epoch: 0
+Version: 0.8.7
+Release: 1
License: PHP
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: 6ffaa481a6ae12d0b9aed9206d904a3c
+# Source0-md5: 15412fb97880ef4a57567fda664a2120
URL: http://pear.php.net/package/Math_Matrix/
-BuildRequires: php-pear-PEAR
+BuildRequires: php-pear-PEAR >= 1:1.5.6
BuildRequires: rpm-php-pearprov >= 4.4.2-11
BuildRequires: rpmbuild(macros) >= 1.300
Requires: php-pear
-Requires: php-pear-Math_Vector
-Suggests: php-pear-PHPUnit <= 0.6.2
+Requires: php-pear-Math_Vector >= 0.7.0
+Obsoletes: php-pear-Math_Matrix-tests
BuildArch: noarch
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -45,44 +42,29 @@
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
-install -d ./%{php_pear_dir}/tests/%{_pearname}
-mv ./%{php_pear_dir}/{%{_class}/tests/*,tests/%{_pearname}}
-
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{php_pear_dir}
%pear_package_install
+# tests should not be packaged
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/examples
+
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc install.log optional-packages.txt
+%doc install.log
%doc docs/%{_pearname}/docs/*
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Math/Matrix.php
-%files tests
-%defattr(644,root,root,755)
-%{php_pear_dir}/tests/*
+%{php_pear_dir}/data/%{_pearname}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -90,6 +72,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.20 2010/10/09 16:05:54 glen
+- up to 0.8.7; drop tests
+
Revision 1.19 2010/08/21 19:09:22 glen
- updated deps with pearize.sh
- release 6
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Math_Matrix/php-pear-Math_Matrix.spec?r1=1.19&r2=1.20&f=u
More information about the pld-cvs-commit
mailing list