-#
-# $Id$
-#
-%define url $URL$
-
%define name iproute
-%define version 2.6.35
+%define version 2.6.37
%define taglevel 0
%define release %{taglevel}%{?pldistro:.%{pldistro}}%{?date:.%{date}}
Vendor: PlanetLab
Packager: PlanetLab Central <support@planet-lab.org>
Distribution: PlanetLab %{plrelease}
-URL: %(echo %{url} | cut -d ' ' -f 2)
+URL: %{SCMURL}
Summary: Advanced IP routing and network device configuration tools.
Name: %{name}
#URL: http://developer.osdl.org/dev/iproute2/
Source: iproute2-%{version}.tar.bz2
Patch1: gre.patch
+Patch2: compile.patch
License: GNU GPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
BuildPrereq: tetex-latex tetex-dvips psutils linuxdoc-tools db4-devel bison flex
%prep
%setup -q -n iproute2-%{version}
%patch1 -p1
+%patch2 -p1
%build
make
-make -C doc
+#make -C doc
%install
#rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root)
%dir /etc/iproute2
%doc README.decnet README.iproute2+tc RELNOTES
-%doc doc/*.ps examples
+#%doc doc/*.ps
+%doc examples
/sbin/*
%{_mandir}/man8/*
%attr(644,root,root) %config(noreplace) /etc/iproute2/*