]> git.pld-linux.org Git - packages/perl-Class-ISA.git/blame - perl-Class-ISA.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Class-ISA.git] / perl-Class-ISA.spec
CommitLineData
0df939d9 1#
2# Conditional build:
769760ba 3%bcond_without tests # do not perform "make test"
9e296680 4
0359c5dc 5%define pdir Class
6%define pnam ISA
6e19069b 7Summary: Class::ISA Perl module - report the search path for a class's ISA tree
ddbbde67 8Summary(pl.UTF-8): Moduł Perla Class::ISA - zwrócenie ścieżki przeszukiwania dla drzewa klasy ISA
6e19069b 9Name: perl-Class-ISA
8e99f7d5 10Version: 0.36
11Release: 1
4114e99e 12# same as perl
13License: GPL v1+ or Artistic
6e19069b 14Group: Development/Languages/Perl
f637dd38 15Source0: http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
8e99f7d5 16# Source0-md5: 3a2ad203c8dc87d6c9de16215d00af47
9e296680 17URL: http://search.cpan.org/dist/Class-ISA/
db7e536d 18BuildRequires: perl-devel >= 1:5.8.0
9e296680 19BuildRequires: rpm-perlprov >= 4.1-13
6e19069b 20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24This library, Class::ISA, provides functions that return a list (in
9e296680
ER
25order) of names of classes Perl would search to find a method, with no
26duplicates.
6e19069b 27
9ba47c58
JR
28%description -l pl.UTF-8
29Biblioteka Class::ISA udostępnia funkcje zwracające (uporządkowaną)
30listę nazw klas, które Perl powinien przeszukać w celu znalezienia
31zadanej metody (bez duplikatów).
6e19069b 32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
e30a603a 37%{__perl} Makefile.PL \
0758dae8 38 INSTALLDIRS=vendor
6e19069b 39%{__make}
40
769760ba 41%{?with_tests:%{__make} test}
0df939d9 42
6e19069b 43%install
44rm -rf $RPM_BUILD_ROOT
45
a64a82ee 46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
6e19069b 48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc ChangeLog
e30a603a 55%{perl_vendorlib}/Class/ISA.pm
f637dd38 56%{_mandir}/man3/Class::ISA.3pm*
This page took 0.288289 seconds and 4 git commands to generate.