packages: php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec - up to 0....
glen
glen at pld-linux.org
Sat Oct 9 18:09:11 CEST 2010
Author: glen Date: Sat Oct 9 16:09:11 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- up to 0.8.0, drop tests, simplify desc
---- Files affected:
packages/php-pear-Math_Quaternion:
php-pear-Math_Quaternion.spec (1.22 -> 1.23)
---- Diffs:
================================================================
Index: packages/php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec
diff -u packages/php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec:1.22 packages/php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec:1.23
--- packages/php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec:1.22 Thu Jan 31 13:17:19 2008
+++ packages/php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec Sat Oct 9 18:09:06 2010
@@ -1,20 +1,16 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.php
-%define _class Math
-%define _subclass Quaternion
%define _status beta
-%define _pearname %{_class}_%{_subclass}
-
+%define _pearname Math_Quaternion
Summary: %{_class}_%{_subclass} - Classes that define Quaternions and their operations
Summary(pl.UTF-8): %{_class}_%{_subclass} - klasy definiujące kwaterniony i operacje na nich
Name: php-pear-%{_pearname}
-Version: 0.7.1
-Release: 5
-Epoch: 0
+Version: 0.8.0
+Release: 1
License: PHP 2.02
Group: Development/Languages/PHP
Source0: http://pear.php.net/get/%{_pearname}-%{version}.tgz
-# Source0-md5: c52ea340a25502696f0d013d4ec05be3
+# Source0-md5: f4dfc1b6b2bf0fc057835b2cbba186a1
URL: http://pear.php.net/package/Math_Quaternion/
BuildRequires: php-pear-PEAR
BuildRequires: rpm-php-pearprov >= 4.4.2-11
@@ -25,59 +21,27 @@
%description
Classes that represent and manipulate quaternions. Contain definitions
-for basic arithmetic functions in a static class. Quaternions are an
-extension of the idea of complex numbers, and a quaternion is defined as:
-q = a + b*i + c*j + d*k
-In 1844 Hamilton described a system in which numbers were composed of
-a real part and 3 imaginary and independent parts (i,j,k), such that:
-i^2 = j^2 = k^2 = -1 and
-ij = k, jk = i, ki = j and
-ji = -k, kj = -i, ik = -j
-The above are known as "Hamilton's rules".
+for basic arithmetic functions in a static class.
In PEAR status of this package is: %{_status}.
%description -l pl.UTF-8
Klasy służące do reprezentacji i obliczeń na kwaternionach. Zawierają
definicje podstawowych działań arytmetycznych w tej statycznej klasie.
-Kwaterniony są rozszerzeniem idei liczb zespolonych; kwaternion jest
-zdefiniowany jako:
-q = a + b*i + c*j + d*k
-W roku 1844 Hamilton opisał system, w którym liczby składają się z
-części rzeczywistej oraz 3 urojonych, niezależnych części (i,j,k),
-takich że:
-i^2 = j^2 = k^2 = -1 oraz
-ij = k, jk = i, ki = j oraz
-ji = -k, kj = -i, ik = -j
-Powyższe zasady znane są jako "reguły Hamiltona".
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}
-AutoReq: no
-AutoProv: 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}/test/*,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}
+
%clean
rm -rf $RPM_BUILD_ROOT
@@ -85,11 +49,10 @@
%defattr(644,root,root,755)
%doc install.log
%{php_pear_dir}/.registry/*.reg
-%{php_pear_dir}/%{_class}/*.php
+%{php_pear_dir}/Math/Quaternion.php
+%{php_pear_dir}/Math/QuaternionOp.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
@@ -97,6 +60,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.23 2010/10/09 16:09:06 glen
+- up to 0.8.0, drop tests, simplify desc
+
Revision 1.22 2008/01/31 12:17:19 glen
- rel 5
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/php-pear-Math_Quaternion/php-pear-Math_Quaternion.spec?r1=1.22&r2=1.23&f=u
More information about the pld-cvs-commit
mailing list