]> git.pld-linux.org Git - SPECS.git/blob - perl-Math-MVPoly.spec
SPECS updated Sat 31 Jul 20:27:02 CEST 2021
[SPECS.git] / perl-Math-MVPoly.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4
5 %define         pdir    Math
6 %define         pnam    MVPoly
7 Summary:        MVPoly - multi-variable polynomial algebra library
8 Summary(pl.UTF-8):      MVPoly - biblioteka algebry na wielomianach z wieloma zmiennymi
9 Name:           perl-Math-MVPoly
10 Version:        0.8b
11 Release:        2
12 # same as perl
13 License:        GPL v1+ or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  00d092600150b18848ea5b534c8cd334
17 URL:            http://search.cpan.org/dist/Math-MVPoly/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 MVPoly is a multi-variable polynomial algebra library and command
25 interpreter. It implements the core algebraic functionality to support
26 operations upto and including determining Groebner Basis. Four
27 monomial orderings are supported: grlex, grevlex, lex, and total
28 degree. Variable orderings are also supported. A parser is included as
29 a means to construct a simple command-line interfaces similar to that
30 of Maple.
31
32 %description -l pl.UTF-8
33 MVPoly to biblioteka i interpreter algebry na wielomianach z wieloma
34 zmiennymi. Ma zaimplementowaną podstawową funkcjonalność algebraiczną,
35 aby obsługiwać operacje włącznie z określaniem bazy Groebnera.
36 Obsługiwane są cztery porządki jednomianów: grlex, grevlex, lex i
37 łącznego stopnia.
38
39 %prep
40 %setup -q -n %{pnam}
41
42 %build
43 %{__perl} Makefile.PL \
44         INSTALLDIRS=vendor
45
46 %{__make}
47
48 %{?with_tests:%{__make} test}
49
50 %install
51 rm -rf $RPM_BUILD_ROOT
52
53 %{__make} install \
54         DESTDIR=$RPM_BUILD_ROOT
55
56 %clean
57 rm -rf $RPM_BUILD_ROOT
58
59 %files
60 %defattr(644,root,root,755)
61 %doc README
62 %{perl_vendorlib}/Math/MVPoly
63 %{_mandir}/man3/*
This page took 0.309712 seconds and 3 git commands to generate.