]> git.pld-linux.org Git - packages/GiNaC.git/blobdiff - GiNaC.spec
- BR: gettext-devel
[packages/GiNaC.git] / GiNaC.spec
index 5f7ba5cad897b1bc91840c665e6dfcbb80a94072..1f6030d58fb97f624fa3c1fb4dd3e2ad8987d252 100644 (file)
@@ -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 <iostream>/#include <cstdio>\n#include <iostream>/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
This page took 0.100562 seconds and 4 git commands to generate.