1 | Name: perl-Class-Inspector
|
---|
2 | Version: 1.32
|
---|
3 | Release: 1%{?dist}
|
---|
4 | Summary: Get information about a class and its structure
|
---|
5 | License: GPL+ or Artistic
|
---|
6 | Group: Development/Libraries
|
---|
7 | Vendor: bww bitwise works GmbH
|
---|
8 | URL: http://search.cpan.org/dist/Class-Inspector/
|
---|
9 | Source0: http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-%{version}.tar.gz
|
---|
10 |
|
---|
11 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
|
---|
12 | BuildArch: noarch
|
---|
13 |
|
---|
14 | BuildRequires: perl-generators
|
---|
15 | BuildRequires: perl(Exporter)
|
---|
16 | BuildRequires: perl(Test::More)
|
---|
17 | BuildRequires: perl(ExtUtils::MakeMaker)
|
---|
18 | BuildRequires: perl(File::Spec) >= 0.80
|
---|
19 | BuildRequires: perl(strict)
|
---|
20 | BuildRequires: perl(warnings)
|
---|
21 |
|
---|
22 | %description
|
---|
23 | Class::Inspector allows you to get information about a loaded class.
|
---|
24 | Most or all of this information can be found in other ways, but they aren't
|
---|
25 | always very friendly, and usually involve a relatively high level of Perl
|
---|
26 | wizardry, or strange and unusual looking code. Class::Inspector attempts to
|
---|
27 | provide an easier, more friendly interface to this information.
|
---|
28 |
|
---|
29 | %prep
|
---|
30 | %setup -q -n Class-Inspector-%{version}
|
---|
31 |
|
---|
32 | %build
|
---|
33 | %{__perl} Makefile.PL INSTALLDIRS=vendor NO_PACKLIST=1
|
---|
34 | make %{?_smp_mflags}
|
---|
35 | make manifypods
|
---|
36 |
|
---|
37 | %install
|
---|
38 | make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
|
---|
39 | find %{buildroot} -type f -name .packlist -exec rm -f {} \;
|
---|
40 | find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null ';'
|
---|
41 | %{_fixperms} $RPM_BUILD_ROOT/*
|
---|
42 |
|
---|
43 | %check
|
---|
44 | #make test
|
---|
45 |
|
---|
46 | %files
|
---|
47 | %doc Changes README
|
---|
48 | %license LICENSE
|
---|
49 | %{perl_vendorlib}/Class
|
---|
50 | %{_mandir}/man3/*
|
---|
51 |
|
---|
52 | %changelog
|
---|
53 | * Thu Mar 08 2018 Elbert Pol <elbert.pol@gmail.com> - 1.32-1
|
---|
54 | - initial rpm for OS2
|
---|