Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
astraceroute
> astraceroute.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File astraceroute.spec of Package astraceroute (Revision 10)
Currently displaying revision
10
,
show latest
Name: astraceroute Version: 1.4.a12.1 Release: 1 License: GPL Group: System Summary: astraceroute - AS traceroute URL: http://www.shrubbery.net/astraceroute/ Source0: %{name}-%{version}.tar.gz Patch0: %{name}-makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build Packager: Carsten Schoene <cs@linux-administrator.com> Vendor: linux-administrator.com BuildRequires: glibc-devel libgcc gcc gcc-c++ %ifarch x86_64 %if 0%{?suse_version} BuildRequires: glibc-devel-32bit %endif %endif %description astraceroute is based on traceroute from LBL ( ftp://ftp.ee.lbl.gov/traceroute.tar.gz) with the added feature of origin AS resolution, much like the prtraceroute that comes with the IRRToolSet. %prep %setup -n %{name} %patch -p1 make distclean %ifarch x86_64 %define build_host x86_64-unknown-linux CFLAGS="%{optflags} -m64 -g -lresolv -I./linux-include" CXXFLAGS="%{optflags} -m64" \ %else %define build_host i386-unknown-linux CFLAGS="%{optflags} -m32 -g -lresolv" CXXFLAGS="%{optflags} -m32" \ %endif ./configure \ --build=%{build_host} \ --prefix=%{_prefix} \ --mandir=%{_mandir} \ --sysconfdir=%{_sysconfdir} \ --libdir=%{_libdir} \ --datadir=%{_datadir} %build %__make install -m 755 -d %{buildroot}/%{_sbindir} %makeinstall install -m 755 -d %{buildroot}/%{_docdir}/%{name} mv %{buildroot}/%{_datadir}/%{name}/* %{buildroot}/%{_docdir}/%{name}/ rm -rf %{buildroot}/%{_datadir}/%{name} %clean rm -rf $RPM_BUILD_ROOT/* rm -rf $RPM_BUILD_DIR/%{name}* %files %attr(4555, root, bin) %{_sbindir}/astraceroute %doc %{_docdir}/%{name} %changelog * Thu Feb 21 2008 Carsten Schoene <cs@linux-administrator.com> - initial package