package add
This commit is contained in:
parent
d73ff1867d
commit
cbd7d6b424
BIN
Devel-Symdump-2.18.tar.gz
Normal file
BIN
Devel-Symdump-2.18.tar.gz
Normal file
Binary file not shown.
52
perl-Devel-Symdump.spec
Normal file
52
perl-Devel-Symdump.spec
Normal file
@ -0,0 +1,52 @@
|
|||||||
|
Name: perl-Devel-Symdump
|
||||||
|
Version: 2.18
|
||||||
|
Release: 9
|
||||||
|
Epoch: 1
|
||||||
|
Summary: Dump Symbol Names or the Symbol Table
|
||||||
|
License: GPL+ or Artistic
|
||||||
|
Url: https://metacpan.org/release/Devel-Symdump
|
||||||
|
Source0: https://cpan.metacpan.org/authors/id/A/AN/ANDK/Devel-Symdump-%{version}.tar.gz
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
|
BuildRequires: coreutils findutils make perl-interpreter perl-generators perl(ExtUtils::MakeMaker)
|
||||||
|
BuildRequires: perl(B) perl(Carp) perl(Config) perl(constant) perl(Exporter) perl(strict) perl(vars)
|
||||||
|
BuildRequires: perl(English) perl(lib) perl(Test::Harness) >= 3.04 perl(Test::More) perl(warnings)
|
||||||
|
BuildRequires: perl(Compress::Zlib) perl(Test::Pod) >= 1.00 perl(Test::Pod::Coverage)
|
||||||
|
|
||||||
|
Requires: perl(:MODULE_COMPAT_%(eval "`perl -V:version`"; echo $version)) perl(B)
|
||||||
|
|
||||||
|
%description
|
||||||
|
This little package serves to access the symbol table of perl.
|
||||||
|
|
||||||
|
%package help
|
||||||
|
Summary: Help documents for perl-Devel-Symdump
|
||||||
|
|
||||||
|
%description help
|
||||||
|
Man pages and other related help documents for perl-Devel-Symdump.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%autosetup -n Devel-Symdump-%{version} -p1
|
||||||
|
|
||||||
|
%build
|
||||||
|
perl Makefile.PL INSTALLDIRS=vendor
|
||||||
|
%make_build
|
||||||
|
|
||||||
|
%install
|
||||||
|
make pure_install DESTDIR=%{buildroot}
|
||||||
|
find %{buildroot} -type f -name .packlist -delete
|
||||||
|
%{_fixperms} -c %{buildroot}
|
||||||
|
|
||||||
|
%check
|
||||||
|
make test AUTHOR_TEST=1
|
||||||
|
|
||||||
|
%files
|
||||||
|
%doc Changes README
|
||||||
|
%{perl_vendorlib}/Devel/
|
||||||
|
|
||||||
|
%files help
|
||||||
|
%{_mandir}/man3/Devel::Symdump.3*
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* Thu Dec 12 2019 duyeyu <duyeyu@huawei.com> - 2.18-9
|
||||||
|
- init package
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user