Репозиторий Sisyphus
Последнее обновление: 13 апреля 2021 | Пакетов: 17839 | Посещений: 20711640
en ru br
Репозитории ALT
5.1: 1.1.2-alt2
4.0: 1.1.2-alt1.M40.1

Группа :: Система/Библиотеки
Пакет: liboping

 Главная   Изменения   Спек   Патчи   Sources   Загрузить   Gear   Bugs and FR  Repocop 

%def_disable static

Name: liboping
Version: 1.6.2
Release: alt2

Summary: Liboping library
License: GPL v2
Group: System/Libraries

Url: http://verplant.org/liboping/
Source0: %url/files/%name-%version.tar.bz2
Source1: oping.control

Patch: liboping-no-werror.patch

Packager: Michael Shigorin <mike at altlinux.org>

# Automatically added by buildreq on Wed May 13 2009

BuildRequires: perl-devel chrpath

liboping is a C library to generate ICMP echo requests, better known
as "ping packets". It is intended for use in network monitoring
applications or applications that would otherwise need to fork
ping(1) frequently.

liboping was inspired by ping, libping (homepage vanished) and fping:
it differs from these existing solutions in that it can `ping' multiple
hosts in parallel using IPv4 or IPv6 transparently. Other design
principles were an object oriented interface, simplicity and
extensibility: Is simple because there are only a few interface
functions and no external dependencies. It's extensible since all
(internal) data is kept in "opaque data types", so the storage may
change or be extended without applications noticing it.

%package -n oping
Summary: oping ICMP query tool
Group: Networking/Other

%description -n oping
Sample application, which demonstrates the liboping's abilities.
It is like ping, ping6, and fping rolled into one.

%package devel
Summary: Header files for liboping library
Summary(pl.UTF-8): Pliki nagе┌цЁwkowe biblioteki liboping
Group: Development/C
Requires: %name = %version-%release

%description devel
Header files for liboping library.

%description devel -l pl.UTF-8
Pliki nagе┌цЁwkowe biblioteki liboping.

%if_enabled static
%package devel-static
Summary: Static liboping library
Summary(pl.UTF-8): Statyczna biblioteka liboping
Group: Development/C
Requires: %name-devel = %version-%release

%description devel-static
Static liboping library.

%description devel-static -l pl.UTF-8
Statyczna biblioteka liboping.

%patch -p1


install -pDm755 %SOURCE1 %buildroot%_controldir/oping
for i in $(find %buildroot%prefix -name '*.so'); do
chrpath -d $i

%pre -n oping
%_sbindir/groupadd -r -f netadmin >/dev/null 2>&1
%pre_control oping

%post -n oping
%post_control -s netadmin oping


%files -n oping
%config %_controldir/oping

%files devel

%if_enabled static
%files devel-static


# - package perl modules
# - scrap gear repo, redo with git://git.verplant.org/liboping.git


Полный changelog можно просмотреть здесь

дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin