diff --git a/.gitignore b/.gitignore index e69de29..10976b8 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/B-Debug-1.21.tar.gz diff --git a/perl-B-Debug.spec b/perl-B-Debug.spec new file mode 100644 index 0000000..e67f620 --- /dev/null +++ b/perl-B-Debug.spec @@ -0,0 +1,55 @@ +Name: perl-B-Debug +Version: 1.21 +Release: 1%{?dist} +Summary: Walk Perl syntax tree, print debug information about op-codes +License: GPL+ or Artistic +Group: Development/Libraries +URL: http://search.cpan.org/dist/B-Debug/ +Source0: http://www.cpan.org/authors/id/R/RU/RURBAN/B-Debug-%{version}.tar.gz +BuildArch: noarch +BuildRequires: perl +BuildRequires: perl(ExtUtils::MakeMaker) +# Run-time: +BuildRequires: perl(B) +# B::Asmdata not used +BuildRequires: perl(Config) +BuildRequires: perl(strict) +# Optional run-time: +# B::Flags 0.04 not packaged +# Tests: +BuildRequires: perl(File::Spec) +BuildRequires: perl(Test::More) +BuildRequires: perl(warnings) +# Optional test: +%if !%{defined perl_bootstrap} +BuildRequires: perl(Test::Pod) >= 1.00 +%endif +Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) + +%description +Walk Perl syntax tree and print debug information about op-codes. See +B::Concise and B::Terse for other details. + +%prep +%setup -q -n B-Debug-%{version} + +%build +perl Makefile.PL INSTALLDIRS=vendor +make %{?_smp_mflags} + +%install +make pure_install DESTDIR=$RPM_BUILD_ROOT +find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \; +%{_fixperms} $RPM_BUILD_ROOT/* + +%check +make test + +%files +%doc Artistic Changes Copying README +%{perl_vendorlib}/* +%{_mandir}/man3/* + +%changelog +* Wed Sep 17 2014 Petr Pisar 1.21-1 +- Specfile autogenerated by cpanspec 1.78. diff --git a/sources b/sources index e69de29..ed178b1 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +f5a178b11827bf712640a36acbe9d423 B-Debug-1.21.tar.gz