]> git.pld-linux.org Git - packages/GiNaC.git/blobdiff - GiNaC.spec
- rel 2; rebuild am/ac (fixes build)
[packages/GiNaC.git] / GiNaC.spec
index 5f7ba5cad897b1bc91840c665e6dfcbb80a94072..e1b53053f5769c23b49e9fc062ee596b203b38ab 100644 (file)
@@ -1,17 +1,20 @@
 Summary:       C++ class library for symbolic calculations
 Summary(pl.UTF-8):     Biblioteka klas C++ do obliczeń symbolicznych
 Name:          GiNaC
-Version:       1.4.1
-Release:       1
+Version:       1.4.3
+Release:       2
 License:       GPL v2+
 Group:         Libraries
 Source0:       ftp://ftpthep.physik.uni-mainz.de/pub/GiNaC/ginac-%{version}.tar.bz2
-# Source0-md5: 37356db3fe520498f2857e3ed6daec82
+# Source0-md5: abad55c4ae27d5d65f525fabefaddd05
 Patch0:                %{name}-info.patch
 URL:           http://www.ginac.de/
 BuildRequires: automake
+BuildRequires: autoconf
+BuildRequires: bison >= 2.3
 BuildRequires: cln-devel >= 1.1.6
 BuildRequires: libstdc++-devel
+BuildRequires: libtool
 BuildRequires: pkgconfig
 BuildRequires: readline-devel
 BuildRequires: texinfo
@@ -77,8 +80,14 @@ zawartość archiwów GiNaC.
 %setup -q -n ginac-%{version}
 %patch0 -p1
 
+# 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 +105,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.044554 seconds and 4 git commands to generate.