]> git.pld-linux.org Git - packages/IRRToolSet.git/blob - IRRToolSet.spec
8467dfd35ec4b71c7b14c93a1ef524d1c1a71f21
[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 # Source0-md5:  fcf8305464c8ae5886c41dcb8d85e53d
10 Patch0:         %{name}-DESTDIR.patch
11 URL:            http://www.ripe.net/ripencc/pub-services/db/irrtoolset/index.html
12 BuildRequires:  tcl-devel
13 BuildRequires:  tk-devel
14 BuildRequires:  flex
15 BuildRequires:  gcc2-c++
16 Requires:       XFree86-libs
17 Requires:       readline
18 Requires:       tcl
19 Requires:       tk
20 Obsoletes:      RAToolSet
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %define __cxx g++2
24 %define __cc gcc2
25
26 %define optflags -O3 -gstabs+ -frtti
27
28 %description
29 IRRToolSet is a suite of policy analysis tools. It is implemented in
30 C++ on a UNIX platform.
31
32 %description -l pl
33 IRRToolSet jest zestawem narzêdzi do analizy polityki.
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 %configure2_13
41 %{__make}
42
43 # extract license
44 head -53 acconfig.h | tail -52 > LICENSE
45
46 %install
47 rm -rf $RPM_BUILD_ROOT
48 install -d $RPM_BUILD_ROOT%{_sbindir}
49
50 %{__make} install DESTDIR=$RPM_BUILD_ROOT
51
52 mv $RPM_BUILD_ROOT%{_bindir}/prtraceroute $RPM_BUILD_ROOT%{_sbindir}
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc Changes README* LICENSE
60 %attr(755,root,root) %{_bindir}/*
61 %attr(4754,root,adm) %{_sbindir}/*
62 %{_mandir}/man1/*
63 %{_mandir}/man3/*
This page took 0.061383 seconds and 2 git commands to generate.