From b81a856908ee733a15e92d33f0faf04b54183a31 Mon Sep 17 00:00:00 2001 From: pertusus Date: Feb 22 2008 22:27:05 +0000 Subject: Initial import --- diff --git a/.cvsignore b/.cvsignore index e69de29..d84f0fe 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +Math-Symbolic-0.510.tar.gz diff --git a/perl-Math-Symbolic.spec b/perl-Math-Symbolic.spec new file mode 100644 index 0000000..d465417 --- /dev/null +++ b/perl-Math-Symbolic.spec @@ -0,0 +1,66 @@ +Name: perl-Math-Symbolic +Version: 0.510 +Release: 1%{?dist} +Summary: Symbolic calculations +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Math-Symbolic/ +Source0: http://www.cpan.org/authors/id/S/SM/SMUELLER/Math-Symbolic-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildArch: noarch +BuildRequires: perl(Module::Build) +BuildRequires: perl(Parse::RecDescent) +BuildRequires: perl(Test::Pod) >= 1.0 +BuildRequires: perl(Test::Pod::Coverage) >= 1.0 +BuildRequires: perl(Test::Distribution) +BuildRequires: perl(Test::More) +BuildRequires: perl(Memoize) +BuildRequires: perl(Data::Dumper) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Math::Symbolic is intended to offer symbolic calculation capabilities to +the Perl programmer without using external (and commercial) libraries +and/or applications. + +%prep +%setup -q -n Math-Symbolic-%{version} +for file in Changes README `find lib -name '*.pm'`; do + iconv -flatin1 -tutf8 < $file > $file.utf8 + touch -r $file $file.utf8 + mv $file.utf8 $file +done + +%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/* + +rm -rf __dist_examples +mkdir __dist_examples +cp -a examples __dist_examples +chmod a-x __dist_examples/examples/* + + +%check +./Build test + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(-,root,root,-) +%doc Changes README TODO Yapp.yp __dist_examples/examples/ +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Feb 20 2008 Patrice Dumas 0.510-1 +- Specfile mostly autogenerated by cpanspec 1.74. diff --git a/sources b/sources index e69de29..db12125 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +87cb7c3e76227238a583c313226dd53e Math-Symbolic-0.510.tar.gz