]> git.pld-linux.org Git - packages/perl-Class-Inspector.git/blame - perl-Class-Inspector.spec
- up to 1.36
[packages/perl-Class-Inspector.git] / perl-Class-Inspector.spec
CommitLineData
7627f7fc
AG
1#
2# Conditional build:
a05c850b 3%bcond_without tests # do not perform "make test"
7627f7fc
AG
4#
5%include /usr/lib/rpm/macros.perl
a05c850b 6%define pdir Class
7%define pnam Inspector
7e7fbcdc 8Summary: Class::Inspector - provides information about classes
46373305 9Summary(pl.UTF-8): Class::Inspector - dostarczenie informacji o klasach
7627f7fc 10Name: perl-Class-Inspector
b1d525af 11Version: 1.36
95ba7eaf 12Release: 1
7627f7fc
AG
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
4a7e763f 16Source0: http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
b1d525af 17# Source0-md5: 084c3aeec023639d21ecbaf7d4460b21
4beea327 18URL: http://metacpan.org/release/Class-Inspector
7627f7fc
AG
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl(File::Spec) >= 0.82
4beea327 23BuildRequires: perl-Test-Simple >= 0.94
7627f7fc
AG
24%endif
25BuildArch: noarch
26BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28%description
29Class::Inspector allows you to get information about a loaded class.
30Most or all of this information can be found in other ways, but they
abf0b9bf 31aren't always very friendly, and usually involve a relatively high
7627f7fc
AG
32level of Perl wizardry, or strange and unusual looking code.
33Class::Inspector attempts to provide an easier, more friendly
34interface to this information.
35
7d463244
JR
36%description -l pl.UTF-8
37Class::Inspector umożliwia pobieranie informacji o załadowanych
38klasach. Większość z tych informacji można znaleźć na inne sposoby,
39ale nie zawsze są one przyjazne i zwykle wymagają dosyć dużej
40znajomości perlowej magii lub dziwnego i niezwykle wyglądającego kodu.
41Class::Inspector próbuje dostarczyć łatwiejszy, bardziej przyjazny
abf0b9bf 42interfejs do tych informacji.
7627f7fc
AG
43
44%prep
45%setup -q -n %{pdir}-%{pnam}-%{version}
46
47%build
48%{__perl} Makefile.PL \
49 INSTALLDIRS=vendor
50
51%{__make}
52
53%{?with_tests:%{__make} test}
54
55%install
56rm -rf $RPM_BUILD_ROOT
57
58%{__make} install \
59 DESTDIR=$RPM_BUILD_ROOT
60
61%clean
62rm -rf $RPM_BUILD_ROOT
63
64%files
65%defattr(644,root,root,755)
66%doc Changes README
30dd0415 67%{perl_vendorlib}/Class/Inspector.pm
89fec16d 68%{perl_vendorlib}/Class/Inspector/Functions.pm
30dd0415 69%{_mandir}/man3/Class::Inspector*.3pm*
This page took 0.088742 seconds and 4 git commands to generate.