1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52
%define dist Net-Pcap Name: perl-%dist Version: 0.16 Release: alt2 Summary: A Perl module for libpcap implementation. License: GPL or Artistic Group: Development/Perl Url: %CPAN %dist Source: %dist-%version.tar.gz # Automatically added by buildreq on Mon May 07 2007 BuildRequires: libpcap-devel perl-devel perl-IO-Interface %description A Perl module for libpcap implementation. %prep %setup -q -n %dist-%version %build CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL PREFIX=$RPM_BUILD_ROOT/usr INSTALLDIRS=vendor %make #perl_vendor_build %install %perl_vendor_install %files %perl_vendor_man3dir/* %perl_vendor_archlib/Net* %perl_vendor_autolib/Net* %_bindir/pcapinfo %_mandir/man1/pcapinfo.* %doc README %changelog * Tue Sep 02 2008 Sergey Y. Afonin <asy@altlinux.ru> 0.16-alt2 - fixed directory ownership viloation * Wed Mar 05 2008 Sergey Y. Afonin <asy@altlinux.ru> 0.16-alt1 - new version * Mon May 07 2007 Sergey Y. Afonin <asy@altlinux.ru> 0.14-alt1 - new version * Tue Jul 27 2004 Alexander V. Denisov <rupor at altlinux dot ru> 0.05-alt1 - Initial build for ALTLinux