Search
j0ke.net Open Build Service
>
Projects
>
server:monitoring
>
liboping
> liboping0.spec
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File liboping0.spec of Package liboping (Revision 14)
Currently displaying revision
14
,
show latest
# norootforbuild %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?sl_version} || 0%{?redhat_version} %define with_perlbindings 1 %endif Name: liboping0 Version: 1.6.1 Release: 1 Summary: Multiple Host Ping Library that supports ICMPv4 and ICMPv6 Source: http://verplant.org/liboping/files/liboping-%{version}.tar.bz2 Patch1: liboping-perl_vendor.patch URL: http://verplant.org/liboping/ Group: System/Libraries License: GNU General Public License version 2 (GPL v2) BuildRoot: %{_tmppath}/build-%{name}-%{version} BuildRequires: gcc make glibc-devel perl ncurses-devel BuildRequires: autoconf automake libtool Provides: liboping = %{version}-%{release} %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. 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. Authors: -------- Florian octo Forster <octo@verplant.org> %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 %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. Authors: -------- Florian octo Forster <octo@verplant.org> %if %{?with_perlbindings} # currently broken %package -n perl-Net-Oping Summary: Multiple Host Ping that supports ICMPv4 and ICMPv6 Group: Development/Libraries/Perl %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. Authors: -------- Florian octo Forster <octo@verplant.org> %endif %prep %setup -q -n "liboping-%{version}" %patch1 %build %configure \ --with-perl-bindings="INSTALLDIRS=vendor" %__make -C bindings perl/Makefile #%__sed -i 's|LD_RUN_PATH=".*" |LD_RUN_PATH="%{_libdir}"|' bindings/perl/Makefile %__make %{?jobs:-j%{jobs}} %install %__sed -e 's|perl5/site_perl/|perl5/vendor_perl/|g' bindings/perl/Makefile %__make DESTDIR=%{buildroot} install %__rm "%{buildroot}%{_libdir}"/*.la %if %{?with_perlbindings} %perl_process_packlist %endif #%__rm -rf "%{buildroot}%{_usr}/lib/perl5" %__rm -rf "%{buildroot}/var/adm/perl-modules" %__rm -rf %{buildroot}%{_libdir}/perl5/perllocal.pod %__rm -rf %{buildroot}%{_libdir}/perl5/vendor_perl/auto/Net/Oping/.packlist %post -n %{name} /sbin/ldconfig %postun -n %{name} /sbin/ldconfig %clean %__rm -rf "%{buildroot}" %files %defattr(-,root,root) %doc AUTHORS ChangeLog COPYING README %{_libdir}/liboping.so.0 %{_libdir}/liboping.so.0.*.* %files -n liboping-devel %defattr(-,root,root) %{_includedir}/oping.h %{_libdir}/liboping.so %{_libdir}/liboping.a %doc %{_mandir}/man3/*.3* %files -n oping %defattr(-,root,root) %{_bindir}/oping %{_bindir}/noping %doc %{_mandir}/man8/oping.8* %if %{?with_perlbindings} %files -n perl-Net-Oping %defattr(-,root,root) %if 0%{?suse_version} %dir %{perl_vendorarch}/Net %{perl_vendorarch}/Net/Oping.pm %dir %{perl_vendorarch}/auto/Net %{perl_vendorarch}/auto/Net/Oping /var/adm/perl-modules/%{name} %else %dir %{perl_vendorlib}/Net %{perl_vendorlib}/Net/Oping.pm %dir %{perl_vendorlib}/auto/Net %{perl_vendorlib}/auto/Net/Oping %endif %endif %changelog * Sun Jan 30 2011 Carsten Schoene <cs@linux-administrator.com> - 1.6.0-1 - update to release 1.6.0 * Fri Nov 19 2010 Carsten Schoene <cs@linux-administrator.com> - 1.5.1-1 - update to 1.5.1 * Sun Dec 20 2009 Pascal Bleser <pascal.bleser@opensuse.org> 1.3.4 - update to 1.3.4: * improved handling of sockets with error conditions: previously, such an error could lead to indefinite busy looping * improved oping utility to allow reading from files even when running * SetUID-root: privileges are dropped temporarily when supported by the system * an off-by-one error has been fixed in the Perl bindings * Sat Sep 26 2009 Klaus Kaempf <kkaempf@suse.de> 1.3.2 - rename .spec to match liboping0 package name * Mon Jul 27 2009 Pascal Bleser <pascal.bleser@opensuse.org> 1.3.2 - update to 1.3.2: * ability to specify the network device to use has been added to the library * the included “oping” application has been enhanced to provide this functionality and allow reading hostnames from a file or standard input * argument checking has been improved * a bug which could lead to incorrect measurements has been fixed * Tue May 12 2009 Pascal Bleser <pascal.bleser@opensuse.org> 1.1.2-0.pm.1 - moved to openSUSE Build Service - update to 1.1.2 * Wed Feb 18 2009 Pascal Bleser <guru@unixtech.be> 1.0.0-0.pm.1 - moved to Packman repository - update to 1.0.0: * some bugs and portability problems have been fixed * the possibility to retrieve the number of timed out packets has been added * the Net::Oping Perl module is now included in the source code distribution * Sat Mar 31 2007 Pascal Bleser <guru@unixtech.be> 0.3.5-1 - new upstream version - CHANGES: a case in which file descriptors would not be closed correctly has been fixed - CHANGES: the includes have been corrected and C++ support has been improved * Wed Dec 6 2006 Pascal Bleser <guru@unixtech.be> 0.3.4-1 - new upstream version * Fri Jul 21 2006 Pascal Bleser <guru@unixtech.be> 0.3.3-1 - new upstream version * Tue May 30 2006 Pascal Bleser <guru@unixtech.be> 0.2.0-1 - new upstream version * Sat May 13 2006 Pascal Bleser <guru@unixtech.be> 0.1.1-1 - new upstream version * Mon May 8 2006 Pascal Bleser <guru@unixtech.be> 0.1-1 - new package # Local Variables: # mode: rpm-spec # tab-width: 3 # End: