[72aae3] | 1 | Name: singular |
---|
| 2 | Summary: computer algebra system for polynomial computations (binary files) |
---|
[9dfcc6e] | 3 | Version: @PACKAGE_VERSION@ |
---|
[72aae3] | 4 | Release: 1%{?dist} |
---|
| 5 | License: GPLv2+ |
---|
| 6 | Group: Applications/Math |
---|
| 7 | Vendor: Singular Team |
---|
| 8 | URL: http://www.singular.uni-kl.de |
---|
| 9 | Packager: Mathias Schulze <mschulze@mathematik.uni-kl.de> |
---|
| 10 | Source0: http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/UNIX/%{name}-%{version}.tar.gz |
---|
| 11 | BuildArch: %{_arch} |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
| 13 | BuildRequires: cddlib-devel, gmp-devel, ntl-devel |
---|
| 14 | Requires: singular-common |
---|
| 15 | |
---|
| 16 | %description |
---|
| 17 | Singular is a computer algebra system for polynomial computations with |
---|
| 18 | emphasis on the special needs of commutative algebra, algebraic geometry, |
---|
| 19 | and singularity theory. |
---|
| 20 | |
---|
| 21 | This package contains binary files. |
---|
| 22 | |
---|
| 23 | %package common |
---|
| 24 | Summary: computer algebra system for polynomial computations (common files). |
---|
| 25 | BuildArch: noarch |
---|
| 26 | %description common |
---|
| 27 | Singular is a computer algebra system for polynomial computations with |
---|
| 28 | emphasis on the special needs of commutative algebra, algebraic geometry, |
---|
| 29 | and singularity theory. |
---|
| 30 | |
---|
| 31 | This package contains architecture-independent files. |
---|
| 32 | |
---|
| 33 | %package devel |
---|
| 34 | Summary: computer algebra system for polynomial computations (development) |
---|
| 35 | BuildArch: noarch |
---|
| 36 | %description devel |
---|
| 37 | Singular is a computer algebra system for polynomial computations with |
---|
| 38 | emphasis on the special needs of commutative algebra, algebraic geometry, |
---|
| 39 | and singularity theory. |
---|
| 40 | |
---|
| 41 | This package contains development files. |
---|
| 42 | |
---|
| 43 | %prep |
---|
| 44 | %setup -q |
---|
| 45 | |
---|
| 46 | %check |
---|
| 47 | make check |
---|
| 48 | |
---|
| 49 | %build |
---|
| 50 | %configure --enable-gfanlib |
---|
| 51 | make %{?_smp_mflags} |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | rm -rf %{buildroot} |
---|
| 55 | make install DESTDIR=%{buildroot} |
---|
| 56 | install -D desktop/Singular.desktop %{buildroot}/%{_datadir}/applications/Singular.desktop |
---|
| 57 | install -D desktop/Singular-manual.desktop %{buildroot}/%{_datadir}/applications/Singular-manual.desktop |
---|
| 58 | install -D desktop/Singular.png %{buildroot}/%{_datadir}/icons/Singular.png |
---|
| 59 | |
---|
| 60 | %clean |
---|
| 61 | rm -rf %{buildroot} |
---|
| 62 | |
---|
| 63 | %files |
---|
| 64 | %defattr(-,root,root,-) |
---|
| 65 | %{_bindir}/* |
---|
| 66 | %{_libdir}/* |
---|
| 67 | %{_libexecdir}/* |
---|
| 68 | |
---|
| 69 | %files common |
---|
| 70 | %doc README COPYING ChangeLog |
---|
| 71 | %{_datadir}/* |
---|
| 72 | #%{_mandir}/* |
---|
| 73 | #%{_infodir}/* |
---|
| 74 | |
---|
| 75 | %files devel |
---|
| 76 | %{_includedir}/* |
---|
| 77 | |
---|
| 78 | %changelog |
---|
| 79 | * Tue Apr 30 2013 Mathias Schulze <mschulze@mathematik.uni-kl.de> 3.1.3.rc-1 |
---|
| 80 | - Initial release |
---|
| 81 | |
---|