]> git.pld-linux.org Git - packages/IRRToolSet.git/blobdiff - IRRToolSet.spec
- readline 5.0
[packages/IRRToolSet.git] / IRRToolSet.spec
index bb40073a9a083530beec98b4697a82f08ca74e6f..5ce5b090bb17d3d68d5a00988776ba9d66c05269 100644 (file)
@@ -1,25 +1,35 @@
+#
+# Conditional build:
+%bcond_with    gcc32           # compile with gcc32
+#
 Summary:       IRRToolSet is a suite of policy analysis tools
 Summary(pl):   IRRToolSet jest zestawem narzêdzi do analizy polityki
 Name:          IRRToolSet
 Version:       4.7.3
-Release:       2
+Release:       4
 License:       BSD-like
 Group:         Networking/Admin
-Source0:       ftp://ftp.ripe.net/ripe/tools/IRRToolSet/%{name}-%{version}.tar.gz
+Source0:       ftp://ftp.isc.org/isc/IRRToolSet/IRRToolSet-%{version}/%{name}-%{version}.tar.gz
 # Source0-md5: fcf8305464c8ae5886c41dcb8d85e53d
 Patch0:                %{name}-DESTDIR.patch
 Patch1:                %{name}-gcc3.patch
-URL:           http://www.ripe.net/ripencc/pub-services/db/irrtoolset/index.html
+Patch2:                %{name}-flex.patch
+URL:           http://www.isc.org/sw/IRRToolSet/
 BuildRequires: XFree86-devel
+BuildRequires: automake
 BuildRequires: bison
 BuildRequires: flex
 BuildRequires: libstdc++-devel
 BuildRequires: tcl-devel >= 8.3.4-10
 BuildRequires: tk-devel >= 8.3.4-5
 BuildRequires: readline-devel
+%if %{with gcc32}
+BuildRequires: compat-gcc-32
+BuildRequires: compat-gcc-32-c++
+%endif
 Provides:      RAToolSet
-BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     RAToolSet
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
 IRRToolSet is a suite of policy analysis tools. It is implemented in
@@ -32,8 +42,15 @@ IRRToolSet jest zestawem narz
 %setup -q
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
 
 %build
+cp -f /usr/share/automake/config.sub .
+%if %{with gcc32}
+%define __cc gcc32
+%define __cxx g++32
+%define  optflags -O2 -g -pipe -Wno-deprecated
+%endif
 %configure2_13
 %{__make}
 
This page took 0.083635 seconds and 4 git commands to generate.