]>
Commit | Line | Data |
---|---|---|
89645b1f JB |
1 | Summary: C++ class library for symbolic calculations |
2 | Name: GiNaC | |
3 | Version: 1.1.0 | |
4 | Release: 1 | |
5 | License: GPL | |
6 | Group: Sciences/Mathematics | |
3380bca7 | 7 | # Source0-md5: 30c86d96a9d9d689ff0981409b038906 |
89645b1f JB |
8 | Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/%{name}-%{version}.tar.bz2 |
9 | Source1: ginac.png | |
10 | URL: http://www.ginac.de/ | |
11 | BuildRequires: cln-devel >= 1.1 | |
12 | BuildRequires: readline-devel | |
13 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
14 | ||
15 | %description | |
16 | GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra | |
17 | System)") is an open framework for symbolic computation within the C++ | |
18 | programming language. | |
19 | ||
20 | %package devel | |
21 | Summary: Libraries, includes and more to develop GiNaC applications | |
22 | Group: Development/C++ | |
3380bca7 | 23 | Requires: %{name} = %{version}-%{release} |
89645b1f JB |
24 | |
25 | %description devel | |
26 | GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra | |
27 | System)") is an open framework for symbolic computation within the C++ | |
28 | programming language. | |
29 | ||
30 | This is the libraries, include files and other resources you can use | |
31 | to develop GiNaC applications. | |
32 | ||
33 | %package utils | |
34 | Summary: GiNaC-related utilities | |
35 | Group: Sciences/Mathematics | |
36 | Requires: %{name} = %{version}-%{release} | |
37 | ||
38 | %description utils | |
39 | GiNaC (which stands for "GiNaC is Not a CAS (Computer Algebra | |
40 | System)") is an open framework for symbolic computation within the C++ | |
41 | programming language. | |
42 | ||
43 | This package includes the ginsh ("GiNaC interactive shell") which | |
44 | provides a simple and easy-to-use CAS-like interface to GiNaC for | |
45 | non-programmers, and the tool "viewgar" which displays the contents of | |
46 | GiNaC archives. | |
47 | ||
48 | %prep | |
49 | %setup -q | |
50 | ||
51 | %build | |
3380bca7 JB |
52 | %configure |
53 | %{__make} | |
54 | ||
55 | %{__make} check | |
89645b1f JB |
56 | |
57 | %install | |
58 | rm -rf $RPM_BUILD_ROOT | |
59 | ||
60 | %{__make} install | |
61 | ||
62 | %clean | |
63 | rm -rf ${RPM_BUILD_ROOT} | |
64 | ||
65 | %post -p /sbin/ldconfig | |
66 | %postun -p /sbin/ldconfig | |
67 | ||
68 | %post devel | |
69 | %_install_info ginac.info | |
70 | ||
71 | %preun devel | |
72 | %_remove_install_info ginac.info | |
73 | ||
74 | %files | |
75 | %defattr(644,root,root,755) | |
76 | %doc AUTHORS ChangeLog NEWS README | |
77 | %{_libdir}/lib*.so.*.* | |
78 | ||
79 | %files devel | |
80 | %defattr(644,root,root,755) | |
81 | %{_libdir}/*.a | |
82 | %{_libdir}/*.la | |
83 | %{_libdir}/*.so | |
84 | %{_includedir}/ginac/*.h | |
85 | %{_infodir}/*.info* | |
86 | %{_mandir}/man1/ginac-config.1* | |
87 | %attr(755,root,root) %{_bindir}/ginac-config | |
88 | %{_aclocaldir}/* | |
89 | ||
90 | %files utils | |
91 | %defattr(644,root,root,755) | |
92 | %attr(755,root,root) %{_bindir}/ginsh | |
93 | %attr(755,root,root) %{_bindir}/viewgar | |
94 | %{_mandir}/man1/ginsh.1* | |
95 | %{_mandir}/man1/viewgar.1* | |
96 | %_menudir/%name-utils | |
97 | %_iconsdir/ginac.png |