| 4 |
%define rel 1 |
%define rel 1 |
| 5 |
%define prefix /usr |
%define prefix /usr |
| 6 |
|
|
| 7 |
Summary: C++ library for symbolic mathematical calculations |
Summary: C++ library for symbolic calculations |
| 8 |
Name: GiNaC |
Name: GiNaC |
| 9 |
Version: %ver |
Version: %ver |
| 10 |
Release: %rel |
Release: %rel |
| 19 |
|
|
| 20 |
%description |
%description |
| 21 |
GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a |
GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a |
| 22 |
C++ library for symbolic mathematical calculations. It is designed to allow |
C++ library for symbolic calculations. It is designed to allow the creation |
| 23 |
the creation of integrated systems that embed symbolic manipulations together |
of integrated systems that embed symbolic manipulations together with more |
| 24 |
with more established areas of computer science (like computation-intense |
established areas of computer science (like computation-intense numeric |
| 25 |
numeric applications, graphical interfaces, etc.) under one roof. |
applications, graphical interfaces, etc.) under one roof. |
| 26 |
|
|
| 27 |
%prep |
%prep |
| 28 |
%setup |
%setup |
| 44 |
%clean |
%clean |
| 45 |
rm -rf $RPM_BUILD_ROOT |
rm -rf $RPM_BUILD_ROOT |
| 46 |
|
|
| 47 |
%post -p /sbin/ldconfig |
%post |
| 48 |
|
/sbin/ldconfig |
| 49 |
/sbin/install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir |
/sbin/install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir |
| 50 |
|
|
| 51 |
%postun -p /sbin/ldconfig |
%postun |
| 52 |
|
/sbin/ldconfig |
| 53 |
|
|
| 54 |
%preun |
%preun |
| 55 |
/sbin/install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir |
/sbin/install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir |
| 60 |
%{prefix}/lib/lib*.so* |
%{prefix}/lib/lib*.so* |
| 61 |
%{prefix}/lib/*a |
%{prefix}/lib/*a |
| 62 |
%{prefix}/include/* |
%{prefix}/include/* |
| 63 |
%{prefix}/info/ginac.info* |
%{prefix}/info/* |
| 64 |
%{prefix}/man/man1/* |
%{prefix}/man/man1/* |
| 65 |
%{prefix}/share/doc/GiNaC/* |
%{prefix}/share/doc/GiNaC/* |
| 66 |
%{prefix}/bin/* |
%{prefix}/bin/* |