]> git.pld-linux.org Git - packages/perl-Class-Fields.git/blob - perl-Class-Fields.spec
a1f8ad22ea9e450dd41853363df57c5eb0db7ee6
[packages/perl-Class-Fields.git] / perl-Class-Fields.spec
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    Fields
8 Summary:        Class::Fields - inspect the fields of a class
9 Summary(pl.UTF-8):      Class::Fields - doglądanie składowych klasy
10 Name:           perl-Class-Fields
11 Version:        0.204
12 Release:        1
13 License:        unknown
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/Class/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  22874976c81830bed35b5988d3879aee
17 URL:            http://search.cpan.org/dist/Class-Fields/
18 BuildRequires:  perl-Carp-Assert
19 BuildRequires:  perl(base) >= 2.0
20 BuildRequires:  perl-devel >= 1:5.8.1
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 Requires:       perl(base) >= 2.0
23 Requires:       perl-base >= 1:5.8.1
24 BuildArch:      noarch
25 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27 %description
28 A collection of utility functions/methods for examining the data
29 members of a class. It provides a nice, high-level interface that
30 should stand the test of time and Perl upgrades nicely.
31
32 %description -l pl.UTF-8
33 Zestaw funkcji i metod narzędziowych do sprawdzania składowych
34 klasy. Dają przyjemny, wysokopoziomowy interfejs, który powinien
35 wytrzymać próbę czasu i uaktualnienia Perla.
36
37 %prep
38 %setup -q -n %{pdir}-%{pnam}-%{version}
39 rm t/bugs.t     # expected warning has changed; try to remove it after 0.201
40
41 %build
42 %{__perl} Makefile.PL \
43         INSTALLDIRS=vendor
44 %{__make}
45
46 %{?with_tests:%{__make} test}
47
48 %install
49 rm -rf $RPM_BUILD_ROOT
50
51 %{__make} install \
52         DESTDIR=$RPM_BUILD_ROOT
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %{perl_vendorlib}/%{pdir}/%{pnam}.pm
60 %{perl_vendorlib}/%{pdir}/%{pnam}
61 %{perl_vendorlib}/*.pm
62 %{_mandir}/man3/*
This page took 1.359944 seconds and 2 git commands to generate.