SPECS: perl-Math-Orthonormalize.spec (NEW) - initial, rel 0.1, but...
agaran
agaran at pld-linux.org
Mon Mar 19 11:32:16 CET 2007
Author: agaran Date: Mon Mar 19 10:32:16 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initial, rel 0.1, but adapterized
---- Files affected:
SPECS:
perl-Math-Orthonormalize.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Math-Orthonormalize.spec
diff -u /dev/null SPECS/perl-Math-Orthonormalize.spec:1.1
--- /dev/null Mon Mar 19 11:32:16 2007
+++ SPECS/perl-Math-Orthonormalize.spec Mon Mar 19 11:32:11 2007
@@ -0,0 +1,79 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Math
+%define pnam Orthonormalize
+Summary: Math::Orthonormalize - Gram-Schmidt Orthonormalization of vectors
+#Summary(pl):
+Name: perl-Math-Orthonormalize
+Version: 1.00
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 99952630af206c46221256e32d3916ec
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+%if %{with tests}
+BuildRequires: perl(Math::Symbolic) >= 0.128
+BuildRequires: perl(Parse::RecDescent) >= 1.8
+%endif
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Math::Orthonormalize offers subroutines to compute normalized or
+non-normalized orthogonal bases of Euclidean vector spaces. That
+means: Given a vector base of R^n, it computes a new base of R^n whose
+individual vectors are all orthogonal. If those new base vectors all
+have a length of 1, the base is orthonormalized.
+
+The module uses the Gram-Schmidt Algorithm.
+
+No subroutines are exported by default, but the standart Exporter
+semantics are in place, including the ':all' tag that imports all of
+the exportable subroutines which are listed below.
+
+
+
+# %description -l pl # TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Build.PL \
+ destdir=$RPM_BUILD_ROOT \
+ installdirs=vendor
+./Build
+
+%{?with_tests:./Build test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+./Build install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README
+%{perl_vendorlib}/Math/*.pm
+#%{perl_vendorlib}/Math/Orthonormalize
+%{_mandir}/man3/*
+
+%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.1 2007/03/19 10:32:11 agaran
+- initial, rel 0.1, but adapterized
+
================================================================
More information about the pld-cvs-commit
mailing list