3 %bcond_without tests # do not perform "make test"
5 %include /usr/lib/rpm/macros.perl
8 Summary: Class::Inspector - provides information about classes
9 Summary(pl): Class::Inspector - dostarczenie informacji o klasach
10 Name: perl-Class-Inspector
14 License: GPL v1+ or Artistic
15 Group: Development/Languages/Perl
16 Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17 # Source0-md5: 46eeeeb5a5df0da03f4e53229f7ed360
18 URL: http://search.cpan.org/dist/Class-Imspector/
19 BuildRequires: perl-devel >= 1:5.8.0
20 BuildRequires: rpm-perlprov >= 4.1-13
22 BuildRequires: perl(File::Spec) >= 0.82
23 BuildRequires: perl(Test::More)
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 Class::Inspector allows you to get information about a loaded class.
30 Most or all of this information can be found in other ways, but they
31 aren't always very friendly, and usually involve a relatively high
32 level of Perl wizardry, or strange and unusual looking code.
33 Class::Inspector attempts to provide an easier, more friendly
34 interface to this information.
37 Class::Inspector umo¿liwia pobieranie informacji o za³adowanych
38 klasach. Wiêkszo¶æ z tych informacji mo¿na znale¼æ na inne sposoby,
39 ale nie zawsze s± one przyjazne i zwykle wymagaj± dosyæ du¿ej
40 znajomo¶ci perlowej magii lub dziwnego i niezwykle wygl±daj±cego kodu.
41 Class::Inspector próbuje dostarczyæ ³atwiejszy, bardziej przyjazny
42 interfejs do tych informacji.
45 %setup -q -n %{pdir}-%{pnam}-%{version}
48 %{__perl} Makefile.PL \
53 %{?with_tests:%{__make} test}
56 rm -rf $RPM_BUILD_ROOT
59 DESTDIR=$RPM_BUILD_ROOT
62 rm -rf $RPM_BUILD_ROOT
65 %defattr(644,root,root,755)
67 %{perl_vendorlib}/Class/*.pm