]> git.pld-linux.org Git - packages/IRRToolSet.git/blobdiff - IRRToolSet.spec
- refresh config.sub
[packages/IRRToolSet.git] / IRRToolSet.spec
index 367ca75155f9d9c075f0f12fe33b05a53f2375f1..fdd41ab9ac6adfe4e324c719fa18eb75adc299dd 100644 (file)
@@ -2,29 +2,25 @@ 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:       1
+Release:       3
 License:       BSD-like
 Group:         Networking/Admin
 Source0:       ftp://ftp.ripe.net/ripe/tools/IRRToolSet/%{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
+BuildRequires: XFree86-devel
+BuildRequires: bison
 BuildRequires: flex
-BuildRequires:  gcc2-c++
-BuildRequires: tcl-devel
-BuildRequires: tk-devel
-Requires:      XFree86-libs
-Requires:      readline
-Requires:      tcl
-Requires:      tk
+BuildRequires: libstdc++-devel
+BuildRequires: tcl-devel >= 8.3.4-10
+BuildRequires: tk-devel >= 8.3.4-5
+BuildRequires: readline-devel
+Provides:      RAToolSet
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 Obsoletes:     RAToolSet
 
-%define __cxx g++2
-%define __cc gcc2
-
-%define optflags -O3 -gstabs+ -frtti
-
 %description
 IRRToolSet is a suite of policy analysis tools. It is implemented in
 C++ on a UNIX platform.
@@ -35,13 +31,15 @@ IRRToolSet jest zestawem narz
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
+cp -f /usr/share/automake/config.sub .
 %configure2_13
 %{__make}
 
 # extract license
-head -53 acconfig.h | tail -52 > LICENSE
+head -n 53 acconfig.h | tail -n 52 > LICENSE
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.066274 seconds and 4 git commands to generate.