packages: php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootF...

glen glen at pld-linux.org
Thu Aug 19 16:02:40 CEST 2010


Author: glen                         Date: Thu Aug 19 14:02:41 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 1.1.0a1

---- Files affected:
packages/php-pear-Math_Numerical_RootFinding:
   php-pear-Math_Numerical_RootFinding.spec (1.20 -> 1.21) 

---- Diffs:

================================================================
Index: packages/php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootFinding.spec
diff -u packages/php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootFinding.spec:1.20 packages/php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootFinding.spec:1.21
--- packages/php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootFinding.spec:1.20	Thu Jan 31 13:16:08 2008
+++ packages/php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootFinding.spec	Thu Aug 19 16:02:32 2010
@@ -3,18 +3,19 @@
 %define		_class		Math
 %define		_subclass	Numerical
 %define		_subsubclass	RootFinding
-%define		_status		stable
+%define		_status		alpha
 %define		_pearname	%{_class}_%{_subclass}_%{_subsubclass}
-
+%define		subver	a1
+%define		rel		1
 Summary:	%{_pearname} - numerical analysis root finding methods
 Summary(pl.UTF-8):	%{_pearname} - metody numeryczne znajdowania pierwiastków
 Name:		php-pear-%{_pearname}
-Version:	1.0.0
-Release:	2
+Version:	1.1.0
+Release:	0.%{subver}.%{rel}
 License:	PHP 2.02
 Group:		Development/Languages/PHP
-Source0:	http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5:	c7844e254e232f9bfa4ba53748a47045
+Source0:	http://pear.php.net/get/%{_pearname}-%{version}%{subver}.tgz
+# Source0-md5:	da5d0c4dbbd942aab57803d84cb6790a
 URL:		http://pear.php.net/package/Math_Numerical_RootFinding/
 BuildRequires:	php-pear-PEAR
 BuildRequires:	rpm-php-pearprov >= 4.4.2-11
@@ -49,29 +50,41 @@
 %prep
 %pear_package_setup
 
+mv docs/%{_pearname}/docs/examples .
+
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{php_pear_dir}
+install -d $RPM_BUILD_ROOT{%{php_pear_dir},%{_examplesdir}/%{name}-%{version}}
 %pear_package_install
 
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+# don't care for tests
+rm -rf $RPM_BUILD_ROOT%{php_pear_dir}/tests/%{_pearname}
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 %doc install.log
-%doc docs/%{_pearname}/*
+%doc docs/%{_pearname}/docs/*
 %{php_pear_dir}/.registry/*.reg
 %dir %{php_pear_dir}/%{_class}/%{_subclass}
 %{php_pear_dir}/%{_class}/%{_subclass}/*.php
 %{php_pear_dir}/%{_class}/%{_subclass}/%{_subsubclass}
 
+%{_examplesdir}/%{name}-%{version}
+
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
 * %{date} PLD Team <feedback at pld-linux.org>
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.21  2010/08/19 14:02:32  glen
+- up to 1.1.0a1
+
 Revision 1.20  2008/01/31 12:16:08  glen
 - rel 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Math_Numerical_RootFinding/php-pear-Math_Numerical_RootFinding.spec?r1=1.20&r2=1.21&f=u



More information about the pld-cvs-commit mailing list