]> git.pld-linux.org Git - packages/IRRToolSet.git/blob - IRRToolSet.spec
- patched for gcc 3.x
[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:        1.1
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
18 BuildRequires:  tk-devel
19 BuildRequires:  readline-devel
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Obsoletes:      RAToolSet
22
23 %description
24 IRRToolSet is a suite of policy analysis tools. It is implemented in
25 C++ on a UNIX platform.
26
27 %description -l pl
28 IRRToolSet jest zestawem narzêdzi do analizy polityki.
29
30 %prep
31 %setup -q
32 %patch0 -p1
33 %patch1 -p1
34
35 %build
36 %configure2_13
37 %{__make}
38
39 # extract license
40 head -53 acconfig.h | tail -52 > LICENSE
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44 install -d $RPM_BUILD_ROOT%{_sbindir}
45
46 %{__make} install \
47         DESTDIR=$RPM_BUILD_ROOT
48
49 mv $RPM_BUILD_ROOT%{_bindir}/prtraceroute $RPM_BUILD_ROOT%{_sbindir}
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc Changes README* LICENSE
57 %attr(755,root,root) %{_bindir}/*
58 %attr(4754,root,adm) %{_sbindir}/*
59 %{_mandir}/man1/*
60 %{_mandir}/man3/*
This page took 0.099777 seconds and 3 git commands to generate.