SPECS: liboping.spec (NEW) - initial

blues blues at pld-linux.org
Fri May 23 16:02:32 CEST 2008


Author: blues                        Date: Fri May 23 14:02:32 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

---- Files affected:
SPECS:
   liboping.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/liboping.spec
diff -u /dev/null SPECS/liboping.spec:1.1
--- /dev/null	Fri May 23 16:02:32 2008
+++ SPECS/liboping.spec	Fri May 23 16:02:27 2008
@@ -0,0 +1,109 @@
+# $Revision$, $Date$
+Summary:	Liboping library
+Name:		liboping
+Version:	0.3.5
+Release:	1
+License:	GPL v2
+Group:		Libraries
+Source0:	http://verplant.org/liboping/files/%{name}-%{version}.tar.bz2
+# Source0-md5:	0150a1c1ae6ce847b11543df31d4f952
+URL:		http://verplant.org/liboping/
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+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:		Applications/Networking
+Requires:	%{name} = %{version}-%{release}
+
+%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/Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description devel
+Header files for liboping library.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe biblioteki liboping.
+
+%package static
+Summary:	Static liboping library
+Summary(pl.UTF-8):	Statyczna biblioteka liboping
+Group:		Development/Libraries
+Requires:	%{name}-devel = %{version}-%{release}
+
+%description static
+Static liboping library.
+
+%description static -l pl.UTF-8
+Statyczna biblioteka liboping.
+
+%prep
+%setup -q
+
+%build
+%configure
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_libdir}/lib*.so.*.*.*
+
+%files -n oping
+%defattr(644,root,root,755)
+%attr(4754,root,adm) %{_bindir}/*
+%{_mandir}/man8/*.8*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_includedir}/oping.h
+%{_mandir}/man3/*.3*
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2008-05-23 14:02:27  blues
+- initial
+
+
================================================================


More information about the pld-cvs-commit mailing list