Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:12.1:Update
liboping
liboping.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File liboping.spec of Package liboping
# vim: set sw=4 ts=4 et: Name: liboping Version: 1.6.1 %define soname 0 Release: 0 Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 Source: http://verplant.org/liboping/files/liboping-%{version}.tar.bz2 Source2: baselibs.conf Source99: %{name}-rpmlintrc Patch1: liboping-perl_vendor.patch Patch3: liboping-conditional_IPV6_TCLASS.patch URL: http://verplant.org/liboping/ Group: System/Libraries License: GNU Lesser General Public License version 2.1 (LGPL v2.1) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: gcc make glibc-devel perl ncurses-devel BuildRequires: autoconf automake libtool %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 Group: System/Libraries BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: gcc make glibc-devel perl ncurses-devel BuildRequires: autoconf automake libtool 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 Requires: %{name} = %{version}-%{release} Group: Development/Libraries/Other %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 Requires: %{name} = %{version}-%{release} Group: Productivity/Networking/Other License: GNU General Public License version 2 (GPL v2) %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 Requires: %{name} = %{version}-%{release} Group: Productivity/Networking/Other License: GNU General Public License version 2 (GPL v2) %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 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 %setup -q -n "liboping-%{version}" %patch1 #%patch2 %patch3 %__sed -i 's/-Werror//g' src/Makefile* %build %configure \ --with-perl-bindings="INSTALLDIRS=vendor" %__make -C bindings perl/Makefile make %{?_smp_mflags} %install %__sed -e 's|perl5/site_perl/|perl5/vendor_perl/|g' bindings/perl/Makefile %makeinstall %__rm "%{buildroot}%{_libdir}"/*.la %perl_process_packlist %__rm -f "%{buildroot}/var/adm/perl-modules/%{name}" %post -n liboping%{soname} -p /sbin/ldconfig %postun -n liboping%{soname} -p /sbin/ldconfig %files -n liboping%{soname} %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %{_libdir}/liboping.so.%{soname} %{_libdir}/liboping.so.%{soname}.*.* %files -n liboping-devel %defattr(-,root,root) %{_includedir}/oping.h %{_libdir}/liboping.so %{_libdir}/liboping.a %doc %{_mandir}/man3/*.3%{ext_man} %files -n oping %defattr(-,root,root) %{_bindir}/oping %doc %{_mandir}/man8/oping.8%{ext_man} %files -n noping %defattr(-,root,root) %{_bindir}/noping %files -n perl-Net-Oping %defattr(-,root,root) %dir %{perl_vendorarch}/Net %{perl_vendorarch}/Net/Oping.pm %dir %{perl_vendorarch}/auto/Net %{perl_vendorarch}/auto/Net/Oping %doc %{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