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