- refresh config.sub
[packages/IRRToolSet.git] / IRRToolSet.spec
1 Summary:        IRRToolSet is a suite of policy analysis tools
2 Summary(pl):    IRRToolSet jest zestawem narzêdzi do analizy polityki
3 Name:           IRRToolSet
4 Version:        4.7.3
5 Release:        3
6 License:        BSD-like
7 Group:          Networking/Admin
8 Source0:        ftp://ftp.ripe.net/ripe/tools/IRRToolSet/%{name}-%{version}.tar.gz
9 # Source0-md5:  fcf8305464c8ae5886c41dcb8d85e53d
10 Patch0:         %{name}-DESTDIR.patch
11 Patch1:         %{name}-gcc3.patch
12 URL:            http://www.ripe.net/ripencc/pub-services/db/irrtoolset/index.html
13 BuildRequires:  XFree86-devel
14 BuildRequires:  bison
15 BuildRequires:  flex
16 BuildRequires:  libstdc++-devel
17 BuildRequires:  tcl-devel >= 8.3.4-10
18 BuildRequires:  tk-devel >= 8.3.4-5
19 BuildRequires:  readline-devel
20 Provides:       RAToolSet
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 Obsoletes:      RAToolSet
23
24 %description
25 IRRToolSet is a suite of policy analysis tools. It is implemented in
26 C++ on a UNIX platform.
27
28 %description -l pl
29 IRRToolSet jest zestawem narzêdzi do analizy polityki.
30
31 %prep
32 %setup -q
33 %patch0 -p1
34 %patch1 -p1
35
36 %build
37 cp -f /usr/share/automake/config.sub .
38 %configure2_13
39 %{__make}
40
41 # extract license
42 head -n 53 acconfig.h | tail -n 52 > LICENSE
43
44 %install
45 rm -rf $RPM_BUILD_ROOT
46 install -d $RPM_BUILD_ROOT%{_sbindir}
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 mv $RPM_BUILD_ROOT%{_bindir}/prtraceroute $RPM_BUILD_ROOT%{_sbindir}
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
57 %defattr(644,root,root,755)
58 %doc Changes README* LICENSE
59 %attr(755,root,root) %{_bindir}/*
60 %attr(4754,root,adm) %{_sbindir}/*
61 %{_mandir}/man1/*
62 %{_mandir}/man3/*
This page took 0.045842 seconds and 3 git commands to generate.