]> git.pld-linux.org Git - packages/perl-B-Keywords.git/blame - perl-B-Keywords.spec
- new
[packages/perl-B-Keywords.git] / perl-B-Keywords.spec
CommitLineData
d7e804e8 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
8Summary: B::Keywords - Lists of reserved barewords and symbol names
9#Summary(pl.UTF-8):
10Name: perl-B-Keywords
11Version: 1.06
12Release: 1
13License: GPL v2 or Artistic
14Group: Development/Languages/Perl
15Source0: http://www.cpan.org/modules/by-authors/id/J/JJ/JJORE/B-Keywords-1.06.tar.gz
16# Source0-md5: 24f311df8a5f0174cc465e1949082db3
17URL: http://search.cpan.org/dist/B-Keywords/
18BuildRequires: perl-devel >= 1:5.8.0
19BuildRequires: rpm-perlprov >= 4.1-13
20BuildArch: noarch
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24B::Keywords supplies seven arrays of keywords: @Scalars, @Arrays,
25@Hashes, @Filehandles, @Symbols, @Functions, and @Barewords. The @Symbols
26array includes the contents of each of @Scalars, @Arrays, @Hashes, and
27@Filehandles. Similarly, @Barewords adds a few non-function keywords
28and operators to the @Functions array.
29
30# %description -l pl.UTF-8
31# TODO
32
33%prep
34%setup -q -n %{pdir}-%{pnam}-%{version}
35
36%build
37%{__perl} Makefile.PL \
38 INSTALLDIRS=vendor
39%{__make}
40
41%{?with_tests:%{__make} test}
42
43%install
44rm -rf $RPM_BUILD_ROOT
45
46%{__make} install \
47 DESTDIR=$RPM_BUILD_ROOT
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52%files
53%defattr(644,root,root,755)
54%doc Changes README
55%{perl_vendorlib}/B/*.pm
56%{_mandir}/man3/*
This page took 0.077517 seconds and 4 git commands to generate.