Группа :: Разработка/Perl
Пакет: perl-Net-Pcap
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
%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
…
Полный changelog можно просмотреть здесь
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
…
Полный changelog можно просмотреть здесь