]>
Commit | Line | Data |
---|---|---|
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 | 7 | Summary: Class::ISA Perl module - report the search path for a class's ISA tree |
ddbbde67 | 8 | Summary(pl.UTF-8): Moduł Perla Class::ISA - zwrócenie ścieżki przeszukiwania dla drzewa klasy ISA |
6e19069b | 9 | Name: perl-Class-ISA |
8e99f7d5 | 10 | Version: 0.36 |
11 | Release: 1 | |
4114e99e | 12 | # same as perl |
13 | License: GPL v1+ or Artistic | |
6e19069b | 14 | Group: Development/Languages/Perl |
f637dd38 | 15 | Source0: http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz |
8e99f7d5 | 16 | # Source0-md5: 3a2ad203c8dc87d6c9de16215d00af47 |
9e296680 | 17 | URL: http://search.cpan.org/dist/Class-ISA/ |
db7e536d | 18 | BuildRequires: perl-devel >= 1:5.8.0 |
9e296680 | 19 | BuildRequires: rpm-perlprov >= 4.1-13 |
6e19069b | 20 | BuildArch: noarch |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | This library, Class::ISA, provides functions that return a list (in | |
9e296680 ER |
25 | order) of names of classes Perl would search to find a method, with no |
26 | duplicates. | |
6e19069b | 27 | |
9ba47c58 JR |
28 | %description -l pl.UTF-8 |
29 | Biblioteka Class::ISA udostępnia funkcje zwracające (uporządkowaną) | |
30 | listę nazw klas, które Perl powinien przeszukać w celu znalezienia | |
31 | zadanej 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 |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
a64a82ee | 46 | %{__make} install \ |
47 | DESTDIR=$RPM_BUILD_ROOT | |
6e19069b | 48 | |
49 | %clean | |
50 | rm -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* |