rpms/liboping/F-13 liboping.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Lubomir Rintel lkundrak at fedoraproject.org
Mon Mar 22 08:32:54 UTC 2010


Author: lkundrak

Update of /cvs/pkgs/rpms/liboping/F-13
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv9709/F-13

Modified Files:
	.cvsignore sources 
Added Files:
	liboping.spec 
Log Message:
Import liboping


--- NEW FILE liboping.spec ---
Name:           liboping
Version:        1.3.4
Release:        1%{?dist}
Summary:        C library to generate ICMP echo requests

Group:          Applications/Internet
License:        GPLv2
URL:            http://verplant.org/liboping/
Source0:        http://verplant.org/liboping/files/%{name}-%{version}.tar.bz2
BuildRoot:      %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)

BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%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.


%package devel
Summary:        Development files for %{name}
Group:          Development/Libraries
Requires:       %{name} = %{version}-%{release}

%description devel
This package contains files needed to develop and build software against
liboping, a %{summary}.


%prep
%setup -q


%build
%configure --disable-static
make -C src %{?_smp_mflags}
make -C bindings %{?_smp_mflags} perl/Makefile
cd bindings/perl
%{__perl} Makefile.PL INSTALLDIRS=vendor TOP_BUILDDIR=..
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make -C src install DESTDIR=$RPM_BUILD_ROOT
cd bindings/perl
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT

find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;

%{_fixperms} $RPM_BUILD_ROOT/*


%check
LD_LIBRARY_PATH=../../src/.libs make -C bindings/perl test


%clean
rm -rf $RPM_BUILD_ROOT


%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig


%files
%defattr(-,root,root,-)
%{_bindir}/oping
%{_libdir}/liboping.so.*
%{_mandir}/man8/oping.8*
%{_mandir}/man3/Net::Oping.3pm*
%{perl_vendorarch}/*
%exclude %{_libdir}/liboping.la
%doc AUTHORS ChangeLog COPYING README 


%files devel
%defattr(-,root,root,-)
%{_includedir}/oping.h
%{_libdir}/liboping.so
%{_mandir}/man3/liboping.3*
%{_mandir}/man3/ping_construct.3*
%{_mandir}/man3/ping_get_error.3*
%{_mandir}/man3/ping_host_add.3*
%{_mandir}/man3/ping_iterator_get.3*
%{_mandir}/man3/ping_iterator_get_context.3*
%{_mandir}/man3/ping_iterator_get_info.3*
%{_mandir}/man3/ping_send.3*
%{_mandir}/man3/ping_setopt.3*


%changelog
* Tue Mar 09 2010 Lubomir Rintel <lkundrak at v3.sk> - 1.3.4-1
- Initial packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/liboping/F-13/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	19 Mar 2010 20:07:39 -0000	1.1
+++ .cvsignore	22 Mar 2010 08:32:54 -0000	1.2
@@ -0,0 +1 @@
+liboping-1.3.4.tar.bz2


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/liboping/F-13/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	19 Mar 2010 20:07:39 -0000	1.1
+++ sources	22 Mar 2010 08:32:54 -0000	1.2
@@ -0,0 +1 @@
+208e185f75f9f8ac96e508bd9e17ef61  liboping-1.3.4.tar.bz2



More information about the scm-commits mailing list