source: git/redhat/singular.spec.in @ 9dfcc6e

spielwiese
Last change on this file since 9dfcc6e was 9dfcc6e, checked in by Mathias Schulze <mschulze@…>, 11 years ago
moved singular.spec to singular.spec.in with variable version number
  • Property mode set to 100644
File size: 2.2 KB
Line 
1Name: singular
2Summary: computer algebra system for polynomial computations (binary files)
3Version: @PACKAGE_VERSION@
4Release: 1%{?dist}
5License: GPLv2+
6Group: Applications/Math
7Vendor: Singular Team
8URL: http://www.singular.uni-kl.de
9Packager: Mathias Schulze <mschulze@mathematik.uni-kl.de>
10Source0: http://www.mathematik.uni-kl.de/ftp/pub/Math/Singular/UNIX/%{name}-%{version}.tar.gz
11BuildArch: %{_arch}
12BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13BuildRequires: cddlib-devel, gmp-devel, ntl-devel
14Requires: singular-common
15
16%description
17Singular is a computer algebra system for polynomial computations with
18emphasis on the special needs of commutative algebra, algebraic geometry,
19and singularity theory.
20
21This package contains binary files.
22
23%package common
24Summary: computer algebra system for polynomial computations (common files).
25BuildArch: noarch
26%description common
27Singular is a computer algebra system for polynomial computations with
28emphasis on the special needs of commutative algebra, algebraic geometry,
29and singularity theory.
30
31This package contains architecture-independent files.
32
33%package devel
34Summary: computer algebra system for polynomial computations (development)
35BuildArch: noarch
36%description devel
37Singular is a computer algebra system for polynomial computations with
38emphasis on the special needs of commutative algebra, algebraic geometry,
39and singularity theory.
40
41This package contains development files.
42
43%prep
44%setup -q
45
46%check
47make check
48
49%build
50%configure --enable-gfanlib
51make %{?_smp_mflags}
52
53%install
54rm -rf %{buildroot}
55make install DESTDIR=%{buildroot}
56install -D desktop/Singular.desktop %{buildroot}/%{_datadir}/applications/Singular.desktop
57install -D desktop/Singular-manual.desktop %{buildroot}/%{_datadir}/applications/Singular-manual.desktop
58install -D desktop/Singular.png %{buildroot}/%{_datadir}/icons/Singular.png
59
60%clean
61rm -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
Note: See TracBrowser for help on using the repository browser.