]> git.pld-linux.org Git - packages/IRRToolSet.git/blob - IRRToolSet.spec
7905720663253650408036793e9482d168d78717
[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
6 License:        BSD-like
7 Group:          Networking/Admin
8 Source0:        ftp://ftp.ripe.net/ripe/tools/IRRToolSet/%{name}-%{version}.tar.gz
9 Patch0:         %{name}-DESTDIR.patch
10 URL:            http://www.ripe.net/ripencc/pub-services/db/irrtoolset/index.html
11 BuildRequires:  tcl-devel
12 BuildRequires:  tk-devel
13 BuildRequires:  flex
14 BuildRequires:  gcc2-c++
15 Requires:       XFree86-libs
16 Requires:       readline
17 Requires:       tcl
18 Requires:       tk
19 Obsoletes:      RAToolSet
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %define __cxx g++2
23 %define __cc gcc2
24
25 %define optflags -O3 -gstabs+ -frtti
26
27 %description
28 IRRToolSet is a suite of policy analysis tools. It is implemented in
29 C++ on a UNIX platform.
30
31 %description -l pl
32 IRRToolSet jest zestawem narzêdzi do analizy polityki.
33
34 %prep
35 %setup -q
36 %patch0 -p1
37
38 %build
39 %configure2_13
40 %{__make}
41
42 # extract license
43 head -53 acconfig.h | tail -52 > LICENSE
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47 install -d $RPM_BUILD_ROOT%{_sbindir}
48
49 %{__make} install 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.076454 seconds and 2 git commands to generate.