]> git.pld-linux.org Git - packages/IRRToolSet.git/blobdiff - IRRToolSet.spec
- refresh config.sub
[packages/IRRToolSet.git] / IRRToolSet.spec
index 7905720663253650408036793e9482d168d78717..fdd41ab9ac6adfe4e324c719fa18eb75adc299dd 100644 (file)
@@ -2,27 +2,24 @@ 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: tcl-devel
-BuildRequires: tk-devel
+BuildRequires: XFree86-devel
+BuildRequires: bison
 BuildRequires: flex
-BuildRequires:  gcc2-c++
-Requires:      XFree86-libs
-Requires:      readline
-Requires:      tcl
-Requires:      tk
-Obsoletes:     RAToolSet
+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)
-
-%define __cxx g++2
-%define __cc gcc2
-
-%define optflags -O3 -gstabs+ -frtti
+Obsoletes:     RAToolSet
 
 %description
 IRRToolSet is a suite of policy analysis tools. It is implemented in
@@ -34,19 +31,22 @@ 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
 install -d $RPM_BUILD_ROOT%{_sbindir}
 
-%{__make} install DESTDIR=$RPM_BUILD_ROOT
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
 
 mv $RPM_BUILD_ROOT%{_bindir}/prtraceroute $RPM_BUILD_ROOT%{_sbindir}
 
This page took 0.070532 seconds and 4 git commands to generate.