parent
90fe09066e
commit
c1509518f7
@ -0,0 +1 @@
|
||||
/Convert-Bencode-1.03.tar.gz
|
@ -0,0 +1,47 @@
|
||||
Name: perl-Convert-Bencode
|
||||
Version: 1.03
|
||||
Release: 1%{?dist}
|
||||
Summary: Functions for converting to/from bencoded strings
|
||||
License: GPL+ or Artistic
|
||||
Group: Development/Libraries
|
||||
URL: http://search.cpan.org/dist/Convert-Bencode/
|
||||
Source0: http://www.cpan.org/authors/id/O/OR/ORCLEV/Convert-Bencode-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
BuildRequires: perl(Exporter)
|
||||
BuildRequires: perl(ExtUtils::MakeMaker)
|
||||
BuildRequires: perl(Test::More) >= 0.45
|
||||
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
||||
|
||||
%{?perl_default_filter}
|
||||
|
||||
%description
|
||||
This module provides two functions, bencode and bdecode, which encode and
|
||||
decode bencoded strings respectively.
|
||||
|
||||
%prep
|
||||
%setup -q -n Convert-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 Todo
|
||||
%{perl_vendorlib}/*
|
||||
%{_mandir}/man3/*
|
||||
|
||||
%changelog
|
||||
* Sat Jan 15 2011 Iain Arnell <iarnell@gmail.com> 1.03-1
|
||||
- Specfile autogenerated by cpanspec 1.78.
|
Loading…
Reference in new issue