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