3 %bcond_with gcc32 # compile with gcc32
5 Summary: IRRToolSet is a suite of policy analysis tools
6 Summary(pl): IRRToolSet jest zestawem narzêdzi do analizy polityki
11 Group: Networking/Admin
12 Source0: ftp://ftp.isc.org/isc/IRRToolSet/IRRToolSet-%{version}/%{name}-%{version}.tar.gz
13 # Source0-md5: fcf8305464c8ae5886c41dcb8d85e53d
14 Patch0: %{name}-DESTDIR.patch
15 Patch1: %{name}-gcc3.patch
16 Patch2: %{name}-flex.patch
17 URL: http://www.isc.org/sw/IRRToolSet/
18 BuildRequires: XFree86-devel
19 BuildRequires: automake
22 BuildRequires: libstdc++-devel
23 BuildRequires: tcl-devel >= 8.3.4-10
24 BuildRequires: tk-devel >= 8.3.4-5
25 BuildRequires: readline-devel
27 BuildRequires: compat-gcc-32
28 BuildRequires: compat-gcc-32-c++
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 IRRToolSet is a suite of policy analysis tools. It is implemented in
36 C++ on a UNIX platform.
39 IRRToolSet jest zestawem narzêdzi do analizy polityki.
48 cp -f /usr/share/automake/config.sub .
52 %define optflags -O2 -g -pipe -Wno-deprecated
58 head -n 53 acconfig.h | tail -n 52 > LICENSE
61 rm -rf $RPM_BUILD_ROOT
62 install -d $RPM_BUILD_ROOT%{_sbindir}
65 DESTDIR=$RPM_BUILD_ROOT
67 mv $RPM_BUILD_ROOT%{_bindir}/prtraceroute $RPM_BUILD_ROOT%{_sbindir}
70 rm -rf $RPM_BUILD_ROOT
73 %defattr(644,root,root,755)
74 %doc Changes README* LICENSE
75 %attr(755,root,root) %{_bindir}/*
76 %attr(4754,root,adm) %{_sbindir}/*