Name: perl-Bencode Version: 1.4 Release: 1%{?dist} Summary: BitTorrent serialization format License: GPL+ or Artistic Group: Development/Libraries URL: http://search.cpan.org/dist/Bencode/ Source0: http://www.cpan.org/authors/id/A/AR/ARISTOTLE/Bencode-%{version}.tar.gz BuildArch: noarch BuildRequires: perl(ExtUtils::MakeMaker) BuildRequires: perl(Exporter) BuildRequires: perl(Test::More) Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %{?perl_default_filter} %description This module implements the BitTorrent bencode serialization format as described in http://www.bittorrent.org/protocol.html. %prep %setup -q -n Bencode-%{version} %build %{__perl} Makefile.PL INSTALLDIRS=vendor make %{?_smp_mflags} %install make pure_install DESTDIR=%{buildroot} find %{buildroot} -type f -name .packlist -exec rm -f {} \; find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} %{buildroot}/* %check make test %files %defattr(-,root,root,-) %doc Changes LICENSE README %{perl_vendorlib}/* %{_mandir}/man3/* %changelog * Sat Jan 15 2011 Iain Arnell 1.4-1 - Specfile autogenerated by cpanspec 1.78.