From ff3b4c297a8e9ddc4734fdf0efa401e359945be5 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sep 02 2012 10:16:11 +0000 Subject: Initial import --- diff --git a/.gitignore b/.gitignore index e69de29..b8aa7d6 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/scamper-cvs-20111202c.tar.gz diff --git a/scamper.spec b/scamper.spec new file mode 100644 index 0000000..03a48cb --- /dev/null +++ b/scamper.spec @@ -0,0 +1,69 @@ +%global cvs 20111202c + +Name: scamper +Version: 0 +Release: 0.3.%{cvs}%{?dist} +Summary: A network measurement tool + +Group: Applications/Internet +License: GPLv2 +URL: http://www.wand.net.nz/scamper +Source0: http://www.wand.net.nz/%{name}/%{name}-cvs-%{cvs}.tar.gz + +%description +scamper is a program that is able to conduct Internet measurement tasks to +large numbers of IPv4 and IPv6 addresses, in parallel, to fill a specified +packets-per-second rate. Currently, it supports the well-known ping and +traceroute techniques, as well as radargun, ally, mercator, sting, and parts +of tbit. + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Header files for %{name}. + +%prep +%setup -q -n %{name}-cvs-%{cvs} + +%build +%configure --enable-static=no +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + + +%install +make install DESTDIR=%{buildroot} INSTALL="install -p" +find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%doc TODO COPYING +%{_mandir}/man*/*.* +%{_bindir}/%{name} +%{_bindir}/sc_* +%{_libdir}/lib*.so.* + +%files devel +%{_includedir}/*.h +%{_libdir}/lib*.so + +%changelog +* Sat Jun 09 2012 Fabian Affolter - 0-0.3.20111202c +- COPYING file added +- Updated to 20111202c (FSF address fix) + +* Mon May 28 2012 Fabian Affolter - 0-0.2.20111202b +- Description of packages adjusted +- Macros for version +- Arch-specific requirement for subpackage + +* Fri Mar 30 2012 Fabian Affolter - 0-0.1.20111202a +- Initial package for Fedora diff --git a/sources b/sources index e69de29..6b58d1a 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +7cac731d7ecda6ec0e434ea8bbf4c7ac scamper-cvs-20111202c.tar.gz