commit 1c62e16462d90b40f7113c373f07ffd051977dff Author: Miro Hrončok <miro@xxxxxxxxxx> Date: Sun Jan 13 21:46:24 2013 +0100 Initial import (#890828) .gitignore | 1 + perl-Math-Expression-Evaluator.spec | 60 +++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 62 insertions(+), 0 deletions(-) --- diff --git a/.gitignore b/.gitignore index e69de29..444d03e 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/Math-Expression-Evaluator-v0.3.2.tar.gz diff --git a/perl-Math-Expression-Evaluator.spec b/perl-Math-Expression-Evaluator.spec new file mode 100644 index 0000000..323fb93 --- /dev/null +++ b/perl-Math-Expression-Evaluator.spec @@ -0,0 +1,60 @@ +Name: perl-Math-Expression-Evaluator +Version: 0.3.2 +Release: 3%{?dist} +Summary: Parses, compiles and evaluates mathematics expressions +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/Math-Expression-Evaluator/ +Source0: http://www.cpan.org/authors/id/M/MO/MORITZ/Math-Expression-Evaluator-v%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl >= 0:5.006001 +BuildRequires: perl(Benchmark) +BuildRequires: perl(Carp) +BuildRequires: perl(Data::Dumper) +BuildRequires: perl(Exporter) +BuildRequires: perl(Math::Trig) +BuildRequires: perl(Module::Build) +BuildRequires: perl(POSIX) +BuildRequires: perl(Test::More) +BuildRequires: perl(Test::Pod::Coverage) +Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) + +%description +Math::Expression::Evaluator is a parser, compiler and interpreter for +mathematical expressions. It can handle normal arithmetic (including +powers wit ^ or **), built-in functions like sin() and variables. + +%prep +%setup -q -n Math-Expression-Evaluator-v%{version} +iconv -f iso8859-1 -t utf-8 README > README.conv && mv -f README.conv README + +%build +%{__perl} Build.PL installdirs=vendor +./Build + +%install +./Build install destdir=%{buildroot} create_packlist=0 +find %{buildroot} -type f -name '*.pm' -exec chmod -x {} 2>/dev/null ';' + +%{_fixperms} %{buildroot}/* + +%check +./Build test + +%files +%doc Changes examples README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Sun Dec 30 2012 Miro Hrončok <miro@xxxxxxxxxx> - 0.3.2-3 +- Removed the deleting empty directories +- Removed filter for shared libs, noarch +- Removed explicitly Required Benchmark and lib, they are not needed +- Added previously removed BRs back + +* Fri Nov 16 2012 Miro Hrončok <miro@xxxxxxxxxx> - 0.3.2-2 +- Removed BRs provided by perl package + +* Sun Sep 23 2012 Miro Hrončok <miro@xxxxxxxxxx> 0.3.2-1 +- Specfile autogenerated by cpanspec 1.78 and revised. diff --git a/sources b/sources index e69de29..9cc529a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4ca1facdbaf4c3f2031d5fd1ef460f10 Math-Expression-Evaluator-v0.3.2.tar.gz -- Fedora Extras Perl SIG http://www.fedoraproject.org/wiki/Extras/SIGs/Perl perl-devel mailing list perl-devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/perl-devel