]> git.pld-linux.org Git - packages/perl-Class-Inspector.git/blame - perl-Class-Inspector.spec
- cosmetics
[packages/perl-Class-Inspector.git] / perl-Class-Inspector.spec
CommitLineData
7627f7fc
AG
1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
4#
5%include /usr/lib/rpm/macros.perl
6%define pdir Class
7%define pnam Inspector
7e7fbcdc 8Summary: Class::Inspector - provides information about classes
9Summary(pl): Class::Inspector - dostarczenie informacji o klasach
7627f7fc
AG
10Name: perl-Class-Inspector
11Version: 1.06
12Release: 1
13# same as perl
14License: GPL v1+ or Artistic
15Group: Development/Languages/Perl
16Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
17# Source0-md5: 55392a383dc820b9052a058c9bc0c750
18URL: http://search.cpan.org/dist/Class-Imspector/
19BuildRequires: perl-devel >= 1:5.8.0
20BuildRequires: rpm-perlprov >= 4.1-13
21%if %{with tests}
22BuildRequires: perl(File::Spec) >= 0.82
23BuildRequires: perl(Test::More)
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
31arn't always very friendly, and usually involve a relatively high
32level of Perl wizardry, or strange and unusual looking code.
33Class::Inspector attempts to provide an easier, more friendly
34interface to this information.
35
36# %description -l pl
37# TODO
38
39%prep
40%setup -q -n %{pdir}-%{pnam}-%{version}
41
42%build
43%{__perl} Makefile.PL \
44 INSTALLDIRS=vendor
45
46%{__make}
47
48%{?with_tests:%{__make} test}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
60%defattr(644,root,root,755)
61%doc Changes README
62%{perl_vendorlib}/Class/*.pm
63%{_mandir}/man3/*
This page took 0.083692 seconds and 4 git commands to generate.