X-Git-Url: http://git.pld-linux.org/?a=blobdiff_plain;f=GiNaC.spec;h=1f6030d58fb97f624fa3c1fb4dd3e2ad8987d252;hb=050a25d968ec879de56cdff16849d8a331f70086;hp=5f7ba5cad897b1bc91840c665e6dfcbb80a94072;hpb=f97fe2e27982e204caaeff83faaa749645d43793;p=packages%2FGiNaC.git diff --git a/GiNaC.spec b/GiNaC.spec index 5f7ba5c..1f6030d 100644 --- a/GiNaC.spec +++ b/GiNaC.spec @@ -1,17 +1,21 @@ Summary: C++ class library for symbolic calculations Summary(pl.UTF-8): Biblioteka klas C++ do obliczeń symbolicznych Name: GiNaC -Version: 1.4.1 +Version: 1.5.8 Release: 1 License: GPL v2+ Group: Libraries Source0: ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-%{version}.tar.bz2 -# Source0-md5: 37356db3fe520498f2857e3ed6daec82 +# Source0-md5: 8693b3c9c3467694032ce9c8b3063d4c Patch0: %{name}-info.patch URL: http://www.ginac.de/ -BuildRequires: automake +BuildRequires: autoconf >= 2.59 +BuildRequires: automake >= 1:1.7 +BuildRequires: bison >= 2.3 BuildRequires: cln-devel >= 1.1.6 +BuildRequires: gettext-devel BuildRequires: libstdc++-devel +BuildRequires: libtool >= 2:1.5 BuildRequires: pkgconfig BuildRequires: readline-devel BuildRequires: texinfo @@ -76,9 +80,15 @@ zawartość archiwów GiNaC. %prep %setup -q -n ginac-%{version} %patch0 -p1 +%{__sed} -i -e 's/#include /#include \n#include /g' ginac/parser/lexer.cpp +# generated with wrong bison version, miscompiled by gcc 4.1+ +#%{__rm} ginac/input_parser.{cc,h} %build -cp -f /usr/share/automake/config.* . +%{__libtoolize} +%{__aclocal} +%{__autoconf} +%{__automake} %configure %{__make} @@ -96,10 +106,10 @@ rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig -%post devel -p /sbin/postshell +%post devel -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} -%postun devel -p /sbin/postshell +%postun devel -p /sbin/postshell -/usr/sbin/fix-info-dir -c %{_infodir} %files