]> git.pld-linux.org Git - packages/perl-B-Keywords.git/blob - perl-B-Keywords.spec
7cdcbd8b2ee2fec0fa2d2c4918c1064e2f6bf222
[packages/perl-B-Keywords.git] / perl-B-Keywords.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    B
7 %define pnam    Keywords
8 Summary:        B::Keywords - Lists of reserved barewords and symbol names
9 Summary(pl.UTF-8):      B::Keywords - lista zarezerwowanych słów kluczowych i nazw symboli
10 Name:           perl-B-Keywords
11 Version:        1.11
12 Release:        1
13 License:        GPL v2 or Artistic
14 Group:          Development/Languages/Perl
15 Source0:        http://www.cpan.org/modules/by-module/B/FLORA/%{pdir}-%{pnam}-%{version}.tar.gz
16 # Source0-md5:  2c957056281623ad76ed65517e1c82c2
17 URL:            http://search.cpan.org/dist/B-Keywords/
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRequires:  rpm-perlprov >= 4.1-13
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays,
25 @Hashes, @Filehandles, @Symbols, @Functions, and @Barewords. The
26 @Symbols array includes the contents of each of @Scalars, @Arrays,
27 @Hashes, and @Filehandles. Similarly, @Barewords adds a few
28 non-function keywords and operators to the @Functions array.
29
30 %description -l pl.UTF-8
31 B::Keywords udostępnia siedem tablic słów kluczowych: @Scalars,
32 @Arrays, @Hashes, @Filehandles, @Symbols, @Functions i @Barewords.
33 Tablica @Symbols obejmuje zawartość każdej z tablic @Scalars,
34 @Arrays, @Hashes i @Filehandles. Podobnie @Barewords dodaje do
35 tablicy @Functions kilka słów kluczowych nie będących funkcjami oraz
36 operatorów.
37
38 %prep
39 %setup -q -n %{pdir}-%{pnam}-%{version}
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 %doc Changes README
60 %{perl_vendorlib}/B/Keywords.pm
61 %{_mandir}/man3/B::Keywords.3pm*
This page took 0.107713 seconds and 2 git commands to generate.