Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:dirkmueller:AL:TW
liboping
liboping.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File liboping.spec of Package liboping
# # spec file for package liboping # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define soname 0 Name: liboping Version: 1.10.0 Release: 0 Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 License: LGPL-2.1-only Group: System/Libraries URL: https://verplant.org/liboping/ Source: http://verplant.org/liboping/files/liboping-%{version}.tar.bz2 Source2: baselibs.conf Source99: %{name}-rpmlintrc Patch1: liboping-perl_vendor.patch BuildRequires: autoconf >= 2.65 BuildRequires: automake BuildRequires: gcc BuildRequires: glibc-devel BuildRequires: libtool BuildRequires: make BuildRequires: ncurses-devel BuildRequires: perl BuildRequires: pkgconfig %description liboping is a C library for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently for the programmer and user. %package -n liboping%{soname} Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 License: LGPL-2.1-only Group: System/Libraries Provides: liboping = %{version}-%{release} %description -n liboping%{soname} liboping is a C library for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently for the programmer and user. A program called oping is available on the oping package to show the simplicity and potential of the library and provide the functionality at the command line. %package -n liboping-devel Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 License: LGPL-2.1-only Group: Development/Libraries/Other Requires: %{name} = %{version}-%{release} %description -n liboping-devel liboping is a C library for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently for the programmer and user. This package includes the header and shared library link, required for building applications or libraries that use %{name}. This package is not needed at runtime. %package -n oping Summary: Multiple Host Ping that supports ICMPv4 and ICMPv6 License: GPL-2.0-only Group: Productivity/Networking/Other Requires: %{name} = %{version}-%{release} %description -n oping oping is for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently. %package -n noping Summary: Multiple Host Ping that supports ICMPv4 and ICMPv6 License: GPL-2.0-only Group: Productivity/Networking/Other Requires: %{name} = %{version}-%{release} %description -n noping noping continuously pings lists of hosts, displays ping statistics "live" and highlights aberrant round-trip times. %package -n perl-Net-Oping Summary: Multiple Host Ping that supports ICMPv4 and ICMPv6 License: LGPL-2.1-only Group: Development/Libraries/Perl Requires: perl = %{perl_version} %description -n perl-Net-Oping Net::Oping is for measuring network latency using ICMP echo requests. It can send to and receive packets from multiple hosts in parallel, which is nice for monitoring applications. Both IPv4 and IPv6 are supported transparently. %prep %autosetup -p0 sed -i 's/-Werror//g' src/Makefile* # Do not use versioned automake binary for backward compatibility sed -i 's/-${am__api_version}//g' configure %build %global _lto_cflags %{_lto_cflags} -ffat-lto-objects aclocal && automake %configure \ --with-perl-bindings="INSTALLDIRS=vendor" %make_build -C bindings perl/Makefile %make_build %install sed -e 's|perl5/site_perl/|perl5/vendor_perl/|g' bindings/perl/Makefile %make_install find %{buildroot} -type f -name "*.la" -delete -print %perl_process_packlist rm -f "%{buildroot}%{_localstatedir}/adm/perl-modules/%{name}" %post -n liboping%{soname} -p /sbin/ldconfig %postun -n liboping%{soname} -p /sbin/ldconfig %files -n liboping%{soname} %license COPYING %doc AUTHORS ChangeLog README %{_libdir}/liboping.so.%{soname} %{_libdir}/liboping.so.%{soname}.*.* %files -n liboping-devel %{_includedir}/oping.h %{_libdir}/liboping.so %{_libdir}/liboping.a %{_libdir}/pkgconfig/liboping.pc %{_mandir}/man3/*.3%{?ext_man} %files -n oping %{_bindir}/oping %{_mandir}/man8/oping.8%{?ext_man} %files -n noping %{_bindir}/noping %files -n perl-Net-Oping %dir %{perl_vendorarch}/Net %{perl_vendorarch}/Net/Oping.pm %dir %{perl_vendorarch}/auto/Net %{perl_vendorarch}/auto/Net/Oping %{perl_man3dir}/Net::Oping.%{perl_man3ext}%{ext_man} %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor