Группа :: Разработка/Прочее
Пакет: perl-Math-Symbolic
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Group: Development/Other
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Imager.pm) perl(Math/Complex.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Math-Symbolic
Version: 0.612
Release: alt2_18
Summary: Symbolic calculations
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-Symbolic
Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/Math-Symbolic-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(constant.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Memoize.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(overload.pm)
BuildRequires: perl(Parse/RecDescent.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(vars.pm)
BuildRequires: perl(warnings.pm)
Requires: perl(Memoize.pm) >= 1.010
# RPM 4.9 style:
Source44: import.info
%filter_from_requires /perl(Memoize.pm)/d
%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
chmod -c a-x examples/*
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
# %{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc Changes README TODO Yapp.yp examples
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь
# BEGIN SourceDeps(oneline):
BuildRequires(pre): rpm-build-perl
BuildRequires: perl(Imager.pm) perl(Math/Complex.pm) perl-podlators
# END SourceDeps(oneline)
# see https://bugzilla.altlinux.org/show_bug.cgi?id=10382
%define _localstatedir %{_var}
Name: perl-Math-Symbolic
Version: 0.612
Release: alt2_18
Summary: Symbolic calculations
License: GPL+ or Artistic
URL: https://metacpan.org/release/Math-Symbolic
Source0: https://cpan.metacpan.org/authors/id/S/SM/SMUELLER/Math-Symbolic-%{version}.tar.gz
BuildArch: noarch
BuildRequires: perl-devel
BuildRequires: rpm-build-perl
BuildRequires: perl(base.pm)
BuildRequires: perl(Carp.pm)
BuildRequires: perl(constant.pm)
BuildRequires: perl(Data/Dumper.pm)
BuildRequires: perl(Exporter.pm)
BuildRequires: perl(Memoize.pm)
BuildRequires: perl(Module/Build.pm)
BuildRequires: perl(overload.pm)
BuildRequires: perl(Parse/RecDescent.pm)
BuildRequires: perl(strict.pm)
BuildRequires: perl(Test/More.pm)
BuildRequires: perl(vars.pm)
BuildRequires: perl(warnings.pm)
Requires: perl(Memoize.pm) >= 1.010
# RPM 4.9 style:
Source44: import.info
%filter_from_requires /perl(Memoize.pm)/d
%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
chmod -c a-x examples/*
%build
perl Build.PL installdirs=vendor
./Build
%install
./Build install destdir=%{buildroot} create_packlist=0
# %{_fixperms} %{buildroot}/*
%check
./Build test
%files
%doc Changes README TODO Yapp.yp examples
%{perl_vendor_privlib}/*
%changelog
…
Полный changelog можно просмотреть здесь