X-Git-Url: https://www.ginac.de/ginac.git//ginac.git?p=ginac.git;a=blobdiff_plain;f=GiNaC.spec.in;h=5d22b8cf598903564609f2ff4bbeafb054fa5fce;hp=edd2baa0fae6f4beeee165443bdffa5a41f4bb7d;hb=726f2a78847ca21d45253306e4499c73ca81f2a6;hpb=f2e7d71e88a82d8f205ce8ca66f51665325585d7 diff --git a/GiNaC.spec.in b/GiNaC.spec.in index edd2baa0..5d22b8cf 100644 --- a/GiNaC.spec.in +++ b/GiNaC.spec.in @@ -4,7 +4,7 @@ %define rel 1 %define prefix /usr -Summary: C++ library for symbolic mathematical calculations +Summary: C++ library for symbolic calculations Name: GiNaC Version: %ver Release: %rel @@ -14,15 +14,15 @@ Source: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/GiNaC-%{ver}.tar.gz BuildRoot: /tmp/GiNaC-%{PACKAGE_VERSION}-root Packager: Christian Bauer URL: http://www.ginac.de/ -Prereq: install-info +Prereq: /sbin/install-info Docdir: %{prefix}/doc %description GiNaC (which stands for "GiNaC is Not a CAS (computer algebra system)") is a -C++ library for symbolic mathematical calculations. It is designed to allow -the creation of integrated systems that embed symbolic manipulations together -with more established areas of computer science (like computation-intense -numeric applications, graphical interfaces, etc.) under one roof. +C++ library for symbolic calculations. It is designed to allow the creation +of integrated systems that embed symbolic manipulations together with more +established areas of computer science (like computation-intense numeric +applications, graphical interfaces, etc.) under one roof. %prep %setup @@ -38,19 +38,21 @@ fi %install rm -rf $RPM_BUILD_ROOT -make prefix=$RPM_BUILD_ROOT%{prefix} install -gzip -9n $RPM_BUILD_ROOT%{prefix}/info/* +make prefix=$RPM_BUILD_ROOT%{prefix} install-strip +gzip -9 $RPM_BUILD_ROOT%{prefix}/info/* %clean rm -rf $RPM_BUILD_ROOT -%post -p /sbin/ldconfig -install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir +%post +/sbin/ldconfig +/sbin/install-info %{prefix}/info/ginac.info.gz %{prefix}/info/dir -%postun -p /sbin/ldconfig +%postun +/sbin/ldconfig %preun -install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir +/sbin/install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir %files %defattr(-, root, root) @@ -58,7 +60,7 @@ install-info --delete %{prefix}/info/ginac.info.gz %{prefix}/info/dir %{prefix}/lib/lib*.so* %{prefix}/lib/*a %{prefix}/include/* -%{prefix}/info/ginac.info* +%{prefix}/info/* %{prefix}/man/man1/* %{prefix}/share/doc/GiNaC/* %{prefix}/bin/*