rpms/perl-Math-MatrixReal/F-8 perl-Math-MatrixReal.spec,NONE,1.1
Patrice Dumas
pertusus at fedoraproject.org
Fri Feb 22 22:26:03 UTC 2008
Author: pertusus
Update of /cvs/extras/rpms/perl-Math-MatrixReal/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv26930/F-8
Added Files:
perl-Math-MatrixReal.spec
Log Message:
add spec files
--- NEW FILE perl-Math-MatrixReal.spec ---
Name: perl-Math-MatrixReal
Version: 2.03
Release: 1%{?dist}
Summary: Manipulate matrix of reals
License: GPL+ or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/Math-MatrixReal/
Source0: http://www.cpan.org/authors/id/L/LE/LETO/Math-MatrixReal-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
BuildRequires: perl(Module::Build) perl(File::Spec) perl(Test::Simple)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
Implements the data type "matrix of reals", which can be used almost like
any other basic Perl type thanks to OPERATOR OVERLOADING, i.e.,
$product = $matrix1 * $matrix2;
does what you would like it to do (a matrix multiplication).
%prep
%setup -q -n Math-MatrixReal-%{version}
%build
%{__perl} Build.PL installdirs=vendor
./Build
%install
rm -rf $RPM_BUILD_ROOT
./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
%{_fixperms} $RPM_BUILD_ROOT/*
%check
./Build test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc CHANGES CREDITS GOALS README TODO
%{perl_vendorlib}/*
%{_mandir}/man3/*
%changelog
* Wed Feb 20 2008 Patrice Dumas <pertusus at free.fr> 2.03-1
- Specfile almost autogenerated by cpanspec 1.74.
More information about the Fedora-perl-devel-list
mailing list