source: spec/trunk/SPECS/perl-Class-Inspector.spec@ 1566

Last change on this file since 1566 was 1346, checked in by tellie, 8 years ago

spec: perl-Class-Inspector: Release version 1.32-1.

File size: 1.6 KB
Line 
1Name: perl-Class-Inspector
2Version: 1.32
3Release: 1%{?dist}
4Summary: Get information about a class and its structure
5License: GPL+ or Artistic
6Group: Development/Libraries
7Vendor: bww bitwise works GmbH
8URL: http://search.cpan.org/dist/Class-Inspector/
9Source0: http://search.cpan.org/CPAN/authors/id/P/PL/PLICEASE/Class-Inspector-%{version}.tar.gz
10
11Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
12BuildArch: noarch
13
14BuildRequires: perl-generators
15BuildRequires: perl(Exporter)
16BuildRequires: perl(Test::More)
17BuildRequires: perl(ExtUtils::MakeMaker)
18BuildRequires: perl(File::Spec) >= 0.80
19BuildRequires: perl(strict)
20BuildRequires: perl(warnings)
21
22%description
23Class::Inspector allows you to get information about a loaded class.
24Most or all of this information can be found in other ways, but they aren't
25always very friendly, and usually involve a relatively high level of Perl
26wizardry, or strange and unusual looking code. Class::Inspector attempts to
27provide 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
34make %{?_smp_mflags}
35make manifypods
36
37%install
38make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
39find %{buildroot} -type f -name .packlist -exec rm -f {} \;
40find $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
Note: See TracBrowser for help on using the repository browser.