%global commit 6fb8f4842d714a8997f70bc3f76584aae2f40a14 %global shortcommit %(c=%{commit}; echo ${c:0:7}) %global gitdate 20190819 %global soversion 1 Name: paris-traceroute Version: 0.93 Release: 1%{?commit:.%{gitdate}.git%{shortcommit}}%{?dist}.3sunshine Summary: A network diagnosis and measurement tool License: LGPLv3 URL: https://github.com/libparistraceroute/libparistraceroute # Source0: %%{url}/archive/v%%{version}/%%{name}-%%{version}.tar.gz Source0: %{url}/archive/%{commit}.zip#/%{name}-%{commit}.zip Patch0: libparistraceroute-warnings.patch BuildRequires: gcc-c++ BuildRequires: libtool BuildRequires: automake BuildRequires: autoconf %description Paris Traceroute is a fundamental upgrade to the standard Traceroute tool that exists on all of the major operating systems. Standard Traceroute was not designed to take into account the presence of load balancing routers, which are widely deployed in today’s Internet, both at the core and at its edges. As a result, standard Traceroute is not aware that there are often multiple paths between a source and a destination in the Internet: the paths will split at a load balancing router at one point along the route and then reconverge some hops later. Standard traceroute is incapable of furnishing this information to its users and instead reports what it states to be a single path but is instead a confusing mixture of pieces of multiple paths. Paris Traceroute is aware of the multiple paths and can report on any single one of them accurately, as well as on all of them. %package -n libparistraceroute Summary: Library files for %{name} %description -n libparistraceroute Library files for programs using libparistraceroute. %package -n libparistraceroute-devel Summary: Development files for %{name} Requires: libparistraceroute%{?_isa} = %{version}-%{release} %description -n libparistraceroute-devel Development files for programs using libparistraceroute. %prep %autosetup -p1 -n libparistraceroute-%{?commit:%{commit}}%{!?commit:%{version}} %build ./autogen.sh %configure --enable-shared --disable-static %make_build %install %make_install rm %{buildroot}%{_libdir}/*.la %ldconfig_scriptlets %files %doc AUTHORS README.md TODO %license COPYING LICENSE %{_mandir}/man*/%{name}*.* %caps(cap_net_raw+ep) %{_bindir}/%{name} %caps(cap_net_raw+p) %{_bindir}/paris-ping %files -n libparistraceroute %{_libdir}/*.so.%{soversion}* %files -n libparistraceroute-devel %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %{_includedir}/paristraceroute %changelog * Tue Jan 24 2023 Moritz Barsnick 0.93-1.20190819.git6fb8f48.3sunshine - use %%caps to give binaries capabilites * Tue Jan 24 2023 Moritz Barsnick 0.93-1.20190819.git6fb8f48.2sunshine - minor SPEC cleanup - fix the soversion, in order to detect changes - add %%_isa to Requires - add a patch for warnings caught by gcc 12 * Thu Jan 16 2020 Moritz Barsnick 0.93-1.20190819.git6fb8f48.1sunshine - update to latest git snapshot - remove workaround to rename ping to paris-ping, it's upstream * Tue Oct 22 2019 Fabian Affolter - 0.93-1 - Update to latest upstream release 0.93 (rhbz#1584015) * Fri Jul 26 2019 Fedora Release Engineering - 0.92-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Fri Feb 01 2019 Fedora Release Engineering - 0.92-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Fri Jul 13 2018 Fedora Release Engineering - 0.92-14 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Thu Feb 08 2018 Fedora Release Engineering - 0.92-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 03 2017 Fedora Release Engineering - 0.92-12 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild * Thu Jul 27 2017 Fedora Release Engineering - 0.92-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.92-10 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Thu Feb 04 2016 Fedora Release Engineering - 0.92-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Thu Jun 18 2015 Fedora Release Engineering - 0.92-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat May 02 2015 Kalev Lember - 0.92-7 - Rebuilt for GCC 5 C++11 ABI change * Sun Aug 17 2014 Fedora Release Engineering - 0.92-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild * Fri Jun 06 2014 Fedora Release Engineering - 0.92-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Sat Aug 03 2013 Fedora Release Engineering - 0.92-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Wed Feb 13 2013 Fabian Affolter - 0.92-3 - Man page path fixed (rhbz#910640) * Sun Oct 21 2012 Fabian Affolter - 0.92-2 - Minor changes * Fri Mar 30 2012 Fabian Affolter - 0.92-1 - Initial package for Fedora